Home - Protovision/moonbase GitHub Wiki
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)
-
Create a file named main.lua
-
Edit main.lua to contain:
moonbase.video.setTitle( "BSOD" )
moonbase.video.setDrawColor( "0x0000ffff" )
moonbase.video.clear( )
-
Create a zip file named game.zip
-
Put main.lua into game.zip
-
Run moonbase executable
See the rest of the wiki for documentation on the moonbase engine and library.