From b7f15d987577feb19dbf30a7dc36a1720ce705d7 Mon Sep 17 00:00:00 2001 From: Melon Bread Date: Sun, 12 May 2024 00:26:06 -0400 Subject: [PATCH] Added Shoot sound --- assets/sfx/shoot.wav | Bin 0 -> 1995 bytes assets/sfx/shoot.wav.import | 24 ++++++++++++++++++++++++ scenes/ship.tscn | 8 ++++++-- scripts/ship.gd | 1 + 4 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 assets/sfx/shoot.wav create mode 100644 assets/sfx/shoot.wav.import diff --git a/assets/sfx/shoot.wav b/assets/sfx/shoot.wav new file mode 100644 index 0000000000000000000000000000000000000000..0e4dcdbc5c5a1b2bb7510f664f296b49fec27a3b GIT binary patch literal 1995 zcmYk0*H&`v6@~qelEdT0TrZL04Y+WN>yoshz$f$dfgi@EHC(t zB<#T$>z!-PXD&8{NL>DHV`Cf3ht!AWfBj=)W8*LI{qx@&>;GRHf8S8b&GItv=yRjj zjQdDLp~pv!Tc1%vBYOtzLeR3ugp6O^O7u*_CCHvf^^{95ByXk0%{#wI#(*r{UL|(E z&xeH7$y?TIkkCl3;r9cu^B~b$GD_*hvq7&Kzc|<-va-`wK4?|4399$WOU7f6(4o_Q z|1sgz2`QVQ$rniOZ$qritX;get9gX&!t5g-vZ=Uu(F2%3lmn*uuSVF;&)dbYUBic% zH?vMTdam6eZ~7;_#~at7m`bpA$1fT0iJXa3KF^x~qvk=(#QeJ&ck0Ddys0yN%Uzij zY&<`=_78RGkjLv(t}&GV!6@T=q2Z0IS7^p+%82Ohr0}n;ATEt%iCm}@dfDsw?W3j zG5y17BY%CS717X=^kQYPX?7@>gYvRlOZ&`99tmftEx#XA9+Q$wB$(=8PI^uhJR;s$ z1D=%6tm2cf+9J|_&ibwUf=#qMH6Op-U!Up33=G@%4Y$kjOM{#P5l*VhUOnr#?F*u;CN-Ub%%xGmC!?g{F4C!{d=`y>hGsioe)=!Bp>w^2 zMZoJa(|N0$@R(HFn<$=ZwYs~$I0QVbD%L|fkLfGhfrx=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