A Space Invaders arcade emulator written in C++. Still a WIP!
First ensure that the space invaders rom files are in the data directory. The following files are required:
- invaders.e
- invaders.f
- invaders.g
- invaders.h
Clone the repository:
git clone https://github.com/adelciotto/space_invaders
cd space_invadersCompile the code:
make -j4Ensure you have the latest Visual Studio installed and that you have run vcvars64.bat in your current command line session. The scripts/shell.bat script will attempt to run this for you assuming you have Visual Studio 2019 Community installed. If you have another version installed then just modify the script to point to the right location.
scripts\shell.batCompile the code:
scripts\windows_build.batRun the executable:
release\space_invaders.exeTODO!
| Action | Key |
|---|---|
| Move Left | Left Arrow |
| Move Right | Right Arrow |
| Shoot | Z |
| Insert Coin | I |
| Start 1 Player | 1 |
| Start 1 Player | 2 |
| Tilt | Right Shift |
| Action | Key |
|---|---|
| Move Left | D-Pad Left |
| Move Right | D-Pad Right |
| Shoot | A or X |
| Insert Coin | Y |
| Start 1 Player | Start |
| Start 2 Player | Back |
| Tilt | Left Bumper |
| Action | Key(s) |
|---|---|
| Toggle Fullscreen | Alt-Enter |
| Take Screenshot | Alt-S |
- Excellent sound samples from https://samples.mameworld.info/Unofficial%20Samples.htm
- Thanks to Tobias V.Langhoff for his article on emulating the look and feel of Space Invaders. I used his findings as a reference. https://tobiasvl.github.io/blog/space-invaders/
- Used the moonshine source code as a reference when writing some of the effects: https://github.com/vrld/moonshine
- https://www.computerarcheology.com/Arcade/SpaceInvaders/Hardware.html
