Code: Select all
transform hop:
yalign 0.0
linear 0.3 yalign 1.0
See, to use the full body sprite (which goes off the screen and both the top and the bottom of the sprite) I needed to define where the floor was.
Code: Select all
$ floor_height = 1200
If I change the yalign to match the floor (changing it to 1200 or floor_height) it positions him with the tip of his ears on the top.
It also doesn't make him do the jump animation.
I hope my issue here makes sense (I've been at this for about two days now and I'm very burned out from the troubleshooting and research I did that brought me no results) and that I'm not coming off very rude. I'm not really a coder so all I can do is parrot and Frankenstein code provided to me. I need to get this sorted before the end of the month (for the sugar sweets and jam deadline that we're hoping to have a functional demo for) so quick and dirty solutions are acceptable here.
Thank you for your time.