Implement charge meter.
This commit is contained in:
parent
b222ce3d67
commit
e045eec163
4 changed files with 78 additions and 3 deletions
|
@ -13,13 +13,18 @@ import "kani"
|
|||
local gfx <const> = playdate.graphics
|
||||
|
||||
local player = nil
|
||||
local ui = nil
|
||||
|
||||
function setup()
|
||||
player = Kani()
|
||||
ui = UI()
|
||||
player = Kani(ui)
|
||||
player:moveTo(16, 120)
|
||||
player:addInputHandlers()
|
||||
player:add()
|
||||
ui:add()
|
||||
|
||||
makeWalls()
|
||||
|
||||
drawBackground()
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue