Book Image

PhoneGap By Example

Book Image

PhoneGap By Example

Overview of this book

Table of Contents (17 chapters)
PhoneGap By Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

What game framework to choose


Development of a game from scratch would require a lot of time. It is better to find a framework to accelerate development. There are a lot of ways to build HTML5 games. There are even websites dedicated to list all of the different frameworks available. Here are two such websites:

So, which framework should we choose? Some of them are free; some of them are paid. Some of them support WebGL; others work directly with Document Object Model (DOM).

Tip

WebGL is a JavaScript API to work with interactive 3D and 2D computer graphics in a web browser.

I do not really like games using DOM, because it adds limitations to the performance of the application. It is also very hard to create nice animations without glitches. I was not looking for a 3D game framework, but I was interested in good performance. I've spent a lot of time looking into different solutions, and I stopped on Phaser. Why? It's because...