[SDL] Sprite Origin positions
grimfang4 at gmail.com
Fri Sep 19 09:44:42 PDT 2014
Just to put it out there... SDL_gpu blits images at their center points by
default, so positioning with scaling and rotation works without any extra
effort. When a pivot point is used (GPU_BlitTransformX()), then the image
is rendered relative to that point (i.e. you can use 0,0 as the hotspot,
which is what SDL does normally).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL