[SDL] sprites
David Olofson
david at olofson.net
Thu May 20 08:28:29 PDT 2004
On Thursday 20 May 2004 15.48, Cedric Bompart wrote:
> Cool it works... I've asked about "CreateRGBSurface" because I
> didn't know if it'll be the best solution.
>
> Another thing how can I mirror an image based on the Y axis? Can
> SDL do that or do I need to implement my own algo? Can someone post
> the algo please? :-)
Not sure what you mean by "based on the Y axis", but either way, you
could just blit 1 pixel strips flipping the coordinates of the loop
axis for either the source or the target blits.
//David Olofson - Programmer, Composer, Open Source Advocate
.- Audiality -----------------------------------------------.
| Free/Open Source audio engine for games and multimedia. |
| MIDI, modular synthesis, real time effects, scripting,... |
`-----------------------------------> http://audiality.org -'
--- http://olofson.net --- http://www.reologica.se ---
More information about the SDL
mailing list