Hello I am at a lose again with another student project. He is making a man walk all directions except to the right. Link to game is below.
Any clue as to why (and how to correct) student issue?
Hello I am at a lose again with another student project. He is making a man walk all directions except to the right. Link to game is below.
Any clue as to why (and how to correct) student issue?
Hi @rdiaz1,
I like the graphics:) Multiple if/else statements can act funny because of the draw loop. I fixed the issue by removing all the else statements and moving the setAnimation from line 3 to inside the draw loop (line 19). By removing the else statements, it removes a chance that the draw loop would “linger” on the last else statement making the man animation too “sticky”.
I hope that helps!
~Michelle
Thank you for you help. This worked!