Skip to content

maximAtanasov/ST

Repository files navigation

ST

CircleCI Build status

A 2D game engine project built with C++, SDL2 and Lua.

The engine supports the loading of assets in multiple formats, as well as a custom binary format. It also supports audio playback, basic multitheading and physics and the ability to program games fully in Lua.

Instructions for building the project:

This repository contains only engine code. Gamecode is private and must be added as a git submodule.

Linux:

Dependcies needed on Linux:

libSDL2 libSDL2_image libSDL2_mixer libSDL2_ttf

if you are on Ubuntu (or another Debian-based distro) you can install all dependencies like this:

sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev

Or if you are on Fedora:

sudo dnf install SDL2-devel SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel

You can also open the project with any IDE that supports CMake projects or run these commands on the command line:

cmake CMakeLists.txt && make all
cd ST_engine/gamedata
./ST_engine

Windows:

Building using the MSVC toolchain is supported on Windows. You can use Visual Studio 2017 to open the folder as a CMake Project (or alternatively CLion with Visual Studio as the selected toolchain). Select the ST_engine.exe target and run it. The game should compile and run without any additional dependencies.

Also, have a look at the Documentation.

About

A 2D platformer built in C++, SDL2 and Lua.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published