accidentally fucked the repo

This commit is contained in:
PossiblyAxolotl 2022-06-27 00:21:44 -06:00
parent 67e923af85
commit 32758d89fb
10 changed files with 16 additions and 7580 deletions

View file

@ -43,6 +43,7 @@ local imgPlayerExit = gfx.image.new("gfx/bigrocket")
local imgExitMen = gfx.image.new("gfx/leave")
local imgSaw = gfx.imagetable.new("gfx/sawblades")
local imgTarget = gfx.image.new("gfx/target")
local imgGrid = gfx.image.new("gfx/grid")
assert(imgFloppy)
assert(imgAdd)
assert(imgMus)
@ -56,6 +57,7 @@ assert(imgPlayer)
assert(imgPlayerExit)
assert(imgSaw)
assert(imgTarget)
assert(imgGrid)
local animFloppy = gfx.animation.loop.new(100, imgFloppy)
@ -338,6 +340,7 @@ function editUpdate()
end
if editor ~= "view" then
imgGrid:drawTiled(position.x*16,position.y*16,400,240)
imgCursor:draw((position.x + 11) * 16, (position.y + 7) * 16)
end
--[[

View file

@ -238,8 +238,18 @@ function menuButtonPress(name, index)
song:stop()
song:load("sfx/song1")
song:play(0)
local m = {}
--barpos = 160
--logopos = -112
m[0],m[1], m[2], m[3], m[4], m[5] = "extras", "MENU", "MUSIC BOX", "END CUTSCENE", "START CUTSCENE", "LEVEL SELECT"
if playdate.file.exists("bonusLevels.rocketbytes") then
m[6] = "EXTRA LEVELS"
end
createMenu(m)
else
createMenu(mainmenu)
end
elseif name == "MUSIC BOX" then
logopos = -112
barpos = 160

View file

@ -5,10 +5,11 @@ function updateBox()
local change, aChange = playdate.getCrankChange()
if paused then
if change<0 then change = 0 end
song:setRate(change*0.03)
else
playbackRate += change*0.001
if playbackRate < 0.1 then playbackRate = 0.1 end
if playbackRate < 0.2 then playbackRate = 0.2 end
song:setRate(playbackRate)
end
if playdate.buttonJustPressed(playdate.kButtonA) then

File diff suppressed because it is too large Load diff

BIN
Source/gfx/grid.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.