Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

adam-rumpf/topological-asteroids

Repository files navigation

Topological Asteroids

itch.io page

An Asteroids-esque game for different topological surfaces (in addition to the usual torus).

For downloads, please see this game's itch.io page.

This is a game based on the classic arcade game Asteroids. The player controls a ship and attempts to avoid crashing into asteroids both by maneuvering around them and blasting them into smaller pieces. This game is of mathematical interest because it takes place on a torus, meaning that objects that leave one edge "wrap around" to the opposite edge.

This version of the game can be played on a variety of other topological surfaces besides the torus, including: the cylinder, the Möbius strip, the sphere, the Klein bottle, and the real projective plane. The camera can either be locked to the fundamental polygon (in which case the ship can change orientation) or follow the ship (in which case the surroundings can change orientation).

Controls

[Arrows]/[WASD] -- move, navigate menus
[Space]/[Enter] -- shoot, accept menu option
[C] -- change camera mode
[Esc]/[P] -- pause
[Esc] -- back out of menu option

Credits

Topological Asteroids
Copyright (c) 2020 Adam Rumpf
adam-rumpf.github.io

Made in GameMaker Studio 2 (Version 2.2.5)
2017 YoYo Games Ltd

Source code released under MIT License
github.com/adam-rumpf/topological-asteroids

Sound effects made with Bfxr
bfxr.net