I'm using Loop index to loop in a set of animations. When I hold down a key (right arrow) to activate an animation, the sprite moves to another position that's completely different from its idle position.
Is there any way to keep all of the animations in the same X and Y position when using Loop Index and Load Animation From File?
Here is the loading event and expression:
-> Hero: Load frame from apppath + "animate\" + str(global('Hero'))+"\"+ str(LoopIndex("animation"))+"\"+ str(LoopIndex("frame")) +".png"
Here is the .cap: