Can anybody help me figure out how to fix the jitter when the character moves diagonally?It looks okay when I remove the normalisation of the movement vector on the diagonal, because then no floats are used. But I need that for consistent speed.The camera introduces even more jitter, so I tried putting everything into math.floor or similar, but that didn't work.Here's the code https://pastebin.com/ckFi85BG
>>1502788The problem is that you're sending the player coordinate to Camera's apply and update methods as a rect, and that uses only integer coordinates.That introduces rounding errors, thus causing the jitter.Send it as a tuple of floats instead, and turn it into a rect of rounded coordinates only when needed (at render).https://pastebin.com/e92yRK4i
>>1502860Thank you so much!
from what?