Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameMenu

A C++ game built with SFML.

Dependencies

  • CMake 3.16 or higher
  • A C++17 compatible compiler (g++ on Linux, MSVC or MinGW on Windows)
  • SFML 2.6.2

Linux config

Prerequisites

Because this project automatically downloads and builds SFML from source, Linux users must install a few native development packages (such as X11, OpenGL, FreeType, and Udev) before compiling.

On Ubuntu / Debian / Mint / WSL, install these packages by running the following command in your terminal:

sudo apt update && sudo apt install -y \
  libudev-dev \
  libopenal-dev \
  libvorbis-dev \
  libflac-dev \
  libgl1-mesa-dev \
  libegl1-mesa-dev \
  libxrandr-dev \
  libxcursor-dev \
  libxinerama-dev \
  libxi-dev \
  libfreetype-dev

Building

Make sure you are in the project root directory for these commands.

#intall cmake if not already installed
sudo apt install cmake

cmake -B build
cmake --build build

Running

./Game

Windows config

Building

# Install CMake from https://cmake.org/download/ if not already installed

cmake -B build
cmake --build build --config Release

Running

.\Release\Game.exe

About

Games managed with a menu

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages