So I've been making this game and its done actually but the problem is when I hold down a key it goes forward 1 then stops then continues.
I did it a bit like this:
1 2 3 4 5 6 7 8 9 10
My teacher said that it saves it (stops for a sec) then continues to move. But really that offered no solution to me... Or at least I could figure out... So why does it does this, and how can I prevent this?
That's because of the repeat. Like how you hold down they key 'd' in this text box there is a delay before it repeats.
Ok?... So it repeats once then saves it because your holding it down? Is there a solution? Obviously because I've seen other games move a lot finer than with that? If not "solution" then just some rewrite or different way to do it?