character is jittery when moves?
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,949
The 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.
Answers
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!
I couldn't open your file, sorry. It says it's just an image.