[SDL] Turn a surface upside down

Started by
1 comment, last by Ghosthack 17 years, 9 months ago
I have a problem which isn't really a problem but it would be really neat to be able to use this effect in my tetris clone game. I want to know, is there a way to turn an SDL surface upside down somehow without modifying all the logic code or changing a whole lot? Thanks.
Advertisement
You can C&P the flip_surface function from my 29th tutorial

or better yet just flip them in paint before runtime.

Learn to make games with my SDL 2 Tutorials

Thanks a lot :)

This topic is closed to new replies.

Advertisement