0xc0dec / solo

Small C++ game engine with Lua scripting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

"I have no idea how to write game engines"-style game engine. A playground for my gamedev experiments.

1

Features

  • Unity-inspired component system.
  • Loading of several popular mesh and texture formats, also TTF fonts.
  • Bullet physics.
  • Vulkan/OpenGL 4 rendering backend.
  • Same API for both Lua and C++.
  • Dear ImGui UI.

Building

  • Install dependencies:
    • Python2 (Python3 might work, but not tested). Needed for building some engine dependencies.
    • Vulkan SDK.
  • cd build.
  • cmake -G "Visual Studio 16 2019" -A x64 .. (or other generator depending on the OS/IDE).
  • Build the generated project.

Running Lua demos

Using scripts

  • cd build
  • run-lua-demo1-debug-gl.cmd or other similar script.

or manually

  • cd build/bin/<Debug|Release>
  • Solr.exe ../../../src/demos/lua/demo<N>/demo_<gl|vk>.lua where N is the demo number

About

Small C++ game engine with Lua scripting

License:zlib License


Languages

Language:C++ 83.2%Language:Lua 15.5%Language:CMake 0.7%Language:C 0.3%Language:Python 0.2%Language:Batchfile 0.1%