buildat/share/init.lua
2014-09-16 15:27:57 +03:00

8 lines
209 B
Lua

print("foo")
require "Polycode/Core"
scene = Scene(Scene.SCENE_2D)
scene:getActiveCamera():setOrthoSize(640, 480)
label = SceneLabel("Hello from Lua!", 32)
label:setPosition(-50, -50, 0)
scene:addChild(label)