PDA

View Full Version : 2D programing with OpenGL



Myth-
03-05-2006, 08:07 AM
Hi,

Ive got a couple of years of C++ experiance now and ive tinkerd with HL/HL2 mods etc in the past and im looking to move on from that. Ive been looking for details about 2D programing using OpenGL for a few days now and there just dosent seem to be any resources anywhere!

Just wondering if there is anyone around who could perhaps point me in the right direction or atleast give me some tips?

Thanks,

Henry

ZbuffeR
03-05-2006, 09:31 AM
http://www.delphi3d.net/articles/viewarticle.php?article=sprites.htm
It is mostly like 3D OpenGL though, so have a look at the first NeHe tutorials for starting :
http://nehe.gamedev.net/

Some open source code:

- A 2D game made directly in OpenGL :
http://www.reptilelabour.com/software/chromium/download.htm

- 2D sprite-oriented API using OpenGL :
http://www.clanlib.org/intro.html

A 2D game made with clanlib :
- http://pingus.seul.org/welcome.html

Myth-
03-05-2006, 09:42 AM
Thanks, thats a good start ill take a look through that games source :)
Any ideas if there are any documents or opensource games on side scrolling platform games? (Thats what im planning on making atleast) If not im sure i can make my way through using that example game.

Thanks,

Henry