SpriteSheet Help
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Citizen
- Posts: 73
- Joined: Thu May 25, 2017 1:43 pm
Re: SpriteSheet Help
That actually fixed it. Thanks. But I only have one minor issue when I press D it goes right but when I press A while pressing D, the animation is WalkR but moves to the left. This doesnt happen when I press D while pressed A. and also frame rate is slow why is that?
Re: SpriteSheet Help
Because you do not set 'right = false' when you set 'left = true', so you end up with a situation when both left and right is set to true.
Try completing this tutorial to get a better grasp of the language https://love2d.org/wiki/Tutorial:Baseline_2D_Platformer
Try completing this tutorial to get a better grasp of the language https://love2d.org/wiki/Tutorial:Baseline_2D_Platformer
Who is online
Users browsing this forum: No registered users and 128 guests