A space shooter based on the classic Asteroids, written in Elm.
Play it at blackbrane.github.io/destroid/
Destroid places stronger emphasis on the compactness property of space that was utilized in Asteroids and other games – i.e. the fact that when traveling off in some direction you eventually reemerge on "the other side". Unlike in Asteroids, the player's view extends beyond the size of the space so that this compactness is visually apparent: The player sees "additional copies" of their ship and other physical bodies when sufficiently close to the boundaries of the screen.
- Space bar = shoot / start game
- Up-arrow = accelerate
- Left/Right-arrows = rotate
- Escape = pause
To compile have the Elm Platform installed, navigate to the repo directory and type:
elm-make Destroid/Main.elm --output index.html
or place the generated index.html
file anywhere the needed img/
folder is also present.
I am grateful to be using Alien Encounters by ShyFonts for the logo and 04b_03 by Yuji Oshimoto for other text.