map select

This commit is contained in:
2025-04-11 01:25:01 +02:00
parent 19fe3e3d13
commit 95b2c825db
14 changed files with 416 additions and 19 deletions

View File

@@ -0,0 +1,11 @@
local pd <const> = playdate
local gfx <const> = Graphics
class('MapCard').extends(gfx.sprite)
function MapCard:init(x, y, map)
self:setImage(gfx.image.new('assets/images/maps/map_' .. map.id .. '.png'))
self:setCenter(0, 0)
self:moveTo(x, y)
self:add()
end