I’m making a platformer and I have a problem with connecting upper and lower parts of the sprite. Basically, I tried making seperate entity (upper body)and have it spawn on top of sprite (legs) but it didn’t work out very well since body disconnects sometimes resulting in weird stuff.
Are there examples or tutorials for stuff like this?
Because I’m kinda lost and haven’t found much…
Excellent example, thanks!
Also, umm… I made action so when Right key is not pressed (Right key is pressed but inverted) then object Torso gets deleted.
Everything works fine, but when Right key is being released, the Torso dissapears and for a split second, there are only legs before switch to normal standing animation.
Any clue how to fix this? All sizes of sprites are the same
When GD reaches the end of your events page, the game frame is displayed. If at this point, the torso has been deleted but nothing has replaced it, then it won’t show.
The order of events matters. This is explained in the basic documentation about GD.