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.
KyleFlores1014
Citizen
Posts: 73
Joined: Thu May 25, 2017 1:43 pm

Re: SpriteSheet Help

Post by KyleFlores1014 »

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?
Spritest.zip
(16.12 KiB) Downloaded 146 times
User avatar
Azhukar
Party member
Posts: 478
Joined: Fri Oct 26, 2012 11:54 am

Re: SpriteSheet Help

Post by Azhukar »

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: No registered users and 128 guests