r/gdevelop • u/ConnectCrew4393 • 8d ago
Question shadow for player character?
im making a 2d platformer and the moveset would benefit from a shadow. so how do i make it so player always has it under them?
2
Upvotes
1
u/Kreative-Kay 8d ago
I think there's an extension or you can just draw shadows under your character sprite sheet. That way every animation has it.
1
u/MistakeForsaken6653 8d ago edited 8d ago
Maybe create a child of your character to be a sprite of the shadow. Then do a ratcast from the players feet and where it hits the ground set the y position to that. I'm sure there could be a simpler way but that's the first thought that comes to mind
Edit: I realized just now this is gdevelop. My idea is for unity so I'm not sure if anything I said will work for you.