diff --git a/Source/Player.lua b/Source/Player.lua index facd274..a0b059f 100644 --- a/Source/Player.lua +++ b/Source/Player.lua @@ -36,6 +36,8 @@ sprBigRocket:setCollidesWithGroups({2}) local resetButton = nil +local sfxDie = playdate.sound.sampleplayer.new("sfx/die") + local function die() deaths +=1 explode(sprRocket.x,sprRocket.y) @@ -43,6 +45,7 @@ local function die() velocity = {x=0,y=0} sprRocket:moveTo(startpos.x, startpos.y) miniExplode(startpos.x,startpos.y) + sfxDie:play() end function addPlayer(_x,_y,__x,__y) diff --git a/Source/Saws.lua b/Source/Saws.lua index 9d4c0b3..e63b74a 100644 --- a/Source/Saws.lua +++ b/Source/Saws.lua @@ -15,6 +15,8 @@ local blades = {} local spinblades = {} local fuels = {} +local sfxCollect = playdate.sound.sampleplayer.new("sfx/collect") + function loadBlades(_blades) for i = 1, #_blades,1 do local b = _blades[i] @@ -101,6 +103,7 @@ function updateSaws() fuels[fuel]:remove() energy += 1 table.remove(fuels,fuel) + sfxCollect:play() break end end diff --git a/Source/pdxinfo b/Source/pdxinfo index 290c19b..4407287 100644 --- a/Source/pdxinfo +++ b/Source/pdxinfo @@ -2,6 +2,6 @@ name=Rocket Bytes author=PossiblyAxolotl description=Help a crew of rockets collect energy to get back home! bundleID=com.PossiblyAxolotl.RocketBytes -version=DEV +version=DEV.1 buildNumber=1 imagePath=launcher \ No newline at end of file diff --git a/Source/sfx/collect.wav b/Source/sfx/collect.wav new file mode 100644 index 0000000..15ccb5f Binary files /dev/null and b/Source/sfx/collect.wav differ diff --git a/Source/sfx/die.wav b/Source/sfx/die.wav new file mode 100644 index 0000000..5d3ed73 Binary files /dev/null and b/Source/sfx/die.wav differ diff --git a/Source/sfx/song1.wav b/Source/sfx/song1.wav index eb5a92d..31d664f 100644 Binary files a/Source/sfx/song1.wav and b/Source/sfx/song1.wav differ diff --git a/Source/sfx/song2.wav b/Source/sfx/song2.wav index d1706e5..a8dc4e5 100644 Binary files a/Source/sfx/song2.wav and b/Source/sfx/song2.wav differ diff --git a/Source/sfx/song3.wav b/Source/sfx/song3.wav index 920cae2..4b0491d 100644 Binary files a/Source/sfx/song3.wav and b/Source/sfx/song3.wav differ diff --git a/Source/sfx/song4.wav b/Source/sfx/song4.wav index 5d38c68..7029543 100644 Binary files a/Source/sfx/song4.wav and b/Source/sfx/song4.wav differ diff --git a/Source/sfx/song5.wav b/Source/sfx/song5.wav index 9acfefe..13c9eef 100644 Binary files a/Source/sfx/song5.wav and b/Source/sfx/song5.wav differ diff --git a/Source/thankyous.txt b/Source/thankyous.txt index fe43641..a9c2f44 100644 --- a/Source/thankyous.txt +++ b/Source/thankyous.txt @@ -1,7 +1,4 @@ AndrewDavidJ - compatibility testing SHiLLySiT (PD discord) - compatibility testing PD DISCORD MEMBERS FOR SUGGESTIONS AND HELP -brainlet -Steph (stepepson) -Yadis -daniel (bepis™) \ No newline at end of file +You're all awesome \ No newline at end of file