mirror of https://github.com/makuto/base2.0
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.
![]() |
2 years ago | |
---|---|---|
3rdParty | 7 years ago | |
animation | 7 years ago | |
collision | 7 years ago | |
dataStructures | 7 years ago | |
dependencies | 2 years ago | |
docs | 7 years ago | |
ept | 7 years ago | |
example | 2 years ago | |
graphics | 2 years ago | |
input | 3 years ago | |
math | 7 years ago | |
network | 4 years ago | |
noise | 7 years ago | |
profiler | 7 years ago | |
sound | 7 years ago | |
tests | 2 years ago | |
tileMap | 7 years ago | |
tiledImporter | 7 years ago | |
timer | 7 years ago | |
tools | 2 years ago | |
.clang-format | 2 years ago | |
.gitignore | 2 years ago | |
.gitmodules | 2 years ago | |
BuildDependencies_Debug.sh | 2 years ago | |
BuildDependencies_Release.sh | 2 years ago | |
Build_Debug.sh | 2 years ago | |
Build_Release.sh | 2 years ago | |
Jamfile | 2 years ago | |
Jamrules | 2 years ago | |
LICENSE | 7 years ago | |
ReadMe.org | 2 years ago | |
pseudotarget.cpp | 4 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.