As you begin to develop your games, you will find that there are many different pieces that you will need for different components of your game. You may want to incorporate physics to simulate an explosion, or a bounce when an object collides with another object; you may need better methods of dealing with the edge cases for the browser’s sound (Internet Explorer is still a strange beast compared to other browsers); you may need to provide better artificial intelligence for the enemies in your game, or other players. You may even want to provide different perspectives for your game. This is where a decent game engine will save you a lot of time, effort, and headache.

Game engines in general help you manage all of the moving parts ...

Get Beginning Facebook Game Apps Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.