/invaders

Space Invaders Emulator

Primary LanguageC++GNU General Public License v2.0GPL-2.0

Invaders

Build Status Build status Coverity Scan Build Status Codacy Badge

Space Invaders Emulator written in C++

Uses SDL2 to provide graphics and SDL_mixer for sound effects.

Features

  • 2 player controls
  • Coloured gel screen
  • Sound effects
  • Event driven Intel 8080 emulator
  • Basic CP/M emulation (enough to run CPU tests)
  • Intel 8080 profiler
  • Intel 8080 disassembler

Compiling

Windows

Compile with Visual Studio 2015 (via the solution)

Prerequisites

  • Boost headers (for Format)
  • SDL
  • SDL_Mixer
  • Visual Studio 2015

Linux

  • make opt
  • make debug
  • make coverage

Prerequisites

apt-get install build-essential libsdl2-dev libsdl2-mixer-dev libboost-dev

Running

src/invaders

Keyboard Controls

  • 3: Insert Coin
  • 1: 1P Start
  • 2: 2P Start
  • z: Left 1P
  • x: Right 1P
  • \: Fire 1P
  • ,: Left 2P
  • .: Right 2P
  • /: Fire 2P

XBox360 Controller

  • Left Bumper: Left
  • Right Bumper: Right
  • A Button: Fire