character is jittery when moves?
allc1865
Member, PRO Posts: 777
Hi. My character is jittery when it moves left. When I moves right, it's fine. I have checked and re-checked my code and everything is right. Anyone know what could cause this?
Thanks.
Thanks.
Best Answers
-
tatiang Posts: 11,949The only thing I can think of is that the values of game.moveRight and game.moveLeft are changing when you think they should be constant. Does this happen with just a simple Move behavior set to 180 or 0? And make sure you don't have too many other programs open that could be causing a memory issue on your computer.
If possible, send me a private message with a link to download the zipped project file and I'll see if I can find the problem for you.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
-
tatiang Posts: 11,949Okay, glad it works.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Attribute game.moveLeft is true > move > 180 direction.
It's relative to actor, move type: additive (for both)
Sorry, I couldn't do a screenshot at this time.
Thanks!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I couldn't open your file, sorry. It says it's just an image.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User