Building Games for Firefox OS
Last updated on 2014-08-18
About the Book
Join us in the quest for building games for Firefox OS, the new mobile operating system by Mozilla. Empowered by this books practical approach you will learn thru examples how to develop a full game from the beginning all the way to the distribution in the Firefox Markeplace.
All those interested in developing games with web technologies. Everyone that wants to seize the opportunity to blaze their own path on a new mobile market
This is an early release. The book still going thru revisions and more content will be added.
- This book is in perpetual beta
- Me, myself, and I
- Want to know more about Firefox OS Dev?
- How this book came to be
- Staying up to date
- Source code
- How to contact the author
- Cover Illustration
- Who should read this book
- Feedback & Pull Requests
- Version history
- 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?
Setup For Firefox OS Development
- The Gecko Engine
- What applications do you need?
- App Manager Setup
- Installing the Firefox OS Simulator
The App Manager
- Launching The App Manager
- Adding Apps
- Running your app
- Updating your app
- Testing apps on a real device
- Connecting with a Firefox OS device
- 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
- Introducing Foxnoid
- A Good Introductory Game
- Room For Experimentation
- A Look At The Big Picture
- Our Plan
- Why Phaser
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
- A Bit About Game Lifecycle
- Game States
- What Should Our Initialization Handle?
- Initializing Phaser
- Defining Atmosphere
- Planing For Different Form Factors
- Planning Our Game Assets
- Building The Preload Game State
- What Is The Essential Part of a Game?
- Thinking About Our Game Loop
- Initializing Our World
- Simulating The World
- The Action That Drives The Game
- Touch Input Considerations
- Keyboard Input
- Gamepad Input
- Controlling Our Game
Winning or Losing
- Game Over Scenario
- Game Win Scenario
- Making The Game A Journey
- Creating New Levels For Our Game
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
- Appendix 1: Useful Links
- 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
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...