Core 2D game engine, book recommendations?

Hi all,

I am looking for a decent book or two on game development for someone with fair OOP programming experience.

The book should give guidance on the the following subjects:
* What to do in the core game loop?
* Handling animations (in the core game loop).
* Handling events, or triggered events.
* Something about artificial intelligence --> Path finding.
* Ideally, some tips about multiplayer integration.
* Going about with various exceptions (which makes the game).
* Working with tilemaps.
* Enemies moving on a tilemap + pathfinding.
* All of the above in a OOP approach.
* preferred is the main focus design of above, with code examples.

Basically a book which can show me how to make a core (resuseable) game engine for use in 2D side scroller games. It should be kinda lnaguage agnostic: a decent programmer should be able to grasp the books contents, then apply it in Java, C#, BlitzMax or whatever.

Which books can you recommend? A book of <=7 days reading could get me up to speed.

One could "Google" lotsa bits-n-pieces 2gether from various sources which takes ages to try to organise as useable... My dayjob + worktraveltime etc leaves me with very few spare hours per week(end) for puzzling out code etc. A decent structured book can get me up to speed much faster. Preferred is a Java-related book.

I have a fair programming ability in the past 8 years working in business software in banks/transportation/utilities etc etc.


Any ideas? TIA.

[1680 byte] By [MichielE] at [2007-12-24]
# 1

You will not find any books on XNA as it is only in it's early stages, but I hear that there are some on there way. But to get started I would have a loo at the www.gamedev.net site and the different groups on that site. With each of the groups you will find that they have a veary good FAQ that will have links to different sites that will help you. In regards to books you will not find many that fit in your time frame. In regards to engine design I would make sure that you check out the game desgin groups on Gamedev.net.

I hope this has helped...

GlennWilson at 2007-10-8 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...
# 2
Learn XNA has an XNA book in progress at http://learnxna.com/pages/XNABook.aspx but it is no complete, about 4 chapters online so far. Tis the only XNA "book" I have heard of but I am guessing one will be out not too long after the release of XNA.
rijit at 2007-10-8 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...
# 3

There's actually almost no 2d books out there any more. This one wasn't too bad http://www.amazon.com/Focus-Direct3D-Premier-Press-Development/dp/1931841101 and you can get it pretty cheap now. But its all C/C++.

The only c#/Managed DirectX books are listed on the ZBuffer books list - but none of them are very 2d centric - at least not with DirectX. David Wellers book does some 3d stuff with GDI in the early chapters that may be of use.

As otehrs have said there are no XNA books announced yet, but I know the publishers are activly working on them and at least one author is confirmed

TheZMan at 2007-10-8 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...
# 4

Best tutorial I've come accross for 2d - tile based graphics and scrolling is over at

http://www.xnaresources.com

I'd go though the LearnXNA tutorials which are a good XNA background and then go through the tutorial above which is specific for tile based 2D game generation and editing.

Only upto Chapter 4 at the mo but there is more than enough to get you started with a basic game andmap editor already.

Have fun

Darkside at 2007-10-8 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...