You are not logged in.
Hey all, haven't posted here in a while but I have a question and this seems like a pretty good place to park it.
I have been interested in getting into game development for a while now, I am very comfortable with c++ and its standard library and am wondering where to look for some good c++ game programming info/resources.
I would love a book / series of tutorials that I can follow through, but the only things I can find are either dedicated to directX or seem to be 99% about learning c++.
Anything I do needs to be cross platform, I've looked at using opengl directly but it's not very pretty and seems almost 'too c' (if that makes any sense).
Any recommendation or pointers would be greatly appreciated.
I'm keen to just write some basic 2d games and need a push in the right direction.
I have seen ClanLib, does anyone have experience with this? Any other recommendations?
Thanks again,
~Chris.
[edit]
One book that looks possibly promising is: http://www.amazon.com/Essential-3D-Game … 10&sr=1-12 but that isn't due out till 2010
Last edited by suicideducky (2010-05-03 08:41:17)
Offline
Have you looked into using OGRE? It has some pretty good tutorials I think.
Matt
"It is very difficult to educate the educated."
Offline
Here's my list so far (thanks for the OGRE pointer):
Offline
I have been using the Allegro game library for many years. It is free and open source, it is written in C, it works in many different environments (Windows, Linux, Haiku...), and I find it quite easy to use.
It is designed mainly for 2D games, but also includes wrappers for some OpenGL functionality. Allegro 5 is being developed, but I still recommend Allegro 4 at this time.
Offline
Similar to OGRE, but with more of a DIY feel: http://www.openscenegraph.org/projects/osg
OpenSceneGraph gets you into creating EVERYTHING, with the help of plugins. We use it at work with http://www.osgearth.org/
It can help introduce you to some of the basic concepts, but might be too low level for starting out.
Offline
Thank you all for your replies
I was wondering, with OGRE, OSG and irrlicht is it possible to do 2d games aswell?
Is OpenGl able to handle both 2d and 3d?
Thanks again,
~Chris.
Offline
Is OpenGl able to handle both 2d and 3d?
Yes it can, it is generally overkill to do pure 2d with OpenGl, but it is possible.
-Adam
Offline
I would suggest you take a look at SDL. theres some pretty good tutorials at http://www.lazyfoo.net/SDL_tutorials/index.php
"As a former philosophy major, it disturbs me to think that things disappear when no one is looking at them, but that's exactly what happens in Python" - Mark Pilgrim
Offline
Do yourself an immense favor and just learn opengl. Just, effing do it. You will gain so much from it. Take a look at my post "arch philosophy applied to a game engine" in this subforum. As for books, I personaqlly find allen sherrod's books good reads. There's another book I have, math for game development I think it's called, i 'll have to double check.
Last edited by Orm (2010-04-30 23:48:08)
Clever tagline here.
Offline
If you like C++ and want to keep it high-level, use SFML for 2D graphics and all other kinds of multimedia stuff and Ogre for all 3D graphics. I have tested quite a few libraries and I'm sticking with those mentioned. SFML is using OpenGL acceleration and as such is a lot faster than SDL.
Of course, you'll still be using Boost on top of either of those. Good luck, game development is fun.
Offline
SDL uses opengl as well Svenstaro. And pretty soon std::tr1 can replace many of the boost classes, at least the ones I use (shared_ptr and unordered_map). I love boost, but alot of people I have talked to about my work say that Boost is too big to download, so you might want to keep that in mind. Honestly though, anyone who flat out refuses to boost is either an idiot or a dinosaur. Another 3D lib to look at is Horde3D.
By the way, here's the post about the engine I mentioned earlier: http://bbs.archlinux.org/viewtopic.php?id=96058
Last edited by Orm (2010-05-01 02:19:30)
Clever tagline here.
Offline
http://nehe.gamedev.net/ has some good tutorials for OpenGL.
Offline
After looking at the OpenGL book at http://www.glprogramming.com/red/ I am thinking I might give it a go, a library is pretty much a front end for OpenGL/SDL anyway is it not?
Also the tutorials at http://www.lazyfoo.net/SDL_tutorials/index.php are also proving to be helpful.
and I like the structure over at nehe.gamedev.net/ xD
Between them I hope to actually learn some of the theory and not just the library.
Although I think I am going to go with OpenGL for the time being,
@ORM:
You mentioned allan sherrod's book, which one particularly?
I am rather keen on the one I linked above, and I might actually get it....
I only just realised it is 2010, I was thinking it was a whole year away HAHHAA.
Thanks again all,
~Ducky.
[edit]
4 books that I am interested in are:
Beginning OpenGL Game Programming, Second Edition
http://www.amazon.com/exec/obidos/ASIN/159863528X
OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 3.0 and 3.1
http://www.amazon.com/OpenGL-Programmin … 0321552628
Essential 3D Game Programming: with C++ and OpenGL
http://www.amazon.com/Essential-3D-Game … 0123751039
Game Graphics Programming
http://www.amazon.com/Game-Graphics-Pro … 1584505168
Any other recommendations/comments on any of these books?
At this point I am hoping to focus more on 2d games rather than jump right into 3d.
Last edited by suicideducky (2010-05-01 09:06:17)
Offline