Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple web game template.
JavaScript CSS
Tree: 2409865dc4

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
node_modules
tools
www
.gitignore
README.md
package.json
volofile

README.md

A Simple Web Game

The is a small template that comes with a working game where you can move the player around. Use this to start your game!

If you look in www/js/app.js, you'll see that this comes with a basic render loop, a player enttiy, and an input library.

This is part of the mortar template collection for building Open Web Apps.

Usage

There are a few ways to get this template:

  • git clone git@github.com:mozilla/mortar-game-stub.git myapp
  • volo create myapp mozilla/mortar-game-stub

If you have node installed, you can run a development server with volo:

  • cd myapp
  • volo serve

View the game at http://localhost:8008/.

Something went wrong with that request. Please try again.