This forum is read only and just serves as an archive. If you have any questions, please post them on

10 years ago by Vidd

Hi, I'm following the example from the HTML5 Game Development book that covers making a game in Impact.

However, despite sticking to the code, I've noticed the player seems to shudder or jitter when moving, as if it moves back or something for a frame. It doesn't affect the zombies or bullets, but it is noticeable when jumping as well.

Has anyone else come across something like this before?

10 years ago by Vidd

Figured out what it was on a hunch. The book said to put the camera code before the this.parent() whereas the comments in the template say to put any new logic after.

Fingers crossed this is actually it, but I'd appreciate any input.

10 years ago by DanT

Thanks Vidd, I'm just starting but had the same problem. Wasn't going to worry about it for a while but this fixed it. Glad I stumbled upon this post.

10 years ago by Thumbsupguy

I'm glad I stumbled upon this post as well. My character entity had that jittery movement when moving left, right, or jumping on a treadmill side-scrolling level. Moving this.parent() in the update function after the code that controlled the camera movement fixed the problem. Thanks Vidd!

10 years ago by jessefreeman

Someone just pointed this thread out to me on Twitter. I hadn't heard anyone bring this up before but I think I remember seeing something strange when I got the game running on iOS. I will go back over the code and check it out. Thanks for bringing it up on here.

10 years ago by taddeimania

Thread delivers. Op mentions an error in a book - author shows up. I love the internet.

10 years ago by Graphikos

The jittery/choppy movement "issue" was identified 2 years ago. One of the first gotchas I came across while developing with impact.
Page 1 of 1
« first « previous next › last »