8 lines
209 B
Lua
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)
|