This is an experiment made for an university exam, a 2d game that uses just html5 canvas with its Javascript API and no additional framework.
In order to make the game programming easier a little framework has been built, it handles:
- animations
- mouse events
- keyboard events
- collissions, almost pixel perfect
- custom graphic controllers
- homogenous transformation
- levels serialization and persistence
You have a space ship, your goal is to get to some planet and/or collect some trash. Taking into account gravity, limited fuel, moving planet, asteroids and trash.
You'll find here an online playable version of the game.
The purpose of this project was to pass an exam, it has been coded in hurry, thus there things that can be done better and things that are buggy. More over it has only been tested on Chrome.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.