🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles
(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).