StevePro7 / SpaceRaiders

Space Raiders video game built for Window PC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpaceRaiders

Space Raiders video game built for Window PC

RELEASE

Saturday, 6th January 2018

TOOLS
  • C/C++ v4.0.30319
  • Visual Studio 2015
  • gtest unit testing
SOURCE CODE

https://github.com/SteveProXNA/SpaceRaiders

CONFIGURATION

Contains all inputs (see below). File: "config.txt"

NB: if this file is not present then default hardcoded values will be used.
IMPORTANT: there is no validation on data in this file (if entries invalid)!

Default configuration values (if no file present)
[GAME_MODE] = 1; // 0=manual 1=automatic
[FPS_CONFIG] = 50; // 50fps
[SCREEN_WIDTH] = 80; // number columns
[SCREEN_HEIGHT] = 28; // number rows
[PLAYERSHIP_HEIGHT] = 25; // player row
[PLAYERSHIP_SPEED] = 16; // player speed left/right
[PLAYERSHIP_DELAY] = 100; // delay btwn laser shots
[WAVESSHIP_START] = 4; // how high waves starts
[WAVESSHIP_SIZE] = 5; // how many alien in wave
[ALIENSHIP_COUNT] = 20; // how high alien to kill
[ALIENSHIP_START] = 8; // how high alien starts
[ALIENSHIP_DEPTH] = 4; // spread alien heights
[ALIENSHIP_SPEED] = 12; // alien speed left/right
[PLAYERLASER_COUNT] = 4; // number of player lasers
[PLAYERLASER_SPEED] = 10; // speed of player lasers
[ALIENLASER_COUNT] = 10; // number of alien lasers
[ALIENLASER_SPEED] = 10; // speed of alien lasers
[EXPLOSION_DELAY] = 100; // duration of explosion
[ENERGY_TIMER] = 60; // how long game plays
[START_SCREEN] = 0; // Only used for testing!

CONTACT

About

Space Raiders video game built for Window PC

License:GNU General Public License v3.0


Languages

Language:C++ 98.9%Language:C 1.1%