Skip to content

Commit

Permalink
Ren'Py Layered Image Masks
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackRam-oss committed Oct 10, 2023
1 parent fd645e9 commit 88abbbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions game/images.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ image icon gym = "location/gym-icon.webp"
image icon map home = "/nqtr_interface/map-home.webp"
image icon map gym = "/nqtr_interface/map-gym.webp"

image pre icon alice = Transform("icon/Alice.webp", xysize=(700, 700))
image pre icon alice = Transform("icon/Alice.webp", xysize=(gui.sprite_elaborate_size, gui.sprite_elaborate_size))
image icon alice = LayeredImageMask("pre icon alice",
Transform(crop=(0, 0, 700, 700)),
Transform(crop=(0, 0, gui.sprite_elaborate_size, gui.sprite_elaborate_size)),
mask="sprite mask elaborate",
foreground="sprite foreground elaborate",
background="sprite background elaborate"
Expand Down

0 comments on commit 88abbbf

Please sign in to comment.