SDL doesnt let you use src rects that are negative or out of bounds, so i spent today making a camera, then editing the drawing system to automatically correct out of bounds src -> dest conversions, keeping it correct across any framebuffer size (logic is done at 240x136, framebuffer can be any resolution, and display is 960x544)
EDIT: turns out if the srcrect is larger than the source image in both width and height everything breaks
busy procrastinating fixing the camera cus i cant figure out whats wrong for the life of me, but i also cant be bothered implementing animated autotiles and stuff hmmm
EDIT: turns out if the srcrect is larger than the source image in both width and height everything breaks
busy procrastinating fixing the camera cus i cant figure out whats wrong for the life of me, but i also cant be bothered implementing animated autotiles and stuff hmmm