Building Games for Firefox OS

Building Games for Firefox OS

Andre Garzia
Buy on Leanpub

Table of Contents

Building Games for Firefox OS

  • Introduction
    • Firefox OS
    • Fighting Against Proprietary Silos
    • Cross-platform Technologies At Its Heart
    • The Platform That HTML5 Deserves
    • Accessing The Hardware Using The WebAPI
    • Freedom To Develop And Distribute
    • Firefox OS & Game Development
    • Why Develop Games?
    • Summary
  • Setup For Firefox OS Development
    • The Gecko Engine
    • What applications do you need?
    • App Manager Setup
    • Installing the Firefox OS Simulator
    • Summary
  • The App Manager
    • Launching The App Manager
    • Adding Apps
    • Running your app
    • Updating your app
    • Debugging
    • Testing apps on a real device
    • Connecting with a Firefox OS device
    • Summary
  • About Games
    • What Are Games Anyway?
    • What Makes a Good Game?
    • Can’t You Give Me a Straight Answer?
    • What Should I Do Then?!
    • Keeping a Game Design Journal
    • Summary
  • Our Game
    • Introducing Foxnoid
    • A Good Introductory Game
    • Room For Experimentation
    • A Look At The Big Picture
    • Our Plan
    • Why Phaser
    • Summary
  • Setting Up Our Game
    • Application Types
    • The Application Manifest
    • There Is No Place Like Home
    • Adding The Phaser Framework
    • The CSS
    • The HTML
    • Our Application Manifest
    • Summary
  • Initializing Foxnoid
    • A Bit About Game Lifecycle
    • Game States
    • What Should Our Initialization Handle?
    • Initializing Phaser
    • Summary
  • Managing Assets
    • Defining Atmosphere
    • Planing For Different Form Factors
    • Planning Our Game Assets
    • Building The Preload Game State
    • Summary
  • Gameloop
    • What Is The Essential Part of a Game?
    • Thinking About Our Game Loop
    • Initializing Our World
    • Simulating The World
    • Summary
  • Handling Input
    • The Action That Drives The Game
    • Touch Input Considerations
    • Keyboard Input
    • Gamepad Input
    • Controlling Our Game
    • Summary
  • Winning or Losing
    • Game Over Scenario
    • Game Win Scenario
    • Summary
  • Engaging Players
    • Making The Game A Journey
    • Creating New Levels For Our Game
    • Summary
  • The Firefox Marketplace
    • Checklist before even thinking about sending an app to the marketplace
    • Preparing your app for submission
    • Submitting your app to the marketplace
    • Summary
  • Appendix 1: Useful Links
  • Appendix 2: Javascript Books
  • Appendix 3: Game Development Books
  • Appendix 4: Firefox OS Related Links
  • Appendix 5: Gameloop Chapter Code
  • Appendix 6: Input Chapter Code
  • Appendix 7: Levels Chapter Code
  • Notes
Building Games for Firefox OS/Appendix 1: Useful Links

Appendix 1: Useful Links

  • Mozilla
  • Mozilla Brasil Community Page
  • Firefox OS Developer Hub
  • Mozilla Developers Network: Best documentation ever!
  • Firefox OS
  • WebAPI on Mozilla Wiki

Up next

Appendix 2: Javascript Books

In this chapter

  • Appendix 1: Useful Links