compressed files and added mor esfx

This commit is contained in:
PossiblyAxolotl 2022-07-03 13:44:11 -06:00
parent 92c3ed3806
commit 9588aee5d6
11 changed files with 8 additions and 5 deletions

View file

@ -36,6 +36,8 @@ sprBigRocket:setCollidesWithGroups({2})
local resetButton = nil local resetButton = nil
local sfxDie = playdate.sound.sampleplayer.new("sfx/die")
local function die() local function die()
deaths +=1 deaths +=1
explode(sprRocket.x,sprRocket.y) explode(sprRocket.x,sprRocket.y)
@ -43,6 +45,7 @@ local function die()
velocity = {x=0,y=0} velocity = {x=0,y=0}
sprRocket:moveTo(startpos.x, startpos.y) sprRocket:moveTo(startpos.x, startpos.y)
miniExplode(startpos.x,startpos.y) miniExplode(startpos.x,startpos.y)
sfxDie:play()
end end
function addPlayer(_x,_y,__x,__y) function addPlayer(_x,_y,__x,__y)

View file

@ -15,6 +15,8 @@ local blades = {}
local spinblades = {} local spinblades = {}
local fuels = {} local fuels = {}
local sfxCollect = playdate.sound.sampleplayer.new("sfx/collect")
function loadBlades(_blades) function loadBlades(_blades)
for i = 1, #_blades,1 do for i = 1, #_blades,1 do
local b = _blades[i] local b = _blades[i]
@ -101,6 +103,7 @@ function updateSaws()
fuels[fuel]:remove() fuels[fuel]:remove()
energy += 1 energy += 1
table.remove(fuels,fuel) table.remove(fuels,fuel)
sfxCollect:play()
break break
end end
end end

View file

@ -2,6 +2,6 @@ name=Rocket Bytes
author=PossiblyAxolotl 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
version=DEV version=DEV.1
buildNumber=1 buildNumber=1
imagePath=launcher imagePath=launcher

BIN
Source/sfx/collect.wav Normal file

Binary file not shown.

BIN
Source/sfx/die.wav Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,4 @@
AndrewDavidJ - compatibility testing AndrewDavidJ - compatibility testing
SHiLLySiT (PD discord) - compatibility testing SHiLLySiT (PD discord) - compatibility testing
PD DISCORD MEMBERS FOR SUGGESTIONS AND HELP PD DISCORD MEMBERS FOR SUGGESTIONS AND HELP
brainlet You're all awesome
Steph (stepepson)
Yadis
daniel (bepis™)