So, this is kind of hard to explain. I have this enemy and the ai for him makes it so he moves around randomly through the map, but for some reason when he walks the animations start jumping up and down and it looks super messed up. I changed the contact points on every frame of the sprite but other than that, I have no idea what the heck to do.
you have to be aware of your animationframes origin points.
These points may make your animations jump if not positioned according to your images.
Do you mean the collision polygon by "contact points"? Better use a separate hitbox for that, else it may jiggle when walk as well.
Develop games in your browser. Powerful, performant & highly capable.
well, fixing the origin points fixed it. thanks. now i know this for future reference.