🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

Hello again!

I'm working on a new version of my game, I decided to try using a view/camera system like yours
but using the mouse (moving the mouse left and right rotates what you see, like in BOH using arrows)

Something I noticed is for any movement that is not round (a number with decimals, like 1.235),
it causes problems. It causes the screen and the player to 'shake' or 'jitter' a bit

Your game is at a much lower resolution to work on older system, so it must have been even harder making sure
everything looks perfect like it does.

What I did was to use trigonometry so that no matter what the angle is, the player moves the same distance.
But at an angle, this is what causes the decimals and the jittering

In your game movement is super smooth, it's fantastic, the screen doesn't jitter and the character doesn't jitter either. If you don't mind me asking, how did you handle movement at an angle?

(Edited 1 time)

I simply rotate the background with the source center being the position of the character controlled by the player and the destination center being the center of the screen. The character itself is drawn after the rotation, always at the same position (i.e. the center of the screen).