SDL to reflect a bitmap

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
platform
Posts: 13
Joined: Wed Aug 26, 2009 5:53 pm

SDL to reflect a bitmap

Post by platform »

I've been writing the basics of a 2D sprite engine using SDL. The next task I want to do is reflect the Sprite in the y-axis.

I understand this sort of functionality is not presupplied in the SDL. That being the case is there a preferred library I should use?
Or should I just write this myself?
nspmadero
Posts: 4
Joined: Fri Aug 28, 2009 1:44 pm

Post by nspmadero »

SDL_GFX is the SDL way

but, if you want to do it fast, smooth & clean the way is OpenGL or GU check this guide of sprite transformation using GU.

http://www.psp-programming.com/forums/i ... 467.0.html
Post Reply