Hi everyone,
I’ve run into a strange issue with the camera in my project. When the camera follows the player, it looks like it is “jumping” from pixel to pixel instead of moving smoothly. The player’s movement itself is fine – the problem is only with the camera.
Here’s what I’ve noticed:
- The effect looks like the camera is locked to whole pixels (pixel-perfect), so it never moves in sub-pixel increments.
- I tested this on different GPUs (RX 570 and Intel ARC B570) and the result is exactly the same, so it’s not hardware-related.
- I tried adjusting the camera settings (catch-up speed, forecast time, maximum speed, etc.), but the stuttering/skipping effect is still there.
- It feels like the camera doesn’t interpolate between frames, which makes the movement look choppy.
Is there a way in GDevelop to make the camera move smoothly (with sub-pixel precision) instead of snapping to whole pixels?
Or maybe there’s a known workaround to keep sprites pixel-perfect but allow the camera itself to move fluidly?
Any advice or examples would be greatly appreciated!
(I really want to improve this camera jumping because I’m planning to release this game on Steam, and it looks very unnatural. It’s like 20fps.)