A game library and wrapper around SFML
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Macoy Madson dbf8ce175a Switch to imgui docking branch 3 months ago
3rdParty Added OpenSimplex noise (implementation by Arthur Tombs) and noise wrapper to base 5 years ago
animation Initial commit 5 years ago
collision Initial commit 5 years ago
dataStructures Moved some useful code from Horizon into Base; made readme look prettier 5 years ago
dependencies Switch to imgui docking branch 3 months ago
docs Added Doxyfile for Doxygen generation; maybe other small stuff 5 years ago
ept Fixed strange bug in eptParser 5 years ago
example Added example project, updated readme 3 months ago
graphics Removed verbose CMake, fixed warnings, add polling 7 months ago
input Formatted input, added tap repeat code from 7drl2018 1 year ago
math Changed manhattan function to abs rather than square 5 years ago
network Fix Network typo, don't build pseudotarget 2 years ago
noise Added OpenSimplex noise (implementation by Arthur Tombs) and noise wrapper to base 5 years ago
profiler Initial commit 5 years ago
sound Initial commit 5 years ago
tests Added minimal dependencies to compile SFML 7 months ago
tileMap Initial commit 5 years ago
tiledImporter Initial commit 5 years ago
timer Initial commit 5 years ago
tools Removed crusty files 3 months ago
.clang-format Added dependencies, clang format 8 months ago
.gitignore Added example project, updated readme 3 months ago
.gitmodules Added dependencies, clang format 8 months ago
BuildDependencies_Debug.sh Removed verbose CMake, fixed warnings, add polling 7 months ago
BuildDependencies_Release.sh Removed verbose CMake, fixed warnings, add polling 7 months ago
Build_Debug.sh Added debug build .so selection for SFML 8 months ago
Build_Release.sh Added example project, updated readme 3 months ago
Jamfile Cleaned up Jamfile 3 months ago
Jamrules More SFML stuff 7 months ago
LICENSE Initial commit 5 years ago
ReadMe.org Fixed ReadMe.org repo URL 3 months ago
pseudotarget.cpp Added minimal Jam support 2 years ago

ReadMe.org

A simple game library and abstraction layer. It uses SFML to provide most functionality, then groups it together with other tools.

Setup

Clone repository

Clone and init submodules for dependencies:

git clone --recurse-submodules https://github.com/makuto/base2.0

If you didn't do submodules, run this:

git submodule update --init --recursive

Set up build system

Jam is used to build the project. Install Jam:

sudo apt install jam

Build dependencies

Currently, SFML relies on system installs for its dependencies:

sudo apt install libopenal-dev libvorbis-dev libflac-dev libglew

Build the rest of the dependencies from source:

./BuildDependencies_Release.sh

Use the *_Debug.sh scripts if you want debug symbols. Note that you need to use Debug/Release scripts in every case, otherwise the libraries will fail to link.

Build example project

The example project is a good starting point for a new project. Build it like so:

cd example
./Build_Release.sh

Run ./exampleBase to see the project.