redesign music and drone selection

This commit is contained in:
2024-06-12 01:22:12 +03:00
parent 43512c90c7
commit 025880c358
21 changed files with 198 additions and 15 deletions

View File

@@ -0,0 +1,13 @@
local pd <const> = playdate
local gfx <const> = Graphics
local fontSimple = Graphics.font.new('assets/fonts/peridot_7')
class('DroneCard').extends(gfx.sprite)
function DroneCard:init(x, y, drone)
self:setImage(gfx.image.new('assets/images/card_' .. drone.id .. '.png'))
self:setCenter(0, 0)
self:moveTo(x, y)
self:add()
end