Create simple visual sketches in Lua using SFML
  • C++ 66.6%
  • Lua 26.8%
  • Makefile 4.5%
  • Shell 1.8%
  • Batchfile 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2018-06-12 19:38:26 +02:00
.vscode Add test target 2018-06-09 23:17:29 +02:00
build Temporary 2018-04-06 17:40:31 +02:00
include/luna Rename frameRate to framerate 2018-06-11 22:46:50 +02:00
resources Update vscode version to 0.9! 2018-06-12 19:38:26 +02:00
scripts Lua setup for macOS 2018-04-16 13:57:35 +02:00
source/luna Rename frameRate to framerate 2018-06-11 22:46:50 +02:00
test Better draw test, use mouse moved and update the fps line every 60 updates 2018-06-11 22:03:48 +02:00
.gitignore Windows is building! 2018-03-29 17:20:19 +02:00
Makefile Fixed deb makefile rule 2018-04-16 16:24:43 +02:00
NMakefile Add test target 2018-06-09 23:17:29 +02:00
README.md Update readme 2018-03-29 21:58:04 +02:00

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-dev in 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

  1. Make sure you have curl and libreadline-dev installed in your system
  2. Open a terminal in the scripts folder
  3. chmod +x the script called lua_setup.sh
  4. Execute the script ./lua_setup.sh

Building SFML