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 ee8739ebfa Change permissions 2 years ago
3rdParty Added OpenSimplex noise (implementation by Arthur Tombs) and noise wrapper to base 6 years ago
animation Initial commit 7 years ago
collision Initial commit 7 years ago
dataStructures Moved some useful code from Horizon into Base; made readme look prettier 6 years ago
dependencies Got it building with dependencies 2 years ago
docs Added Doxyfile for Doxygen generation; maybe other small stuff 6 years ago
ept Fixed strange bug in eptParser 7 years ago
graphics Formatted, added window settings 2 years ago
input Formatted input, added tap repeat code from 7drl2018 2 years ago
math Changed manhattan function to abs rather than square 6 years ago
network Fix Network typo, don't build pseudotarget 4 years ago
noise Added OpenSimplex noise (implementation by Arthur Tombs) and noise wrapper to base 6 years ago
profiler Initial commit 7 years ago
sound Initial commit 7 years ago
tests Added imgui test integration 2 years ago
tileMap Initial commit 7 years ago
tiledImporter Initial commit 7 years ago
timer Initial commit 7 years ago
tools Added pixels to graphics (sprite with changeable pixels) 7 years ago
.clang-format Added dependencies, clang format 2 years ago
.gitignore Added the ability to change Text opacity 4 years ago
.gitmodules Added dependencies, clang format 2 years ago
BuildDependencies_Debug.sh Added debug build script 2 years ago
BuildDependencies_Release.sh Got it building with dependencies 2 years ago
Jamfile Got it building with dependencies 2 years ago
Jamrules Got it building with dependencies 2 years ago
LICENSE Initial commit 7 years ago
README.md Update website link 3 years ago
README.md~ Initial commit 7 years ago
makefile Moved some useful code from Horizon into Base; made readme look prettier 6 years ago
pseudotarget.cpp Added minimal Jam support 4 years ago
toLink.txt Initial commit 7 years ago

README.md

Base2.0

A simple game library and abstraction layer for SFML 2.2

Setup

You need SFML 2.0 installed if you have base2.0, or SFML 1.6 if you have base.

It's then really easy from there; just make make tools sudo make install sudo make installTools

If you want to clean up: sudo make clean sudo make cleanTools

Installing the library will result in the following:

  • /usr/include/base2.0 will contain all of the header files. To use them: #include <base2.0/module/module.hpp>
  • /usr/lib will contain libbase2.0.a or libbase.a . Use these when linking like so: g++ -o "myProj" myProj.o -lbase2.0 [or -lbase] -lsfml-audio -lsfml-graphics -lsfml-window -lsfml-system
  • The Tile Map Editor (tileEditor) binary will be added to /usr/bin
  • "tle.desktop" will be added to /usr/share/applications, which adds the Tile Map Editor to the Ubuntu Dash

Cleaning will undo all of these changes.

Basic Use (installed)

#include <base[or base2.0]/module/module.hpp>

To link: g++ -o "myProj" myProj.o -lbase [or -lbase2.0] -lsfml-audio -lsfml-graphics -lsfml-window -lsfml-system

Basic Use (not installed)

#include "/path/to/base/module/module.hpp"

To link: g++ -o "myProj" myProj.o "/path/to/base/lib/base.a" -lsfml-audio -lsfml-graphics -lsfml-window -lsfml-system

About

Base/Base2.0 are my game libraries and SFML abstraction layers. I've built it with the goal of a simple interface and maximum multimedia library independence. You are free to use Base in any way you want (but don't sell it).

Questions? Email me: macoymadson@gmail.com

Check out my website.