SpriteSheet Help

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Posts: 73
Joined: Thu May 25, 2017 1:43 pm

Re: SpriteSheet Help

Post by KyleFlores1014 » Sat Oct 21, 2017 7:55 am

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?
(16.12 KiB) Downloaded 45 times

User avatar
Party member
Posts: 478
Joined: Fri Oct 26, 2012 11:54 am

Re: SpriteSheet Help

Post by Azhukar » Sun Oct 22, 2017 11:58 pm

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

Post Reply

Who is online

Users browsing this forum: nikneym and 25 guests