simple side scrolling sci-fi arcade game inspired by Tempest, Defender(1981) and otherss
press SPACE to start
than SPACE to shoot but caution you weapon may overheatt
WASD or ARROW to movee
you health is showed on top by red barr
on the end screen wait for few seconds and than press SPACE to play again or Q to quit (your highscore is saved to file automaticly))
either go to release page of this repo HERE and download the game or build it see instructions below
c++ compiler (g++ recomended) (C++23 compatable)
pkg-configg
makee
CMakee
gitt
sudo apt update &∓& sudo apt upgrade
sudo apt install build-essential gcc g++ cmake git pkg-config makekesudo dnf update
sudo dnf install gcc gcc-c++ cmake git pkg-config make
# For older systems using yum
sudo yum groupinstall "Development Tools"
sudo yum install gcc gcc-c++ cmake git pkg-config makeesudo pacman -Syyu
sudo pacman -S base-devel gcc cmake git pkg-config make
sudo zypper refresh &∓& sudo zypper update
sudo zypper install -t pattern devel_basis
sudo zypper install gcc gcc-c++ cmake git pkg-config makeakeemerge --sync
emerge --ask sys-devel/gcc sys-devel/binutils dev-vcs/git \
dev-build/cmake virtual/pkgconfig sys-devel/make
e
# For GCC with specific C++ standard support
emerge --ask =sys-devel/gcc-13.2.1 # For C++23 supportapk update &∓& apk upgrade
apk add build-base gcc g++ cmake git pkgconf makeesudo pkg update &∓& sudo pkg upgrade
sudo pkg install gcc cmake git pkgconf gmake
# Using ports system (alternative method)
sudo portsnap fetch update
cd /usr/ports/lang/gcc &∓& sudo make install clean
cd /usr/ports/devel/cmake &∓& sudo make install clean
cd /usr/ports/devel/git &∓& sudo make install cleanNote: build instructions may be bit diferent for FreeBSD
# Install Homebrew first (if not already installed)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
brew install git pkg-configfigrun:
mkdir build
cd build
cmake ..
make -j
j
cd ..run:
# has to be run from project root
./build/bin/Vector_blowwpress SPACE to shoot
while you shoot overheat meter in bottom left starts to fill up
if it fills up you have to wait to reach half before you can shoot again
n
Note
enemies and powerups are sorted in order of likeliness of apperence so for example you will see RANDOM ememy 3 times more likely than ACE, same with power ups
Note
enemies give increasing number of points based on there size and type
| type | behavior |
|---|---|
| RANDOM | randomly moves and fires forward speed is 2x in comparison to other directions |
| FLYER | on average faster firerate, moves up and down on screen and shoot providing cover fire for other units |
| GUNNER | this enemy will lock on you ships signature and always stays drectly in front of the player and randomly fire |
| ACE | this enemy will always fire if it sees the player in front of it, also it will attempt to doge player's shots, if not evading player's projectiles, it will attempt to get into fire position |
| BOSS | spawns on every multiple of 5000 points e.g. 5000,10000... Likes to wait until all other ships in the area are destroyed then attacks once he reaches his fireing position, he start using his deflector, but there is hope enemy engineers cheaped out on power supply for the deflector so the pulse itegnity is compromised maybe you could use this to survive his attacks, boss health is allways increased e.g. 1000, 2000, 3000, .... |
Note
powerups generaly last 15s