Skip to content

neongpu/light-engine

Repository files navigation

Light Engine

This project is currently a work in progress, everything is subject to change until the first version is completed.

Light Engine is a simple, light-weight game engine based on SDL3 written in C++ to help ship games faster. Its goal is to handle things like scene management, UI elements, and bitmap fonts, so developers like you have more time to work on the actual game.

Getting Started

Requirements

Build

# Linux / Arch example
git clone --recurse-submodules https://github.com/neongpu/light-engine.git
cd ./light-engine

cd ./lib/vcpkg
./bootstrap-vcpkg.sh

cmake --preset clang
cmake --build --preset clang
# Windows example
git clone --recurse-submodules "https://github.com/neongpu/light-engine.git"
cd ./light-engine

cd ./lib/vcpkg
./bootstrap-vcpkg.bat

cmake --preset clang
cmake --build --preset clang

Usage

Include the engine headers in your project:

#include <light_engine/light_engine.hpp>

int main() {
    light::init();
}

Link against the library:

target_link_libraries(your_game PRIVATE light_engine SDL3::SDL3)

Roadmap

  • Scene management system
  • UI elements (buttons, panels, text)
  • Bitmap font rendering
  • Example games / demos

License

MIT License

About

Light-weight game engine written in C++ based on SDL3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors