A game library and wrapper around SFML
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
Macoy Madson dbf8ce175a Switch to imgui docking branch 4 månader sedan
3rdParty Added OpenSimplex noise (implementation by Arthur Tombs) and noise wrapper to base 5 år sedan
animation Initial commit 5 år sedan
collision Initial commit 5 år sedan
dataStructures Moved some useful code from Horizon into Base; made readme look prettier 5 år sedan
dependencies Switch to imgui docking branch 4 månader sedan
docs Added Doxyfile for Doxygen generation; maybe other small stuff 5 år sedan
ept Fixed strange bug in eptParser 5 år sedan
example Added example project, updated readme 5 månader sedan
graphics Removed verbose CMake, fixed warnings, add polling 8 månader sedan
input Formatted input, added tap repeat code from 7drl2018 1 år sedan
math Changed manhattan function to abs rather than square 5 år sedan
network Fix Network typo, don't build pseudotarget 2 år sedan
noise Added OpenSimplex noise (implementation by Arthur Tombs) and noise wrapper to base 5 år sedan
profiler Initial commit 5 år sedan
sound Initial commit 5 år sedan
tests Added minimal dependencies to compile SFML 8 månader sedan
tileMap Initial commit 5 år sedan
tiledImporter Initial commit 5 år sedan
timer Initial commit 5 år sedan
tools Removed crusty files 5 månader sedan
.clang-format Added dependencies, clang format 9 månader sedan
.gitignore Added example project, updated readme 5 månader sedan
.gitmodules Added dependencies, clang format 9 månader sedan
BuildDependencies_Debug.sh Removed verbose CMake, fixed warnings, add polling 8 månader sedan
BuildDependencies_Release.sh Removed verbose CMake, fixed warnings, add polling 8 månader sedan
Build_Debug.sh Added debug build .so selection for SFML 9 månader sedan
Build_Release.sh Added example project, updated readme 5 månader sedan
Jamfile Cleaned up Jamfile 5 månader sedan
Jamrules More SFML stuff 8 månader sedan
LICENSE Initial commit 5 år sedan
ReadMe.org Fixed ReadMe.org repo URL 4 månader sedan
pseudotarget.cpp Added minimal Jam support 2 år sedan

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.