Hello
I am new to game dev and most stuff I learn is from online tutorials or finding it out myself.
I have a 2d platformer with a camera system, the problem is since I move in lets say 4 pixels per frame, even if I have 60 fps movement is not particularly smooth.
I think this is a movement speed issue rather than a camera issue.
One of the solutions I could think of: move in floats, and use AffineTransform when drawing images, problem is my collision system uses ints, I could cast or approximate.
Another solution is to interpolate movement, but that means making a more complex game engine, right now I do update render draw per cycle 60 times per second, and in case of overtime I update without rendering a few times (frame skip)
Are there other solutions?
Edit 1: Here is a demo: http://filebin.ca/iESvMvnv9Cc/Main.jar
Edit 2: I have added a scrollable background layer (sort of paralax scrolling) and the movement issue isn’t as noticeable now.