Top positive review
5 people found this helpful
Great book with only a few things missing
on 26 February 2013
This is a great book for learning to make 2D games. It does assume you already know some C++, you can get through the book without knowing much C++ but the more you know the easier it is.
The book starts by teaching you basic Windows programming that is needed to set up a window for the game to play in.
It then shows you how to setup DirectX to work with Visual Studio 2010 and get your first DirectX window rendering.
By the end of it you will have a working 2D game which supports mouse and keyboard input as well as Xbox 360 controller input.
You will learn scrolling backgrounds, parallax scrolling, sprite rendering, animation, sprite transparency, collision detection, tile maps and more.
You will have your own 2D game engine to take away and make your own 2D games with.
The engine itself is set up in an easy to follow manner and it makes it easy for you to use it to setup your own game, loading in sound and graphics and using them in the game is easy to do.
There is only a few issues with this book. First of all it doesn't talk about game states. Game states are really helpful for when you want to transition from title screen to level or level to level. The second issue is that there is no collision detection for tile maps, however, the professor who wrote the book is extremely helpful and always happy to help you on his forum. Me and a friend asked him for help on collision detection for tile maps and he setup a new example for us to use which worked great, hopefully he will add this new example and more to the next edition of his book and will make it THE book to have for making 2D games.
In summary, great book but would be even better with a few more additions, and for anything that isn't in the book the author is more than happy to help, highly recommended.