Skip to content

KeithDobbelaere/Asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids!

Copyright (c) 2019-2021 Keith Dobbelaere. [email protected]

About the Game


I got the inspiration for this game from a YouTuber named FamTrinli. He created a quick Asteroids! clone as part of the series 'Let's Make 16 Classic Games in C++/SFML!' and I thought I could continue the concept a bit further. So here it is. I've added quite a bit; added game-play features, a state machine for switching between menus, a High Score manager complete with security features (don't cheat, lol.) It also has a demo mode that loads when the title screen is left on for more than 20 seconds, complete with a little bit of AI I wrote, sort of like an arcade.

Controls


The controls are pretty basic, and can be remapped in the Custom Controls Menu:

  • Left/A - Rotate Left
  • Right/D - Rotate Right
  • Up/W - Thrust forward
  • Down/S - Reverse direction
  • Space - Fire weapon
  • Shift - Fire Special

Install


Just unzip the file Asteroids.zip, and run setup.exe.

Credits


Code

This game was written in C++ using SFML. These are very simple to use, multi-platform, OpenGL libraries for windows, graphics, audio, networking, etc. If you want to get something up and running quickly, I recommend them.

To learn more about it, check out:

Original inspiration from FamTrinli on YouTube, thank you.

I used an audio fader routine by Glocke, from his SFMLExt project, so thanks go out to him.

I used routines for creating SHA-256 hashes by Olivier Gay.

Audio

Main song is 'Nearly There..' originally by Jochen Hippel for the Atari ST version of the game 'A Prehistoric Tale' from 1990, remake by Jogeir Liljedahl (1991).

Title music is 'Stardust Memories' by Jester/Sanity (1992).

Ah, the days of Mod Tracker music...

Font

Barcade by Daniel Zadorozny, Iconian Fonts.

About

Asteroids! Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published