Skip to content
Protovision edited this page Feb 15, 2016 · 10 revisions

moonbase executes zip files that contain lua scripts. moonbase exports lua functions, allowing you to: render images, render text, play sounds, and detect mouse and keyboard events.

As of now the following platforms are supported: Linux, Mac

Quick start in 5 easy steps (assuming it's already compiled)

  1. Create a file named main.lua

  2. Edit main.lua to contain:

moonbase.video.setTitle( "BSOD" )
moonbase.video.setDrawColor( "0x0000ffff" )
moonbase.video.clear( )
  1. Create a zip file named game.zip

  2. Put main.lua into game.zip

  3. Run moonbase executable

See the rest of the wiki for documentation on the moonbase engine and library.

Clone this wiki locally