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 преди 4 месеца
3rdParty Added OpenSimplex noise (implementation by Arthur Tombs) and noise wrapper to base преди 5 години
animation Initial commit преди 5 години
collision Initial commit преди 5 години
dataStructures Moved some useful code from Horizon into Base; made readme look prettier преди 5 години
dependencies Switch to imgui docking branch преди 4 месеца
docs Added Doxyfile for Doxygen generation; maybe other small stuff преди 5 години
ept Fixed strange bug in eptParser преди 5 години
example Added example project, updated readme преди 4 месеца
graphics Removed verbose CMake, fixed warnings, add polling преди 8 месеца
input Formatted input, added tap repeat code from 7drl2018 преди 1 година
math Changed manhattan function to abs rather than square преди 5 години
network Fix Network typo, don't build pseudotarget преди 2 години
noise Added OpenSimplex noise (implementation by Arthur Tombs) and noise wrapper to base преди 5 години
profiler Initial commit преди 5 години
sound Initial commit преди 5 години
tests Added minimal dependencies to compile SFML преди 8 месеца
tileMap Initial commit преди 5 години
tiledImporter Initial commit преди 5 години
timer Initial commit преди 5 години
tools Removed crusty files преди 4 месеца
.clang-format Added dependencies, clang format преди 9 месеца
.gitignore Added example project, updated readme преди 4 месеца
.gitmodules Added dependencies, clang format преди 9 месеца
BuildDependencies_Debug.sh Removed verbose CMake, fixed warnings, add polling преди 8 месеца
BuildDependencies_Release.sh Removed verbose CMake, fixed warnings, add polling преди 8 месеца
Build_Debug.sh Added debug build .so selection for SFML преди 9 месеца
Build_Release.sh Added example project, updated readme преди 4 месеца
Jamfile Cleaned up Jamfile преди 4 месеца
Jamrules More SFML stuff преди 8 месеца
LICENSE Initial commit преди 5 години
ReadMe.org Fixed ReadMe.org repo URL преди 4 месеца
pseudotarget.cpp Added minimal Jam support преди 2 години

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.