18 lines
309 B
Lua
18 lines
309 B
Lua
function _init()
|
|
playercontroler_init()
|
|
worldtiles = {}
|
|
end
|
|
|
|
function _update()
|
|
if (btnp(5)) compute_effect_array(worldtiles)
|
|
playercontroler_update()
|
|
end
|
|
|
|
function _draw()
|
|
cls(0)
|
|
map(0, 0, 0, 8, 64, 64)
|
|
camera(0,0)
|
|
draw_array(worldtiles)
|
|
draw_ressource_bar()
|
|
playercontroler_draw()
|
|
end |