Book: Beginning 3D Game Programming by Tom Miller
I bought the book with the same name as the title to this post.
Two things to note:
- The book code does not match the code on the cd.
- I couldn’t get the source code to compile in Visual Studio 2005 using the instructions in the book. I googled around and found Tom Miller’s blog and then a link to zman’s site which had some updated code. So if you have this book then run around to http://www.thezbuffer.com and you can find the code in the downloads section.
NOTE: That site has some adult advertisements, none seem to be hardcore.
Some Links:
- NeHe - Good site with lots of tutorials, not as clean as the above but more there.
- SDL - I need to look into this a bit more, seems like the way to go.
- Lazy Foo SDL Tutorials
- Some Photoshop stuff
- Game States
- Some C++ reference
My Simple Game Code
I have done a little bit of work and have gotten a BASIC asteroids clone done (just a player that can move and shoot (only 4 bullets on the screen at once ATM). There is enough there to strip out the files in the Game Group in Xcode (as long as there is the Game.h and Game.cpp files with the right methods), and replace with whatever you want.
Here is the Game Xcode project
Other Thoughts
- See std::cin.peek for handling input in a simple text based game.