[SDL 1.2+OpenGL] Simple 2d Example Here
Hi,
I have been playing with SDL 1.2 and OpenGL.
After about a week of work I am happy to post my progress.
Harnessing the power of OpenGL with the ease of use of SDL 1.2,
I’ve created a nice cross-platform (Windows/Linux) demo that does the following:
- Image scaling
- Image rotation
- Image transparency
- Text with horizontal justification
Code is cross-platform and uses the following:
- SDL
- SDL_image
- SDL_ttf
- SDL_opengl
- OpenGL
HERE IS THE LINUX VERSION WITH MAKEFILE:
http://silentheroproductions.com/files/SDL_OGL-.17.tar.gz
HERE IS THE WINDOWS VERSION IN CODE::BLOCKS:
http://silentheroproductions.com/files/SDL-l-OGL_Win32_.17.zip
HERE IS A SCREENSHOT:
SDL1.2+OpenGL-“GTR Twin Turbo”
[Image: http://silentheroproductions.com/images/SDL-l-OGL_SS-0001.png ]
ENJOY!!!------------------------
JeZ+Lee
SLNTHERO @ aol.com (remove spaces)
Silent Hero Productions®
Video Game Design Studio