1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-21 23:34:18 +00:00

Improve sounds

This commit is contained in:
Steffo 2023-10-14 03:15:48 +02:00
parent d77032c967
commit bc5fd6fa96
Signed by: steffo
GPG key ID: 2A24051445686895
6 changed files with 19 additions and 6 deletions

View file

@ -119,6 +119,7 @@ debug_color = Color(0, 0.701961, 0.188235, 0.419608)
stream = ExtResource("9_1aocf") stream = ExtResource("9_1aocf")
volume_db = -8.0 volume_db = -8.0
pitch_scale = 2.0 pitch_scale = 2.0
max_polyphony = 8
[node name="WorkingTimer" parent="." node_paths=PackedStringArray("working_sound") instance=ExtResource("10_72f5c")] [node name="WorkingTimer" parent="." node_paths=PackedStringArray("working_sound") instance=ExtResource("10_72f5c")]
working_sound = NodePath("SoundWorking") working_sound = NodePath("SoundWorking")

View file

@ -132,6 +132,7 @@ debug_color = Color(0, 0.701961, 0.188235, 0.419608)
stream = ExtResource("10_p3n1d") stream = ExtResource("10_p3n1d")
volume_db = -8.0 volume_db = -8.0
pitch_scale = 2.0 pitch_scale = 2.0
max_polyphony = 8
[node name="WorkingTimer" parent="." node_paths=PackedStringArray("working_sound") instance=ExtResource("11_svms0")] [node name="WorkingTimer" parent="." node_paths=PackedStringArray("working_sound") instance=ExtResource("11_svms0")]
working_sound = NodePath("SoundWorking") working_sound = NodePath("SoundWorking")
@ -141,10 +142,9 @@ position = Vector2(0, 25)
stream = ExtResource("10_hy4ck") stream = ExtResource("10_hy4ck")
pitch_scale = 1.08 pitch_scale = 1.08
[node name="Spawner" parent="." node_paths=PackedStringArray("target", "sound_complete") instance=ExtResource("8_yel0k")] [node name="Spawner" parent="." node_paths=PackedStringArray("sound_complete") instance=ExtResource("8_yel0k")]
position = Vector2(0, 10) position = Vector2(0, 10)
scene = ExtResource("10_ry7ak") scene = ExtResource("10_ry7ak")
target = NodePath("")
buffer_cap = 1 buffer_cap = 1
spawn_rect = Rect2(-8, 0, 16, 4) spawn_rect = Rect2(-8, 0, 16, 4)
spawn_rotation_degrees_min = 80.0 spawn_rotation_degrees_min = 80.0
@ -162,10 +162,9 @@ debug_color = Color(0.701961, 0, 0, 0.419608)
position = Vector2(0, 2) position = Vector2(0, 2)
stream = ExtResource("11_601lg") stream = ExtResource("11_601lg")
[node name="Spawner2" parent="." node_paths=PackedStringArray("target", "sound_complete") instance=ExtResource("8_yel0k")] [node name="Spawner2" parent="." node_paths=PackedStringArray("sound_complete") instance=ExtResource("8_yel0k")]
position = Vector2(0, 10) position = Vector2(0, 10)
scene = ExtResource("11_ekhmr") scene = ExtResource("11_ekhmr")
target = NodePath("")
buffer_cap = 1 buffer_cap = 1
spawn_rect = Rect2(-8, 0, 16, 4) spawn_rect = Rect2(-8, 0, 16, 4)
spawn_rotation_degrees_min = 80.0 spawn_rotation_degrees_min = 80.0

View file

@ -129,6 +129,7 @@ debug_color = Color(0, 0.701961, 0.188235, 0.419608)
stream = ExtResource("10_n1vu0") stream = ExtResource("10_n1vu0")
volume_db = -8.0 volume_db = -8.0
pitch_scale = 2.0 pitch_scale = 2.0
max_polyphony = 8
[node name="WorkingTimer" parent="." node_paths=PackedStringArray("working_sound") instance=ExtResource("11_tm4f6")] [node name="WorkingTimer" parent="." node_paths=PackedStringArray("working_sound") instance=ExtResource("11_tm4f6")]
working_sound = NodePath("SoundWorking") working_sound = NodePath("SoundWorking")

View file

