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.
![]() |
3 years ago | |
---|---|---|
3rdParty | 8 years ago | |
animation | 8 years ago | |
collision | 8 years ago | |
dataStructures | 8 years ago | |
dependencies | 3 years ago | |
docs | 8 years ago | |
ept | 8 years ago | |
example | 3 years ago | |
graphics | 3 years ago | |
input | 4 years ago | |
math | 8 years ago | |
network | 5 years ago | |
noise | 8 years ago | |
profiler | 8 years ago | |
sound | 8 years ago | |
tests | 3 years ago | |
tileMap | 8 years ago | |
tiledImporter | 8 years ago | |
timer | 8 years ago | |
tools | 3 years ago | |
.clang-format | 3 years ago | |
.gitignore | 3 years ago | |
.gitmodules | 3 years ago | |
BuildDependencies_Debug.sh | 3 years ago | |
BuildDependencies_Release.sh | 3 years ago | |
Build_Debug.sh | 3 years ago | |
Build_Release.sh | 3 years ago | |
Jamfile | 3 years ago | |
Jamrules | 3 years ago | |
LICENSE | 8 years ago | |
ReadMe.org | 3 years ago | |
pseudotarget.cpp | 5 years ago |
ReadMe.org
#+TITLE:Base2.0 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.