https://github.com/corentin-mzr/geometry-wars-sfml
Implementation of a Geometry Wars game using SFML and C++. Based on the Game Programming course COMP4300 by Dave Churchill
https://github.com/corentin-mzr/geometry-wars-sfml
cpp game geometry-wars sfml sfml-game
Last synced: about 2 months ago
JSON representation
Implementation of a Geometry Wars game using SFML and C++. Based on the Game Programming course COMP4300 by Dave Churchill
- Host: GitHub
- URL: https://github.com/corentin-mzr/geometry-wars-sfml
- Owner: Corentin-Mzr
- License: mit
- Created: 2025-02-27T16:09:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-27T22:44:56.000Z (over 1 year ago)
- Last Synced: 2025-02-27T22:56:43.314Z (over 1 year ago)
- Topics: cpp, game, geometry-wars, sfml, sfml-game
- Language: C++
- Homepage:
- Size: 4.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Geometry Wars SFML C++
## Description
Implementation of a Geometry Wars game-like using SFML and C++
Based on [**COMP4300 - Game Programming - Lecture 07 - Assignment 2**](https://www.youtube.com/watch?v=-ugbLQlw_VM) by Dave Churchill
Uses an implementation of an Entity-Component-System (ECS) architecture
### Gameplay


### Pause menu screenshot

## Installation
### Prerequisites
- C++/C compiler (gcc, g++, cl, clang)
- CMake 3.28 or newer
For Linux/Ubuntu, you also need to install the following dependencies:
```bash
sudo apt-get update
sudo apt-get install -y libx11-dev \
libxcursor-dev \
libxi-dev \
libxrandr-dev \
libudev-dev \
libgl1-mesa-dev \
libfreetype6-dev \
libjpeg-dev \
libopenal-dev \
libflac-dev \
libvorbis-dev \
libxcb1-dev \
libxcb-image0-dev \
libxcb-randr0-dev \
libxcb-xtest0-dev
```
### Clone the repository
```bash
git clone https://github.com/Corentin-Mzr/Geometry-Wars-SFML
```
### Build the project
From the root folder, execute the following commands
```bash
cmake -B build
cmake --build build
```
### Run the program
To run the program, launch it from the build/bin folder
```bash
cd build/bin
./Geometry-Wars-SFML.exe
```
## Libraries
The following libraries have been used for this program
- [**SFML 3.0**](https://github.com/SFML/SFML)
- [**toml11**](https://github.com/ToruNiina/toml11)
## Controls
- WASD / ZQSD to move
- Mouse to aim
- Left click to shoot
- Right click to use ability (Berserk mode: Unlimited shoot for 10s | 30s cooldown)
- P to pause the game
- Escape to close the window
## License
This program is under the [**MIT License**](LICENSE.md)