client_file/boot.lua, testmodules/test1: Tidy up

This commit is contained in:
Perttu Ahola 2014-09-19 01:10:54 +03:00
parent 0414bc8aaf
commit 8da0f11df9
2 changed files with 10 additions and 14 deletions

View File

@ -1,12 +0,0 @@
-- Buildat: client_lua/boot.lua
local log = buildat:Logger("client_lua")
log:info("boot.lua loaded")
-- Temporary test
require "Polycode/Core"
scene = Scene(Scene.SCENE_2D)
scene:getActiveCamera():setOrthoSize(640, 480)
label = SceneLabel("Hello from remote module!", 32)
label:setPosition(0, -100, 0)
scene:addChild(label)

View File

@ -1,4 +1,12 @@
-- Buildat: test1/boot.lua
-- Buildat: test1/client_lua/init.lua
local log = buildat:Logger("test1")
log:info("boot.lua loaded")
log:info("test1/init.lua loaded")
-- Temporary test
require "Polycode/Core"
scene = Scene(Scene.SCENE_2D)
scene:getActiveCamera():setOrthoSize(640, 480)
label = SceneLabel("Hello from remote module!", 32)
label:setPosition(0, -100, 0)
scene:addChild(label)