When a object moves too fast and creates a pixel every tick in a canvas the pixels look separated. Is there any way to fix this?
Develop games in your browser. Powerful, performant & highly capable.
Draw a line. From the old to new position.
Or slow your sprite down so it's only moving 1px per tick.
Or make a loop that interpolates the old pos and the new pos and creates copies to fill in the gaps.
Can you show me an example please?
No! I'm busy.
Maybe later.
No! I'm busy. Maybe later.
Don't worry
I will try by myself but I'm 100% sure I will fail.
I made this for somebody else a little while back, maybe you can find it of use as well.
Lines Without Breaks
I made this for somebody else a little while back, maybe you can find it of use as well. Lines Without Breaks
Thanks, this will be useful!