Space Raiders video game built for Window PC
Saturday, 6th January 2018
- C/C++ v4.0.30319
- Visual Studio 2015
- gtest unit testing
https://github.com/SteveProXNA/SpaceRaiders
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!
- Blog: http://steveproxna.blogspot.com
- Email: steven_boland@hotmail.com
- Twitter: @SteveProXNA