Skip to content

Instantly share code, notes, and snippets.

@tido64
tido64 / Libraries.md
Last active May 13, 2024 10:06
List of libraries suitable for game engines
@tido64
tido64 / HelloWorld.lua
Last active August 29, 2015 14:20
"Hello World" in Rainbow
function init()
local label = rainbow.label("Hello World!")
label:set_alignment('c')
local font = rainbow.font("OpenSans-Light.ttf", 60)
label:set_font(font)
local screen = rainbow.platform.screen
local center_x = screen.width * 0.5
local center_y = screen.height * 0.5