https://github.com/arnarg/html5game
https://github.com/arnarg/html5game
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arnarg/html5game
- Owner: arnarg
- Created: 2015-03-26T11:13:35.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-31T13:13:31.000Z (about 11 years ago)
- Last Synced: 2025-06-30T16:48:15.156Z (12 months ago)
- Language: ApacheConf
- Size: 11.8 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HTML5 CSS-based Game
This game project has the following:
* 1024x768 pixel game canvas.
* All positions and sizes defined using a 10px em. This means that the game could be scaled up and down by changing the base font-size. This is one way to make the graphics responsive.
* A simple game loop which calculates delta and can be started and stopped.
* A player entity which can be moved around the canvas using the arrow keys.
* A "Game Over" screen when player is moved outside bounds, where the game can be restarted.
## Setup
```
npm install
bower install
grunt server
```