Overview
Iain Lobb wrote EntityAsteroids in ActionScript 3, pairing a lightweight entity-component engine with an Asteroids-style space shooter built to demonstrate it.
Created as the companion project for a two-part game development tutorial, the codebase illustrates why component composition is cleaner and more flexible than deep object-oriented inheritance hierarchies.
Six entity classes drive the game: the main controller, your ship, splitting asteroids, bullets, the weapon component, and a roaming alien ship that fires in random directions. To win, clear every asteroid and destroy the alien saucer.
- Made by
- Iain Lobb
- Released
- 2012