diff --git a/Source/Editor.lua b/Source/Editor.lua index 3a6cd46..95bf0d9 100644 --- a/Source/Editor.lua +++ b/Source/Editor.lua @@ -344,27 +344,27 @@ function editUpdate() end if editor ~= "settings" then - if playdate.buttonJustPressed(playdate.kButtonLeft) then + if playdate.buttonIsPressed(playdate.kButtonLeft) and positionLerp.x/16 < position.x +0.05 then if editor ~= "pos2Spin" then position.x -= 1 else armamount-=1 if armamount < 1 then armamount = 1 end end - elseif playdate.buttonJustPressed(playdate.kButtonRight) then + elseif playdate.buttonIsPressed(playdate.kButtonRight) and positionLerp.x/16 > position.x -0.05 then if editor ~= "pos2Spin" then position.x += 1 else armamount+=1 end end - if playdate.buttonJustPressed(playdate.kButtonUp) then + if playdate.buttonIsPressed(playdate.kButtonUp) and positionLerp.y/16 < position.y+0.05 then if editor ~= "pos2Spin" then position.y -= 1 else armlength += 1 end - elseif playdate.buttonJustPressed(playdate.kButtonDown) then + elseif playdate.buttonIsPressed(playdate.kButtonDown) and positionLerp.y/16 > position.y -0.05 then if editor ~= "pos2Spin" then position.y += 1 else diff --git a/Source/Main.lua b/Source/Main.lua index 6740c9e..8f72c0e 100644 --- a/Source/Main.lua +++ b/Source/Main.lua @@ -24,6 +24,8 @@ import "Editor" mode = "menu" map = "data/level.rocketbyte" +--print('app.uuid=be9bb9d6c69c403b81871f3bd14c1f36') + function playdate.deviceDidUnlock() if playdate.buttonIsPressed(playdate.kButtonDown) and playdate.buttonIsPressed(playdate.kButtonB) then mode = "partTest" diff --git a/Source/pdxinfo b/Source/pdxinfo index 9ffadc1..164c98c 100644 --- a/Source/pdxinfo +++ b/Source/pdxinfo @@ -3,6 +3,6 @@ author=PossiblyAxolotl description=Help a crew of rockets collect energy to get back home! bundleID=com.PossiblyAxolotl.RocketBytes launchSoundPath=launcher/rocketing -version=1.2.0 -buildNumber=10200 +version=1.2.1 +buildNumber=10201 imagePath=launcher \ No newline at end of file