Cloned Games

allegro blasteroids

ArchivedPlayableLinux

Based on Blasteroids

allegro blasteroids screenshot

About

Allegro Blasteroids is a simple Allegro5-based asteroids-style shooter in which the player pilots a ship and fires at asteroids that spawn continuously (roughly one every 10 seconds) with randomized health and rotation speed. It builds via CMake, using only the Allegro5 library as a dependency, and the author reports it running on Windows 7, Windows 10, Xubuntu 18.04, and Arch Linux.

Getting started

The player fires with the space bar; each shot's damage decreases by about one point per second in flight, so sustained rapid firing becomes progressively weaker and, per the README, can even go negative and effectively heal an asteroid. The game ends immediately on death, reporting total play time and points scored.

History

The project began as the final project proposal from the Brazilian C programming book 'Use a Cabeça C' ('Head First C'), reusing that book's asteroid and ship drawings before the author expanded on it further.

Known limitations

  • physics: Collisions are calculated by distance, so bullets may pass through asteroids on screen without dealing damage.

Additional notes

Quirk
Hit detection is distance-based rather than pixel-based, so a shot can visually pass through an asteroid on screen without registering damage.
Share:

We’d like to use analytics cookies to understand how visitors use this site. See our Privacy Policy for details. Nothing else is tracked, and the site works the same either way.