local gfx = playdate.graphics local disp = playdate.display import "CoreLibs/object" import "CoreLibs/graphics" import "CoreLibs/sprites" import "CoreLibs/math" import "Player" import "Tilemap" -- Music local song1 = playdate.sound.sampleplayer.new("sfx/song1") -- Font Setup local font = gfx.font.new("gfx/font") gfx.setFont(font) gfx.setBackgroundColor(gfx.kColorBlack) song1:play(0, 1) addTiles("levels/level1.rocketbyte") addPlayer(10,10) function playdate.update() updatePlayer() gfx.clear(gfx.kColorBlack) gfx.sprite.update() drawTiles() end