Hey guys here is a video of what I am talking about.
I have no idea what is causing this. Could it be the sprite or what? Because it is not happening when I cast to the right.
Thanks for the help guys.
Hey guys here is a video of what I am talking about.
I have no idea what is causing this. Could it be the sprite or what? Because it is not happening when I cast to the right.
Thanks for the help guys.
I don’t exactly see what’s wrong…
It is not easy to see but when the character is animating and moving to the right it is all very smooth but when the character is animating and moving to the left it is not one continuous flow.
@ 2dProgramma: It would be very helpful if you could post some code that is possibly causing the issue and providing us details such as if you are using Slick2D.
Ah I see it! I believe it’s because the frame where the stick is extended is wider than the original image and because you draw it from the top left or bottom left corner, then it appears to be “lagging”. The fix would be to draw the “attack” frame when moving left with an offset that is equal to (original image width) minus (attack image width).