2D SFML game "engine" of sorts.
Tilemap
: Tile-based map that reads a fileupdate()
method for entities like Unity- (Almost) all objects accept references to assets (fonts, textures etc)
- Scene system using interfaces
- Map tilesets can only contain a maximum of 255 tiles (about 16x16), because the map format currently only allocates 1 byte for the tile index
- Engine will crash with a segfault if a non-existent texture is loaded
- Implementation-inheritance based "component" system instead of object-composition (SFML uses implementation inheritance for Drawable and Transform, so for parity I decided to follow it for Collider) (Note: Collider won't be implemented for a while, sorry)
- Clone the repo
- Install the dependencies through
./install_deps
(Installs Cate and SFML) - Run
cate
in the project root - Find the executable in
out/
* Note: I personally haven't gotten this to work
Same as linux, except you have to cross-compile cate from a linux machine
./out/game --asset-dir="/path/to/asset/directory/"
- TheMilkies/Cate: The best C++ build system you'll ever have.
- Darren Mulholland/Args++: The simplest and easiest-to-use arg-parsing library out there by far.