1.2.1
This commit is contained in:
parent
b2c881a139
commit
9857fd82c1
3 changed files with 8 additions and 6 deletions
|
@ -344,27 +344,27 @@ function editUpdate()
|
||||||
end
|
end
|
||||||
|
|
||||||
if editor ~= "settings" then
|
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
|
if editor ~= "pos2Spin" then
|
||||||
position.x -= 1
|
position.x -= 1
|
||||||
else
|
else
|
||||||
armamount-=1
|
armamount-=1
|
||||||
if armamount < 1 then armamount = 1 end
|
if armamount < 1 then armamount = 1 end
|
||||||
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
|
if editor ~= "pos2Spin" then
|
||||||
position.x += 1
|
position.x += 1
|
||||||
else
|
else
|
||||||
armamount+=1
|
armamount+=1
|
||||||
end
|
end
|
||||||
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
|
if editor ~= "pos2Spin" then
|
||||||
position.y -= 1
|
position.y -= 1
|
||||||
else
|
else
|
||||||
armlength += 1
|
armlength += 1
|
||||||
end
|
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
|
if editor ~= "pos2Spin" then
|
||||||
position.y += 1
|
position.y += 1
|
||||||
else
|
else
|
||||||
|
|
|
@ -24,6 +24,8 @@ import "Editor"
|
||||||
mode = "menu"
|
mode = "menu"
|
||||||
map = "data/level.rocketbyte"
|
map = "data/level.rocketbyte"
|
||||||
|
|
||||||
|
--print('app.uuid=be9bb9d6c69c403b81871f3bd14c1f36')
|
||||||
|
|
||||||
function playdate.deviceDidUnlock()
|
function playdate.deviceDidUnlock()
|
||||||
if playdate.buttonIsPressed(playdate.kButtonDown) and playdate.buttonIsPressed(playdate.kButtonB) then
|
if playdate.buttonIsPressed(playdate.kButtonDown) and playdate.buttonIsPressed(playdate.kButtonB) then
|
||||||
mode = "partTest"
|
mode = "partTest"
|
||||||
|
|
|
@ -3,6 +3,6 @@ author=PossiblyAxolotl
|
||||||
description=Help a crew of rockets collect energy to get back home!
|
description=Help a crew of rockets collect energy to get back home!
|
||||||
bundleID=com.PossiblyAxolotl.RocketBytes
|
bundleID=com.PossiblyAxolotl.RocketBytes
|
||||||
launchSoundPath=launcher/rocketing
|
launchSoundPath=launcher/rocketing
|
||||||
version=1.2.0
|
version=1.2.1
|
||||||
buildNumber=10200
|
buildNumber=10201
|
||||||
imagePath=launcher
|
imagePath=launcher
|
Loading…
Reference in a new issue