HTML5 Games Firefox OS eBook

Andrzej Mazur

Build HTML5 Games for Firefox OS

Free ebook about HTML5 Game Development
for the Firefox OS mobile platform,
written by Andrzej Mazur from Enclave Games.

Work in Progress

This book is a work-in-progress one. I'll publish new chapters as soon as they will be ready. It is intended to be free, so any support would be greatly appreciated. You can help me moving the creation of the content forward by using the Donate button available in the top right corner of the page.

About the book

I'm passionate about making HTML5 games, you can tell by looking at my various private projects with the 'games' keyword inside: Enclave Games, js13kGames, Gamedev.js Weekly, HTML5 Gamedev Starter. Then there's also Firefox OS - I've created some games for the platform and wrote a few articles. I've run through the whole process of preparing your game for the Firefox OS platform, testing the game on the actual device and pushing it to the Firefox Marketplace. So, why not write a book about it? It's just another side project, so I have no idea when it will be finished, if ever. You can wish me luck using the social buttons above or send me a donation, if I ever create a proper button.

Table of contents

  1. Introduction
    • Firefox OS
      • Not your regular platform
      • Built with HTML5 and JavaScript
    • HTML5 Game Development
  2. Building the game
    • From scratch
    • Using Phaser framework
  3. Preparing the game for Firefox OS
    • Manifest file
    • Code optimization
  4. Testing the game
    • Firefox OS Simulator
    • Pushing to the device
      • Available devices
      • Remote debugging
  5. Firefox Marketplace
    • Discoverability
    • Developer account
    • Validating the manifest
    • Submit process
    • Settings and options
  6. Promotion without budget
    • Social networks
    • Distribution platforms
    • News sites
    • Articles and tutorials
    • Competitions
    • Events
  7. Monetisation
    • Managing paid games
    • In-app purchases
    • Advertisements
    • Licensing
  8. Summary