This commit is contained in:
PossiblyAxolotl 2022-08-09 14:57:59 -06:00
parent b2c881a139
commit 9857fd82c1
3 changed files with 8 additions and 6 deletions

View file

@ -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

View file

@ -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"

View file

@ -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