Skip to content
Sign upLog in
← Back to Community
Why is this movement so choppy???
Profile icon
hacker
has Hacker Plan
p1ckl3

I have been working on a kaboom js game and have noticed that whenever I move the character, it just moves about 25 pixels and stops. What is going on and how can I get a better more smooth movement? Link: https://replit.com/@okalisl/Loki-Game#scenes/main.js

Voters
Profile icon
p1ckl3
Comments
hotnewtop
Profile icon
p1ckl3

Oh nevermind. I have solved the issue.

Profile icon
grapecoder

@p1ckl3
How?

Profile icon
MrVoo

Well if you just do something like xPos = xPos + 25; it's going to look choppy

Profile icon
p1ckl3

Really

@MrVoo
? I code games in the exact same format and there just fine. Example: https://replit.com/@okalisl/Disenchantment-RPG