added some sound triggers and holes in the map

This commit is contained in:
2023-12-17 02:02:16 +11:00
parent 046c4f5afb
commit e1a867d2a9
99 changed files with 1375 additions and 239 deletions

View File

@ -1,8 +1,15 @@
[gd_scene load_steps=4 format=3 uid="uid://p2vwo8ivben6"]
[gd_scene load_steps=6 format=3 uid="uid://p2vwo8ivben6"]
[ext_resource type="PackedScene" uid="uid://di2wwvkv4wov1" path="res://Scenes/Projectiles/homing_projectile.tscn" id="1_fnn4i"]
[ext_resource type="Script" path="res://PCs/Universal/ClassCards/RocketLauncher/rocket_projectile.gd" id="2_86up0"]
[ext_resource type="Texture2D" uid="uid://bode8mfmr3r1h" path="res://PCs/Universal/ClassCards/RocketLauncher/rocket.png" id="3_aonkx"]
[ext_resource type="AudioStream" uid="uid://n0w2kj5j2x4e" path="res://PCs/Universal/ClassCards/RocketLauncher/shot1.wav" id="4_i5kff"]
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_4rf40"]
random_pitch = 1.1
streams_count = 1
stream_0/stream = ExtResource("4_i5kff")
stream_0/weight = 1.0
[node name="Rocket" instance=ExtResource("1_fnn4i")]
script = ExtResource("2_86up0")
@ -10,3 +17,6 @@ script = ExtResource("2_86up0")
[node name="Sprite3D" parent="." index="1"]
pixel_size = 0.013
texture = ExtResource("3_aonkx")
[node name="AudioStreamPlayer" parent="." index="2"]
stream = SubResource("AudioStreamRandomizer_4rf40")

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://n0w2kj5j2x4e"
path="res://.godot/imported/shot1.wav-18762deaf24e973b86a8e08bec34699a.sample"
[deps]
source_file="res://PCs/Universal/ClassCards/RocketLauncher/shot1.wav"
dest_files=["res://.godot/imported/shot1.wav-18762deaf24e973b86a8e08bec34699a.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

View File

@ -1,9 +1,16 @@
[gd_scene load_steps=5 format=3 uid="uid://b3q0f6w30nwsh"]
[gd_scene load_steps=7 format=3 uid="uid://b3q0f6w30nwsh"]
[ext_resource type="PackedScene" uid="uid://t0b32qb8eub2" path="res://Scenes/Towers/projectile_tower.tscn" id="1_su4lx"]
[ext_resource type="Script" path="res://PCs/Universal/ClassCards/RocketLauncher/tower_rocket_launcher.gd" id="2_33124"]
[ext_resource type="PackedScene" uid="uid://p2vwo8ivben6" path="res://PCs/Universal/ClassCards/RocketLauncher/rocket_projectile.tscn" id="3_8kvhb"]
[ext_resource type="ArrayMesh" uid="uid://dltxsh8ppubj3" path="res://PCs/Universal/ClassCards/RocketLauncher/rocket_launcher_model.res" id="4_1rycx"]
[ext_resource type="AudioStream" uid="uid://n0w2kj5j2x4e" path="res://PCs/Universal/ClassCards/RocketLauncher/shot1.wav" id="5_nd3i8"]
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_7k8gw"]
random_pitch = 1.1
streams_count = 1
stream_0/stream = ExtResource("5_nd3i8")
stream_0/weight = 1.0
[node name="RocketLauncherTower" instance=ExtResource("1_su4lx")]
script = ExtResource("2_33124")
@ -15,3 +22,6 @@ visible = false
[node name="Yaw" parent="." index="2"]
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0.667653, 0)
mesh = ExtResource("4_1rycx")
[node name="AudioStreamPlayer3D" parent="Yaw" index="0"]
stream = SubResource("AudioStreamRandomizer_7k8gw")

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=3 uid="uid://bdp7icdejayvr"]
[gd_scene load_steps=12 format=3 uid="uid://bdp7icdejayvr"]
[ext_resource type="PackedScene" uid="uid://bqdllitxbbpyp" path="res://Scenes/Weapons/projectile_weapon.tscn" id="1_gxaua"]
[ext_resource type="Script" path="res://PCs/Universal/ClassCards/RocketLauncher/weapon_rocket_launcher.gd" id="2_8x1tf"]
@ -7,6 +7,7 @@
[ext_resource type="Resource" uid="uid://d2yo07m2mp2mp" path="res://PCs/Universal/ClassCards/RocketLauncher/weapon_stats.tres" id="3_i1hxj"]
[ext_resource type="Texture2D" uid="uid://by1y15lm0bppe" path="res://PCs/Universal/ClassCards/RocketLauncher/rocket_launcher.png" id="4_iygkf"]
[ext_resource type="Texture2D" uid="uid://cc2umukpibmx1" path="res://PCs/Universal/ClassCards/RocketLauncher/target_list.png" id="6_jlv88"]
[ext_resource type="AudioStream" uid="uid://n0w2kj5j2x4e" path="res://PCs/Universal/ClassCards/RocketLauncher/shot1.wav" id="8_genbv"]
[sub_resource type="AtlasTexture" id="AtlasTexture_f4p4w"]
atlas = ExtResource("4_iygkf")
@ -16,6 +17,12 @@ region = Rect2(0, 0, 64, 64)
atlas = ExtResource("6_jlv88")
region = Rect2(0, 0, 128, 128)
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_5w2i3"]
random_pitch = 1.1
streams_count = 1
stream_0/stream = ExtResource("8_genbv")
stream_0/weight = 1.0
[node name="RocketLauncher" node_paths=PackedStringArray("targeting_raycast", "targeting_ui_rect") instance=ExtResource("1_gxaua")]
script = ExtResource("2_8x1tf")
target_icon_scene = ExtResource("3_2x5va")
@ -44,3 +51,6 @@ offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_ewxon")
[node name="AudioStreamPlayer3D" parent="." index="5"]
stream = SubResource("AudioStreamRandomizer_5w2i3")