From f9bdd46250272e2b246580b7f4c4dc71ac34e871 Mon Sep 17 00:00:00 2001 From: Moe Poi ~ <moe@chocola.dev> Date: Sat, 21 Oct 2023 23:21:06 +0700 Subject: [PATCH] Add sound effect to railgun 1-3 --- assets/audio/railgun.mp3 | Bin 0 -> 8351 bytes assets/audio/railgun.mp3.import | 19 +++++++++++++++++++ scenes/towers/railgun_1.tscn | 7 ++++++- scenes/towers/railgun_2.tscn | 7 +++++-- scenes/towers/railgun_3.tscn | 7 +++++-- 5 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 assets/audio/railgun.mp3 create mode 100644 assets/audio/railgun.mp3.import diff --git a/assets/audio/railgun.mp3 b/assets/audio/railgun.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..1e1b107ed86eaec7315eea4c2814f02b32ae2d73 GIT binary patch literal 8351 zcmeI1cRX8vxW^NOAc$C@RP3!p&1w;9?-{Fh&8pVcA@;6OTg}>|wxYuxwMxuV)M%?l zt=g?z)bHNk{p<dJ@BO@9$#e2P=e+WKo}AZnp7RavBu)YFKM3vUYJYYJ#n}rC03fmf zEdP@Hzhw7sh5k#$|5o3>wDxb|{-v|;(pHz#xGf?mDfy6~={!UJYydzM!Hz$!0RVnE z&x4Ord+B_~|7zh*zMTC)AfTQ06W|w;;UUM$oVP%$EH*_r1c1M&z#Rm{T=;Ko+XVow zJ;C7)S}w}Csj7Doe--fH4&NP|ZJz-@=Q-TS;=9w8o%CP+%svG?KX=k>jLOEhzp$)| zd2f!d?`u-kczM=-LWi<Mg038qqrf)_Sl~spZEh@t0mGq4(d6yxR48b$`kz~2#p97( zHtgyh{{G<<G_kC9$JG#RK6;+i`{U8^qNzSs*&h!9ctQYxHwHlPMubgC764%GIm`8~ zlpgNUygx2u{w%4JQ48^Ro4CPEf81dKkE-rL%gb(%b+uyUSyrnD+nWp3xhsBGD>E0b zdgiW*`n@~-!Z*LkZ!dYD%a-4dxNU^ymg$G-3T1&sSJY6`6tq+Lxwnnh*(ouD0TenP zHH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{4Xf;UhftcaL7rk*g?kS(uuVA&liZNxqrRXkuZq;ABP2fsK8|Ej`g*0_0beXbak ziCK0f99;IVEb3aySNH%KW{O`3;G%ydJOo$Yhr=D0c9@KnZcWyVT6E!#E8GSK*XMD# zzS7b%|Gwff5fKsb_4af1n+l`a+q=ik2=BUf)tQQmOX{@6fR?m`g>9&|VKKtiV*T-b zZnPAQ$yBbT3+|*!K{R&vy@Sdo2mscy1poPRKD+==&)yJc(@QG=KtLAaM4y(H++ZCN z5|T&^fCVVFE0B|2-QftROd|8OTvNq_(ok|s_-yV6sXkWN9Ryjk@M!DPfFAHOB!Lu( vShe+QI<y@miy3a9c|B;zh~?0UqRE5-IS#7<MdSbcBP=Lt@c;V1P=Wsd)knv4 literal 0 HcmV?d00001 diff --git a/assets/audio/railgun.mp3.import b/assets/audio/railgun.mp3.import new file mode 100644 index 0000000..987fc26 --- /dev/null +++ b/assets/audio/railgun.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://0c62t5vtlwh6" +path="res://.godot/imported/railgun.mp3-e6fbed75457f3f96c7373b9c121c03e6.mp3str" + +[deps] + +source_file="res://assets/audio/railgun.mp3" +dest_files=["res://.godot/imported/railgun.mp3-e6fbed75457f3f96c7373b9c121c03e6.mp3str"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/scenes/towers/railgun_1.tscn b/scenes/towers/railgun_1.tscn index 4ffbee1..0a46229 100644 --- a/scenes/towers/railgun_1.tscn +++ b/scenes/towers/railgun_1.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=13 format=3 uid="uid://biyhuyx177dw8"] +[gd_scene load_steps=14 format=3 uid="uid://biyhuyx177dw8"] [ext_resource type="Script" path="res://scripts/towers/tower.gd" id="1_8623k"] +[ext_resource type="AudioStream" uid="uid://0c62t5vtlwh6" path="res://assets/audio/railgun.mp3" id="3_ixlr3"] [ext_resource type="Texture2D" uid="uid://c02ebkmjpxium" path="res://assets/spritesheets/towers/railgun-1.png" id="3_vo8au"] [sub_resource type="AtlasTexture" id="AtlasTexture_60mof"] @@ -99,5 +100,9 @@ rotation = 1.5708 scale = Vector2(0.3, 0.3) show_percentage = false +[node name="Shoot" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource("3_ixlr3") +volume_db = -20.0 + [connection signal="body_entered" from="Area2D" to="." method="_on_body_entered"] [connection signal="body_exited" from="Area2D" to="." method="_on_body_exited"] diff --git a/scenes/towers/railgun_2.tscn b/scenes/towers/railgun_2.tscn index 63a7d55..9ed8c80 100644 --- a/scenes/towers/railgun_2.tscn +++ b/scenes/towers/railgun_2.tscn @@ -1,8 +1,8 @@ [gd_scene load_steps=14 format=3 uid="uid://ctnlfsnc2gl03"] [ext_resource type="Script" path="res://scripts/towers/tower.gd" id="1_rnv08"] -[ext_resource type="PackedScene" uid="uid://dqa80ptcc8p70" path="res://scenes/bullets/bullet_1.tscn" id="2_fshi3"] [ext_resource type="Texture2D" uid="uid://b0dawx5rlcyo3" path="res://assets/spritesheets/towers/railgun-2.png" id="3_aeasn"] +[ext_resource type="AudioStream" uid="uid://0c62t5vtlwh6" path="res://assets/audio/railgun.mp3" id="3_x4pda"] [sub_resource type="AtlasTexture" id="AtlasTexture_fss1a"] atlas = ExtResource("3_aeasn") @@ -73,7 +73,6 @@ radius = 138.293 [node name="railgun-2" type="Node2D" groups=["Towers"]] script = ExtResource("1_rnv08") -bullet = ExtResource("2_fshi3") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] position = Vector2(-1, 0) @@ -100,5 +99,9 @@ rotation = 1.5708 scale = Vector2(0.3, 0.3) show_percentage = false +[node name="Shoot" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource("3_x4pda") +volume_db = -20.0 + [connection signal="body_entered" from="Area2D" to="." method="_on_body_entered"] [connection signal="body_exited" from="Area2D" to="." method="_on_body_exited"] diff --git a/scenes/towers/railgun_3.tscn b/scenes/towers/railgun_3.tscn index eedc0e5..43382a9 100644 --- a/scenes/towers/railgun_3.tscn +++ b/scenes/towers/railgun_3.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=14 format=3 uid="uid://cfelbpijg3dp0"] [ext_resource type="Script" path="res://scripts/towers/tower.gd" id="1_3s425"] -[ext_resource type="PackedScene" uid="uid://dqa80ptcc8p70" path="res://scenes/bullets/bullet_1.tscn" id="2_af8yd"] +[ext_resource type="AudioStream" uid="uid://0c62t5vtlwh6" path="res://assets/audio/railgun.mp3" id="3_f25ix"] [ext_resource type="Texture2D" uid="uid://dk3toqlc7igld" path="res://assets/spritesheets/towers/railgun-3.png" id="3_g5gi2"] [sub_resource type="AtlasTexture" id="AtlasTexture_g3wst"] @@ -73,7 +73,6 @@ radius = 138.293 [node name="railgun-3" type="Node2D" groups=["Towers"]] script = ExtResource("1_3s425") -bullet = ExtResource("2_af8yd") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] position = Vector2(-1, 0) @@ -100,5 +99,9 @@ rotation = 1.5708 scale = Vector2(0.3, 0.3) show_percentage = false +[node name="Shoot" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource("3_f25ix") +volume_db = -20.0 + [connection signal="body_entered" from="Area2D" to="." method="_on_body_entered"] [connection signal="body_exited" from="Area2D" to="." method="_on_body_exited"]