Skip to content

side scroller SDL3 arcade game inspired by Tempest and Defender(1981)

Notifications You must be signed in to change notification settings

PoliEcho/Vector_blow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1a9691a · · Aug 28, 2025

History

50 Commits
Aug 28, 2025
Aug 26, 2025
Aug 26, 2025
Aug 28, 2025
Aug 23, 2025
Aug 28, 2025
Aug 28, 2025

Repository files navigation

Vector blow

Build on macOS
simple side scrolling sci-fi arcade game inspired by Tempest, Defender(1981) and otherss

How to play

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))

how to get the game

either go to release page of this repo HERE and download the game or build it see instructions below

how to build

you will need:

c++ compiler (g++ recomended) (C++23 compatable)
pkg-configg
makee
CMakee
gitt

how to get dependencies on diferent systems

Ubuntu/Debian and Derivatives

sudo apt update &∓& sudo apt upgrade

sudo apt install build-essential gcc g++ cmake git pkg-config makeke

Fedora/RHEL/CentOS and Derivatives

sudo 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 makee

Arch Linux/Manjaro and Derivatives

sudo pacman -Syyu
sudo pacman -S base-devel gcc cmake git pkg-config make

openSUSE/SUSE

sudo zypper refresh &∓& sudo zypper update

sudo zypper install -t pattern devel_basis
sudo zypper install gcc gcc-c++ cmake git pkg-config makeake

Gentoo Linux

emerge --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 support

Alpine Linux

apk update &∓& apk upgrade
apk add build-base gcc g++ cmake git pkgconf makee

FreeBSD

sudo 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 clean

Note: build instructions may be bit diferent for FreeBSD

macOS

# 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-configfig

to compile

this should work on any Unix-like system as well as WSL

run:

mkdir build

cd build
cmake ..
make -j
j
cd ..

to run

run:

# has to be run from project root
./build/bin/Vector_bloww

Gameplay

shooting

press 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

enemies

Note

enemies give increasing number of points based on there size and type

enemy sprite

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, ....

power ups

Note

powerups generaly last 15s

visual type efect
2x 2x increase score multiplier by 2
boom boom multiply projectile damage by 3
3x 3x increase score multiplier by 3
health health restores half of health
beam beam devides fire cooldown by 5 and disables weapon overheat
5x 5x increase score multiplier by 5

About

side scroller SDL3 arcade game inspired by Tempest and Defender(1981)

Resources

Stars

Watchers

Forks

Packages

No packages published