Getting started with Phaser
It is very easy to get started with Phaser. We can do it in several easy steps.
Download Phaser
Let's download the latest version of the Phaser library from http://phaser.io/download. Usually, I include the minified version of the phaser.min.js
library in the HTML file.
Get tools
We need a text editor to edit our HTML/CSS/JavaScript code and a browser with console for debugging. I am using Sublime Text (http://www.sublimetext.com/) and Google Chrome.
Use a web server
At this instance, you might have some complicated questions. You might ask, "Do we really need a web server to develop an HTML5 game?", and "Why can't we just develop it in the browser and take all the files needed from the file system?"
The main reason we use a web server is browser security. It is related to the protocol used to access files. When we request anything over the Web, we use HTTP. The server and it's security have enough information to ensure that you can only access the files you are meant...