I forgot to implement the rotate camera feature, sorry about that. Again, you can use this for your project, but please credit me. Thank you! ^^ Edit: Turns out I can use Pythagoras Theorem to count the distance from the current Sprite to a coordinate ._. Edit 2: Yay :D The project won't lag if the CamY variable is bigger than 80 :) Edit 3: Also I used a different method to make the Sprites rotate (unlike griffpatch's scrolling projects, mine is much worse), that's why it's not perfect ig :") Please comment if you find any bugs, I will fix it as soon as possible. (Except for the dragging + rotating the screen problem, that's intentional)
This is probably my 3rd Code Update