Skip to content

Implementation of a Geometry Wars game using SFML and C++. Based on the Game Programming course COMP4300 by Dave Churchill

License

Notifications You must be signed in to change notification settings

Corentin-Mzr/Geometry-Wars-SFML

Repository files navigation

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 by Dave Churchill
Uses an implementation of an Entity-Component-System (ECS) architecture

Gameplay

In game gameplay

In game ability use

Pause menu screenshot

Pause menu

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:

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

git clone https://github.com/Corentin-Mzr/Geometry-Wars-SFML

Build the project

From the root folder, execute the following commands

cmake -B build
cmake --build build

Run the program

To run the program, launch it from the build/bin folder

cd build/bin
./Geometry-Wars-SFML.exe

Libraries

The following libraries have been used for this program

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

About

Implementation of a Geometry Wars game using SFML and C++. Based on the Game Programming course COMP4300 by Dave Churchill

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published