sdl night?

Aug 17, 2012 at 11:34am
is it possible to change the color tones using sdl? light to make dynamic light from torches, night/daytime etc.? or would i need to do that with some other library?
Aug 17, 2012 at 11:54am
Only simple way I know of is to blit transparent images on top of other surfaces. If you blit a transparent black surface on top it will look darker. There are a lot of SDL libraries so maybe one of them can do more advanced stuff. I don't know.
Aug 17, 2012 at 3:55pm
makes sense :P
one question tho...how do i blit a transparent image? all i have tried to do it, but none of them seem to be transparent (tried to do this in my in game meny)
Aug 17, 2012 at 5:18pm
never mind i figured it out, thanks for the help :D
Topic archived. No new replies allowed.