The images are as follows, layered in this order:
shadows.png (a semi-transparent image of dark patches/shadows. It's the same dimensions as the background)
character_sprite.png (a character)
background.png (a drawn background)
I want the "shadows.png" file to only appear over the character sprite, and when the character moves, the shadows don't, creating the illusion that the shadows are cast by the background. Kinda like the shadows on the character in this animation (0:37 secs into the video).
I tried using:
Code: Select all
characterart = AlphaMask('character_sprite.png', 'shadows.png')
Code: Select all
label start:
scene background
show characterart with easeinleft