Skip to content

A 2D space shoot em up game featuring player controlled spaceship, enemies, and asteroids

Notifications You must be signed in to change notification settings

Xiaoyu42tan/Space-Shootemup

Repository files navigation

A 2D Space Shoot 'em Up

This project was made with C++ and used SFML for graphics

Featuring: Player controlled spaceship, enemy spaceships, and asteroids that you can collide with

Main Menu:

Main menu

Gameplay:

Gameplay1

I died:

Gameplay2

Death screen:

Death screen

HOW TO COMPILE

There is a Makefile included in the folder, so if you have Make installed just run "make" on the folder:

  1. Navigate to the folder in command prompt or bash
  2. Type "make" and hit enter

Otherwise, you can run the Makefile commands individually (you need to have a C++ compiler installed: https://code.visualstudio.com/docs/cpp/config-mingw):

  1. Navigate to the folder in command prompt or bash

Enter the following commmands:

  1. g++ -I src/include -c mainkian.cpp -static-libgcc -static-libstdc++
  2. g++ mainkian.o -o main -L src/lib -l sfml-graphics -l sfml-window -l sfml-system

This should generate a main.exe file, this is the game executable. Have fun!

About

A 2D space shoot em up game featuring player controlled spaceship, enemies, and asteroids

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages