Make it happen.
RocketHaxe: Basic Game
Below is a very simple demonstration game written using RocketHaxe. Controls are:
- Arrows move, space shoots
- 'T' reports an entity count
- '+' and '-' launch a wave of more asteroids
- 'M' toggles sound effects (muted by default)
Source code is included in the samples/10-RocketHaxeBasicGame/ directory of the RocketHaxe distribution. It consists of four code files:
- RocketHaxeBasicGame.hx---The basic window setup and game loop.
- Player.hx---Control logic for the player's ship.
- Bullet.hx---Control logic for the bullets.
- Asteroid.hx---Control logic for the asteroids.