136 reputation
2
bio website mdqinc.com
location Argentina
age 36
visits member for 2 years, 1 month
seen Jan 28 at 2:51

Software developer and Electronics Engineer from Argentina.

Author of the Ignifuga Game Engine

My Dev Blog


Sep
25
comment SDL2 render to texture support
I usually keep a "scene" space where the sprites are, and a screen space. When rendering I translate the screen rectangle to scene coordinates (apply zoom, scroll, etc), then pick up the sprites that fall in that translated rectangle and render them accordingly. I wouldn't advise rendering the entire scene to a texture and from that pick up a smaller section to render to screen, unless your particular game is suited for that (small scenes, probably low res pixel art)
Sep
24
awarded  Teacher
Sep
24
answered SDL2 render to texture support
Nov
22
awarded  Autobiographer