Phaser for HTML5 Game Development
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghHL7WNKuANeXJRvB9PLkwZ5ELhdeIVadvcYQYPGgOzrr1WjAn2m6zOO9REKZ-i8VgTVdNccSu0ZS3x49N8Lkm_56bPxvUkseUCG6pevcY484-eXAeB5r5fCJtuyrgugmL21nn/s400/Image+for+Blog+Posting.png)
Just starting on an adventure in HTML5 game development using Phaser and thought I'd keep notes online. There's a bigger picture application goal that I have in mind, but it will start as a series of exercises and I want to record them while I'm learning. First I wanted to create an example of a polygon moving around the screen using the cursor keys. After some exploration of the examples and reading documentation it boiled down to this basic example. First the index.html file: 1: <!doctype html> 2: <html lang="en"> 3: <head> 4: <meta charset="UTF-8" /> 5: <title>Polygon Test</title> 6: <script src="js/phaser.js"></script> 7: <script src="js/polytest.js"></script> 8: </head> 9: <body> 10: <div id="phaser_game"> 11: </div> 12: <script type="text/javascript"&g