@ -106,6 +106,7 @@ debug_color = Color(0, 0.701961, 0.188235, 0.419608)
stream = ExtResource("8_0jhl8") stream = ExtResource("8_0jhl8")
volume_db = -8.0 volume_db = -8.0
pitch_scale = 2.0 pitch_scale = 2.0
max_polyphony = 8
[node name="WorkingTimer" parent="." node_paths=PackedStringArray("working_sound") instance=ExtResource("9_8xv87")] [node name="WorkingTimer" parent="." node_paths=PackedStringArray("working_sound") instance=ExtResource("9_8xv87")]
working_sound = NodePath("SoundWorking") working_sound = NodePath("SoundWorking")

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=25 format=3 uid="uid://c3rxmcwa5nqng"] [gd_scene load_steps=26 format=3 uid="uid://c3rxmcwa5nqng"]
[ext_resource type="Script" path="res://game/game.gd" id="1_i3ly0"] [ext_resource type="Script" path="res://game/game.gd" id="1_i3ly0"]
[ext_resource type="PackedScene" uid="uid://bllsprv8orpn4" path="res://bottle/bottle.tscn" id="1_y7o2l"] [ext_resource type="PackedScene" uid="uid://bllsprv8orpn4" path="res://bottle/bottle.tscn" id="1_y7o2l"]
@ -19,6 +19,7 @@
[ext_resource type="PackedScene" uid="uid://du3005kwybbrh" path="res://entity/coin_gold/coin_gold.tscn" id="15_trrh7"] [ext_resource type="PackedScene" uid="uid://du3005kwybbrh" path="res://entity/coin_gold/coin_gold.tscn" id="15_trrh7"]
[ext_resource type="PackedScene" uid="uid://qtk4tm6l367w" path="res://interface/ghost/ghost.tscn" id="16_8vhx6"] [ext_resource type="PackedScene" uid="uid://qtk4tm6l367w" path="res://interface/ghost/ghost.tscn" id="16_8vhx6"]
[ext_resource type="PackedScene" uid="uid://bawprh8kluilq" path="res://entity/gem/gem.tscn" id="16_20aff"] [ext_resource type="PackedScene" uid="uid://bawprh8kluilq" path="res://entity/gem/gem.tscn" id="16_20aff"]
[ext_resource type="AudioStream" uid="uid://cvrbqm56njwoe" path="res://audio/conversione/risucchio.wav" id="19_rvt56"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rh35r"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_rh35r"]
size = Vector2(240, 384) size = Vector2(240, 384)
@ -153,8 +154,9 @@ debug_color = Color(0, 0.6, 0.701961, 0)
[node name="ActionTimer" parent="Spawners/CheatGemSpawner" instance=ExtResource("13_y2562")] [node name="ActionTimer" parent="Spawners/CheatGemSpawner" instance=ExtResource("13_y2562")]
action = "cheat_spawn_gem" action = "cheat_spawn_gem"
[node name="StoreCollector" parent="." instance=ExtResource("9_evdhb")] [node name="StoreCollector" parent="." node_paths=PackedStringArray("sound_absorb") instance=ExtResource("9_evdhb")]
position = Vector2(135, 0) position = Vector2(135, 0)
sound_absorb = NodePath("SoundAbsorb")
metadata/_edit_lock_ = true metadata/_edit_lock_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="StoreCollector"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StoreCollector"]
@ -209,6 +211,11 @@ text = "250"
horizontal_alignment = 1 horizontal_alignment = 1
vertical_alignment = 1 vertical_alignment = 1
[node name="SoundAbsorb" type="AudioStreamPlayer2D" parent="StoreCollector"]
stream = ExtResource("19_rvt56")
pitch_scale = 1.4
max_polyphony = 8
[node name="UniversalCollectorTop" parent="." instance=ExtResource("9_7op48")] [node name="UniversalCollectorTop" parent="." instance=ExtResource("9_7op48")]
position = Vector2(135, -270) position = Vector2(135, -270)
metadata/_edit_lock_ = true metadata/_edit_lock_ = true

View file

@ -25,6 +25,10 @@ window/size/mode=2
window/stretch/aspect="keep_height" window/stretch/aspect="keep_height"
window/handheld/orientation=1 window/handheld/orientation=1
[editor]
movie_writer/movie_file="/store/Documents/Workspaces/Steffo99/ld54/build/movie.avi"
[input] [input]
gravity_up={ gravity_up={