What I learned making an HTML5 game
What I learned from writing an HTML5 game:
- Test on the major browsers before releasing – you never know what will break
- Using <audio> tags will break the game on mobile browsers – use an alternative for sound
- Get the game playable ASAP – I wasted time planning features that I never implemented
- Use a JavaScript linter if possible
- Take the time to write a one-step deploy script
- It’s awesome to be able to render controls off of the main game canvas
- Debugging with the Chrome developer tools is fantastic
Tools & software used:
- Jetbrains WebStorm – Programming
- Sublime Text 2 – Python and Bash scripting
- Google Chrome – Debugging & Testing
- Pixelmator – Art
- BFXR – Sound
- Git – Version control
- JSHint, UglifyJS, and custom build scripts – Testing & Deployment
Submission and source below:
Screen:
