27 lines
422 B
Lua
27 lines
422 B
Lua
module('spritebatch')
|
|
module('camera')
|
|
module('color')
|
|
module('ui')
|
|
module('screen')
|
|
module('time')
|
|
module('glm')
|
|
|
|
screenSetBackground(colorBlack())
|
|
camera = cameraCreate(CAMERA_PROJECTION_TYPE_ORTHOGRAPHIC)
|
|
|
|
function sceneDispose()
|
|
end
|
|
|
|
function sceneUpdate()
|
|
end
|
|
|
|
function sceneRender()
|
|
-- UI
|
|
cameraPushMatrix(camera)
|
|
camera.bottom = screenGetHeight()
|
|
camera.right = screenGetWidth()
|
|
|
|
|
|
|
|
cameraPopMatrix()
|
|
end |