https://github.com/ducaale/spaceship
pew pew
https://github.com/ducaale/spaceship
cpp sfml2 shooter-game
Last synced: about 1 month ago
JSON representation
pew pew
- Host: GitHub
- URL: https://github.com/ducaale/spaceship
- Owner: ducaale
- License: mit
- Created: 2017-02-17T18:48:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-07-09T07:30:52.000Z (almost 7 years ago)
- Last Synced: 2025-02-28T19:35:11.263Z (over 1 year ago)
- Topics: cpp, sfml2, shooter-game
- Language: C++
- Homepage:
- Size: 795 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Project Spaceship
[](https://www.youtube.com/watch?v=z9dGlHc2tec)
https://www.youtube.com/watch?v=z9dGlHc2tec
## Requirements
- SFML 2.4
- gcc (7.1 or greater) or clang (4.0 or greater)
### Linux
```
sudo apt-get install libsfml-dev
```
### Windows
1. you need to compile sfml 2.4 from source as static library you can check https://www.sfml-dev.org/tutorials/2.4/compile-with-cmake.php for instructions
2. change src/Makefile-windows `INCLUDE_PATHS` to point at path\to\sfml\include and `LIBRARY_PATHS` to point at path\to\sfml\lib
### Build
#### Linux
```
cd src
make clean
make -f Makefile-unix
```
### windows
```
cd src
make clean
make -f Makefile-windows
```
## Running
to run you just need to run `game.exe` or `./game`
## gameplay
your objective is to survive and defeat the boss
- use arrow keys for movement
- use x for shooting
- use z for boost