mirror of
https://github.com/XyronLabs/Luna.git
synced 2026-11-01 20:31:25 +01:00
Create simple visual sketches in Lua using SFML
- C++ 66.6%
- Lua 26.8%
- Makefile 4.5%
- Shell 1.8%
- Batchfile 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .vscode | ||
| build | ||
| include/luna | ||
| resources | ||
| scripts | ||
| source/luna | ||
| test | ||
| .gitignore | ||
| Makefile | ||
| NMakefile | ||
| README.md | ||
Luna
What is Luna?
- Luna is a simple game engine programmed in C++ and Lua which lets you create sketches and games in Lua
Features
- Program in Lua, easy for non-programmers, kids, etc.
- Multiple options for programming: Simple or Object oriented
- Tutorials avaliable in multiple languages (soon)
- Cross-platform: Windows, Ubuntu/Debian and MacOS builds are released for each version
Tutorials
- Check out the wiki here
Building Luna yourself (Linux and macOS)
Building Luna
-
You can install
libsfml-devin some distributions like Debian/Ubuntu in order not to build SFML yourself -
Debug build:
make d -
Release build:
make r -
Standalone build:
make s- Standalone is the same as release but the resources folder must be in the same directory as the executable itself, this is useful for portable installations
Building Lua
- Make sure you have
curlandlibreadline-devinstalled in your system - Open a terminal in the scripts folder
chmod +xthe script calledlua_setup.sh- Execute the script
./lua_setup.sh
Building SFML
- Refer to SFML and Linux