Skip to content

EllMoorby/SimpleSandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Sandbox with C++

A small project which implements a sandbox using SFML in C++.

Note

On Linux VMs (WSL2 etc.) the program may hang, closing then relaunching the program may fix it

drawing

Building and running on your own machine

Prerequisites

You will need:

  • CMake (≥ 3.28)
  • Git
  • C++ compiler (GCC ≥ 9, Clang ≥ 10, or MSVC ≥ 2019)

And SFML dependencies: Linux (Ubuntu/Debian)

sudo apt install libopenal-dev libx11-dev libxrandr-dev libfreetype6-dev libgl1-mesa-dev libudev-dev

macOS (Homebrew)

brew install openal-soft freetype

Windows (vcpkg)

vcpkg install openal-soft freetype

Build

# Clone the repository
git clone https://github.com/EllMoorby/SimpleSandbox.git
cd SimpleSandbox

# Build using cmake
cmake -B build && cmake --build build

Run

Linux/macOS

./build/bin/SimpleSandbox

Windows

.\build\bin\SimpleSandbox.exe

Controls

Left mouse places sand

About

A simple sandbox in SMFL

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors