mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-21 23:34:18 +00:00
MORE SOUNDS
This commit is contained in:
parent
cdb7ae2816
commit
8f499b9e1f
74 changed files with 918 additions and 52 deletions
|
@ -135,3 +135,10 @@ https://freesound.org/people/PrimeJunt/sounds/135637/
|
||||||
This work is licensed under the Attribution 4.0 License.
|
This work is licensed under the Attribution 4.0 License.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>S: <a href="https://freesound.org/people/forrisday/sounds/214509/">Coins .mp3</a> by <a href="https://freesound.org/people/forrisday/">forrisday</a> | License: Attribution 4.0</li>
|
||||||
|
<li>S: <a href="https://freesound.org/people/luongthenguyen1/sounds/463431/">Glass and metal.wav</a> by <a href="https://freesound.org/people/luongthenguyen1/">luongthenguyen1</a> | License: Creative Commons 0</li>
|
||||||
|
<li>S: <a href="https://freesound.org/people/steaq/sounds/387232/">Badge Coin Win</a> by <a href="https://freesound.org/people/steaq/">steaq</a> | License: Creative Commons 0</li>
|
||||||
|
<li>S: <a href="https://freesound.org/people/aerror/sounds/350750/">stonehit1.wav</a> by <a href="https://freesound.org/people/aerror/">aerror</a> | License: Creative Commons 0</li>
|
||||||
|
</ul>
|
||||||
|
|
BIN
audio/coin/coal_coal_1.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coal_coal_1.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coal_coal_1.ogg.import
Normal file
19
audio/coin/coal_coal_1.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://x3wsub0qrc0t"
|
||||||
|
path="res://.godot/imported/coal_coal_1.ogg-39bde2ac62a0e5486c0c66f54edf60c0.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coal_coal_1.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coal_coal_1.ogg-39bde2ac62a0e5486c0c66f54edf60c0.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coal_coal_2.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coal_coal_2.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coal_coal_2.ogg.import
Normal file
19
audio/coin/coal_coal_2.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://cuv1xn1ng4paf"
|
||||||
|
path="res://.godot/imported/coal_coal_2.ogg-68982ee616de8ed6857c7ed150bbd72d.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coal_coal_2.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coal_coal_2.ogg-68982ee616de8ed6857c7ed150bbd72d.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
13
audio/coin/coal_coal_randomizer.tres
Normal file
13
audio/coin/coal_coal_randomizer.tres
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[gd_resource type="AudioStreamRandomizer" load_steps=3 format=3 uid="uid://bwo63mo5jge76"]
|
||||||
|
|
||||||
|
[ext_resource type="AudioStream" uid="uid://x3wsub0qrc0t" path="res://audio/coin/coal_coal_1.ogg" id="1_8h4n0"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://cuv1xn1ng4paf" path="res://audio/coin/coal_coal_2.ogg" id="2_42tuj"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
streams_count = 2
|
||||||
|
playback_mode = 1
|
||||||
|
random_pitch = 1.2
|
||||||
|
stream_0/stream = ExtResource("1_8h4n0")
|
||||||
|
stream_0/weight = 1.0
|
||||||
|
stream_1/stream = ExtResource("2_42tuj")
|
||||||
|
stream_1/weight = 1.0
|
BIN
audio/coin/coin_coin_1.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_coin_1.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_coin_1.ogg.import
Normal file
19
audio/coin/coin_coin_1.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://86d7joh71cyh"
|
||||||
|
path="res://.godot/imported/coin_coin_1.ogg-b54940e9ec1f60d35d7af7f5da55ba95.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_coin_1.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_coin_1.ogg-b54940e9ec1f60d35d7af7f5da55ba95.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_coin_10.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_coin_10.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_coin_10.ogg.import
Normal file
19
audio/coin/coin_coin_10.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://47spaxvsgkaw"
|
||||||
|
path="res://.godot/imported/coin_coin_10.ogg-22b4d46174f62733ad7b04fced65a88f.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_coin_10.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_coin_10.ogg-22b4d46174f62733ad7b04fced65a88f.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_coin_11.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_coin_11.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_coin_11.ogg.import
Normal file
19
audio/coin/coin_coin_11.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://yvxafurlvltc"
|
||||||
|
path="res://.godot/imported/coin_coin_11.ogg-8023509e3b98a7dea1655c6a8cfad8fb.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_coin_11.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_coin_11.ogg-8023509e3b98a7dea1655c6a8cfad8fb.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_coin_12.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_coin_12.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_coin_12.ogg.import
Normal file
19
audio/coin/coin_coin_12.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://5mhsngw8nptc"
|
||||||
|
path="res://.godot/imported/coin_coin_12.ogg-921e7fbd07c70037ebb0cfa16705cb68.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_coin_12.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_coin_12.ogg-921e7fbd07c70037ebb0cfa16705cb68.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_coin_2.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_coin_2.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_coin_2.ogg.import
Normal file
19
audio/coin/coin_coin_2.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://cw17cmyevvef0"
|
||||||
|
path="res://.godot/imported/coin_coin_2.ogg-0003883c77662f496dba3b413821a4db.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_coin_2.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_coin_2.ogg-0003883c77662f496dba3b413821a4db.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_coin_3.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_coin_3.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_coin_3.ogg.import
Normal file
19
audio/coin/coin_coin_3.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://66s04c0nom3n"
|
||||||
|
path="res://.godot/imported/coin_coin_3.ogg-257bf7aef7cde45c039d3c7cc8e64b68.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_coin_3.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_coin_3.ogg-257bf7aef7cde45c039d3c7cc8e64b68.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_coin_4.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_coin_4.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_coin_4.ogg.import
Normal file
19
audio/coin/coin_coin_4.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://cuokeuw46lymr"
|
||||||
|
path="res://.godot/imported/coin_coin_4.ogg-03b673a6af7ed1b7223adf68ce0bf170.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_coin_4.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_coin_4.ogg-03b673a6af7ed1b7223adf68ce0bf170.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_coin_5.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_coin_5.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_coin_5.ogg.import
Normal file
19
audio/coin/coin_coin_5.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://dl6p5ltl2sdjt"
|
||||||
|
path="res://.godot/imported/coin_coin_5.ogg-ec7ffce479d826ae86433e056d2d83ae.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_coin_5.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_coin_5.ogg-ec7ffce479d826ae86433e056d2d83ae.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_coin_6.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_coin_6.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_coin_6.ogg.import
Normal file
19
audio/coin/coin_coin_6.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://bansb8l4e7c6s"
|
||||||
|
path="res://.godot/imported/coin_coin_6.ogg-1b66e049f5fe8613208397f68d28df99.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_coin_6.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_coin_6.ogg-1b66e049f5fe8613208397f68d28df99.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_coin_7.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_coin_7.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_coin_7.ogg.import
Normal file
19
audio/coin/coin_coin_7.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://ccg2i60y5ca1l"
|
||||||
|
path="res://.godot/imported/coin_coin_7.ogg-7d44b7ac6682061e09137e5ac640fb46.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_coin_7.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_coin_7.ogg-7d44b7ac6682061e09137e5ac640fb46.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_coin_8.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_coin_8.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_coin_8.ogg.import
Normal file
19
audio/coin/coin_coin_8.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://ckfos4qkb3jka"
|
||||||
|
path="res://.godot/imported/coin_coin_8.ogg-1c0bd0616a0b4a945e0160b31760067a.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_coin_8.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_coin_8.ogg-1c0bd0616a0b4a945e0160b31760067a.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_coin_9.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_coin_9.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_coin_9.ogg.import
Normal file
19
audio/coin/coin_coin_9.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://dodb5q7xostps"
|
||||||
|
path="res://.godot/imported/coin_coin_9.ogg-5a720c3b50b551a850abc1cafebe0654.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_coin_9.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_coin_9.ogg-5a720c3b50b551a850abc1cafebe0654.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
41
audio/coin/coin_coin_randomizer.tres
Normal file
41
audio/coin/coin_coin_randomizer.tres
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
[gd_resource type="AudioStreamRandomizer" load_steps=13 format=3 uid="uid://d3knuq0635ie0"]
|
||||||
|
|
||||||
|
[ext_resource type="AudioStream" uid="uid://86d7joh71cyh" path="res://audio/coin/coin_coin_1.ogg" id="1_80twt"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://cw17cmyevvef0" path="res://audio/coin/coin_coin_2.ogg" id="2_ltjfu"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://yvxafurlvltc" path="res://audio/coin/coin_coin_11.ogg" id="3_ccv8c"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://66s04c0nom3n" path="res://audio/coin/coin_coin_3.ogg" id="3_ngqjr"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://cuokeuw46lymr" path="res://audio/coin/coin_coin_4.ogg" id="4_kpwtc"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://5mhsngw8nptc" path="res://audio/coin/coin_coin_12.ogg" id="4_n8pxi"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://dl6p5ltl2sdjt" path="res://audio/coin/coin_coin_5.ogg" id="7_wtdoh"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://bansb8l4e7c6s" path="res://audio/coin/coin_coin_6.ogg" id="8_2pwgc"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://ccg2i60y5ca1l" path="res://audio/coin/coin_coin_7.ogg" id="9_ysfba"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://ckfos4qkb3jka" path="res://audio/coin/coin_coin_8.ogg" id="10_ciir8"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://dodb5q7xostps" path="res://audio/coin/coin_coin_9.ogg" id="11_h1i27"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://47spaxvsgkaw" path="res://audio/coin/coin_coin_10.ogg" id="12_qn5dh"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
streams_count = 12
|
||||||
|
stream_0/stream = ExtResource("1_80twt")
|
||||||
|
stream_0/weight = 1.0
|
||||||
|
stream_1/stream = ExtResource("2_ltjfu")
|
||||||
|
stream_1/weight = 1.0
|
||||||
|
stream_2/stream = ExtResource("3_ngqjr")
|
||||||
|
stream_2/weight = 1.0
|
||||||
|
stream_3/stream = ExtResource("4_kpwtc")
|
||||||
|
stream_3/weight = 1.0
|
||||||
|
stream_4/stream = ExtResource("7_wtdoh")
|
||||||
|
stream_4/weight = 1.0
|
||||||
|
stream_5/stream = ExtResource("8_2pwgc")
|
||||||
|
stream_5/weight = 1.0
|
||||||
|
stream_6/stream = ExtResource("9_ysfba")
|
||||||
|
stream_6/weight = 1.0
|
||||||
|
stream_7/stream = ExtResource("10_ciir8")
|
||||||
|
stream_7/weight = 1.0
|
||||||
|
stream_8/stream = ExtResource("11_h1i27")
|
||||||
|
stream_8/weight = 1.0
|
||||||
|
stream_9/stream = ExtResource("12_qn5dh")
|
||||||
|
stream_9/weight = 1.0
|
||||||
|
stream_10/stream = ExtResource("3_ccv8c")
|
||||||
|
stream_10/weight = 1.0
|
||||||
|
stream_11/stream = ExtResource("4_n8pxi")
|
||||||
|
stream_11/weight = 1.0
|
BIN
audio/coin/coin_glass_1.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_glass_1.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_glass_1.ogg.import
Normal file
19
audio/coin/coin_glass_1.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://b6dagdavmnowf"
|
||||||
|
path="res://.godot/imported/coin_glass_1.ogg-8c79ad52c8fc0d3438d2f60d615c832f.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_glass_1.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_glass_1.ogg-8c79ad52c8fc0d3438d2f60d615c832f.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_glass_2.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_glass_2.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_glass_2.ogg.import
Normal file
19
audio/coin/coin_glass_2.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://dta8g132mvpts"
|
||||||
|
path="res://.godot/imported/coin_glass_2.ogg-c552ae0efeec1870f35b2b46377f0189.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_glass_2.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_glass_2.ogg-c552ae0efeec1870f35b2b46377f0189.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/coin_glass_3.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/coin_glass_3.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/coin_glass_3.ogg.import
Normal file
19
audio/coin/coin_glass_3.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://uexinwvfe6gx"
|
||||||
|
path="res://.godot/imported/coin_glass_3.ogg-e52dfb018c5876b54bf6df1e58c12b17.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/coin_glass_3.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_glass_3.ogg-e52dfb018c5876b54bf6df1e58c12b17.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
15
audio/coin/coin_glass_randomizer.tres
Normal file
15
audio/coin/coin_glass_randomizer.tres
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[gd_resource type="AudioStreamRandomizer" load_steps=4 format=3 uid="uid://gu3d7jpurudc"]
|
||||||
|
|
||||||
|
[ext_resource type="AudioStream" uid="uid://b6dagdavmnowf" path="res://audio/coin/coin_glass_1.ogg" id="1_e2rpw"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://dta8g132mvpts" path="res://audio/coin/coin_glass_2.ogg" id="2_q8ylx"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://uexinwvfe6gx" path="res://audio/coin/coin_glass_3.ogg" id="3_7enf1"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
streams_count = 3
|
||||||
|
random_pitch = 1.6
|
||||||
|
stream_0/stream = ExtResource("1_e2rpw")
|
||||||
|
stream_0/weight = 1.0
|
||||||
|
stream_1/stream = ExtResource("2_q8ylx")
|
||||||
|
stream_1/weight = 1.0
|
||||||
|
stream_2/stream = ExtResource("3_7enf1")
|
||||||
|
stream_2/weight = 1.0
|
BIN
audio/coin/gem_gem_1.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/gem_gem_1.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/gem_gem_1.ogg.import
Normal file
19
audio/coin/gem_gem_1.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://bnxji2jbiy6ul"
|
||||||
|
path="res://.godot/imported/gem_gem_1.ogg-326740954b6fd6d640c88e80ba048212.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/gem_gem_1.ogg"
|
||||||
|
dest_files=["res://.godot/imported/gem_gem_1.ogg-326740954b6fd6d640c88e80ba048212.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/gem_gem_2.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/gem_gem_2.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/gem_gem_2.ogg.import
Normal file
19
audio/coin/gem_gem_2.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://b5xtbecwrn68j"
|
||||||
|
path="res://.godot/imported/gem_gem_2.ogg-2b11625de724051c6caaad4d29bd9920.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/gem_gem_2.ogg"
|
||||||
|
dest_files=["res://.godot/imported/gem_gem_2.ogg-2b11625de724051c6caaad4d29bd9920.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/gem_gem_3.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/gem_gem_3.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/gem_gem_3.ogg.import
Normal file
19
audio/coin/gem_gem_3.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://bctb1sd22bn2h"
|
||||||
|
path="res://.godot/imported/gem_gem_3.ogg-42bdebb8c66255a64503fe99c200e764.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/gem_gem_3.ogg"
|
||||||
|
dest_files=["res://.godot/imported/gem_gem_3.ogg-42bdebb8c66255a64503fe99c200e764.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/gem_gem_4.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/gem_gem_4.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/gem_gem_4.ogg.import
Normal file
19
audio/coin/gem_gem_4.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://b67eiknx3741a"
|
||||||
|
path="res://.godot/imported/gem_gem_4.ogg-a0113d479f3b0bbaca96fa5471b0fb1b.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/gem_gem_4.ogg"
|
||||||
|
dest_files=["res://.godot/imported/gem_gem_4.ogg-a0113d479f3b0bbaca96fa5471b0fb1b.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/gem_gem_5.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/gem_gem_5.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/gem_gem_5.ogg.import
Normal file
19
audio/coin/gem_gem_5.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://dyq3vhl1gby4d"
|
||||||
|
path="res://.godot/imported/gem_gem_5.ogg-15fea7a39959896bed959ab08d5d36c6.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/gem_gem_5.ogg"
|
||||||
|
dest_files=["res://.godot/imported/gem_gem_5.ogg-15fea7a39959896bed959ab08d5d36c6.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/coin/gem_gem_6.ogg
(Stored with Git LFS)
Normal file
BIN
audio/coin/gem_gem_6.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/coin/gem_gem_6.ogg.import
Normal file
19
audio/coin/gem_gem_6.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://c5mbqpin8tujv"
|
||||||
|
path="res://.godot/imported/gem_gem_6.ogg-64bcb6b5a6adacb21f34a48377719bb9.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/coin/gem_gem_6.ogg"
|
||||||
|
dest_files=["res://.godot/imported/gem_gem_6.ogg-64bcb6b5a6adacb21f34a48377719bb9.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
20
audio/coin/gem_gem_randomizer.tres
Normal file
20
audio/coin/gem_gem_randomizer.tres
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
[gd_resource type="AudioStreamRandomizer" load_steps=6 format=3 uid="uid://b5b2wile3yfoj"]
|
||||||
|
|
||||||
|
[ext_resource type="AudioStream" uid="uid://b5xtbecwrn68j" path="res://audio/coin/gem_gem_2.ogg" id="1_fdpt6"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://bctb1sd22bn2h" path="res://audio/coin/gem_gem_3.ogg" id="2_vwogo"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://b67eiknx3741a" path="res://audio/coin/gem_gem_4.ogg" id="3_wq8oh"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://dyq3vhl1gby4d" path="res://audio/coin/gem_gem_5.ogg" id="4_r62qn"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://c5mbqpin8tujv" path="res://audio/coin/gem_gem_6.ogg" id="5_14l11"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
streams_count = 5
|
||||||
|
stream_0/stream = ExtResource("1_fdpt6")
|
||||||
|
stream_0/weight = 1.0
|
||||||
|
stream_1/stream = ExtResource("2_vwogo")
|
||||||
|
stream_1/weight = 1.0
|
||||||
|
stream_2/stream = ExtResource("3_wq8oh")
|
||||||
|
stream_2/weight = 1.0
|
||||||
|
stream_3/stream = ExtResource("4_r62qn")
|
||||||
|
stream_3/weight = 1.0
|
||||||
|
stream_4/stream = ExtResource("5_14l11")
|
||||||
|
stream_4/weight = 1.0
|
BIN
audio/conversione/coin_to_gem_but_actually_gem.ogg
(Stored with Git LFS)
Normal file
BIN
audio/conversione/coin_to_gem_but_actually_gem.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
audio/conversione/coin_to_gem_but_actually_gem.ogg.import
Normal file
19
audio/conversione/coin_to_gem_but_actually_gem.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://c7gufi4l4vd7a"
|
||||||
|
path="res://.godot/imported/coin_to_gem_but_actually_gem.ogg-f903d1c4d785ddc460199566c9c16211.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/conversione/coin_to_gem_but_actually_gem.ogg"
|
||||||
|
dest_files=["res://.godot/imported/coin_to_gem_but_actually_gem.ogg-f903d1c4d785ddc460199566c9c16211.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
|
@ -14,6 +14,9 @@ var collected_count: int = 0
|
||||||
## The sound played when an item is collected.
|
## The sound played when an item is collected.
|
||||||
@export var sound_absorb: AudioStreamPlayer2D
|
@export var sound_absorb: AudioStreamPlayer2D
|
||||||
|
|
||||||
|
@export_range(0.01, 4) var sound_absorb_min_pitch: float = 1.0
|
||||||
|
@export_range(0.01, 4) var sound_absorb_max_pitch: float = 1.0
|
||||||
|
|
||||||
## The goal amount of entities to collect.
|
## The goal amount of entities to collect.
|
||||||
##
|
##
|
||||||
## When [collected_count] reaches it, it will be reset to zero, and the "goal" signal will be emitted.
|
## When [collected_count] reaches it, it will be reset to zero, and the "goal" signal will be emitted.
|
||||||
|
@ -32,9 +35,8 @@ func _on_body_entered(body: Node2D):
|
||||||
if collectible and collectible.type in collecting_types:
|
if collectible and collectible.type in collecting_types:
|
||||||
collected_count += 1
|
collected_count += 1
|
||||||
collectible.collect()
|
collectible.collect()
|
||||||
print("Should play ", sound_absorb)
|
|
||||||
if sound_absorb:
|
if sound_absorb:
|
||||||
print("Will play ", sound_absorb)
|
sound_absorb.pitch_scale = sound_absorb_min_pitch + (float(collected_count) / float(collecting_amount)) * (sound_absorb_max_pitch - sound_absorb_min_pitch)
|
||||||
sound_absorb.play()
|
sound_absorb.play()
|
||||||
collected.emit(body)
|
collected.emit(body)
|
||||||
if collected_count >= collecting_amount:
|
if collected_count >= collecting_amount:
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://bj0c8si8r5qc6" path="res://converters/sound_working_basic.tscn" id="12_s5xhf"]
|
[ext_resource type="PackedScene" uid="uid://bj0c8si8r5qc6" path="res://converters/sound_working_basic.tscn" id="12_s5xhf"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bevj27e1ha8m3" path="res://converters/placement_obstruction.tscn" id="12_xld3l"]
|
[ext_resource type="PackedScene" uid="uid://bevj27e1ha8m3" path="res://converters/placement_obstruction.tscn" id="12_xld3l"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dbnjstin80gf6" path="res://converters/sound_complete_coal.tscn" id="15_7b66q"]
|
[ext_resource type="PackedScene" uid="uid://dbnjstin80gf6" path="res://converters/sound_complete_coal.tscn" id="15_7b66q"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dgun44tkwktvv" path="res://converters/sound_complete_gem.tscn" id="17_iaatb"]
|
[ext_resource type="PackedScene" uid="uid://dgun44tkwktvv" path="res://converters/sound_complete_diamond.tscn" id="17_iaatb"]
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id="AtlasTexture_00uxa"]
|
[sub_resource type="AtlasTexture" id="AtlasTexture_00uxa"]
|
||||||
atlas = ExtResource("3_p4wsd")
|
atlas = ExtResource("3_p4wsd")
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=26 format=3 uid="uid://cb1t7ylnkmt3t"]
|
[gd_scene load_steps=27 format=3 uid="uid://cb1t7ylnkmt3t"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://converters/converter.gd" id="1_fgju3"]
|
[ext_resource type="Script" path="res://converters/converter.gd" id="1_fgju3"]
|
||||||
[ext_resource type="Texture2D" uid="uid://chc8wqc1pclbk" path="res://converters/gold_to_gem/gold_converter_back.png" id="2_hh4ft"]
|
[ext_resource type="Texture2D" uid="uid://chc8wqc1pclbk" path="res://converters/gold_to_gem/gold_converter_back.png" id="2_hh4ft"]
|
||||||
|
@ -14,7 +14,8 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://b3ev0md0jrpfj" path="res://converters/working_timer.tscn" id="11_tm4f6"]
|
[ext_resource type="PackedScene" uid="uid://b3ev0md0jrpfj" path="res://converters/working_timer.tscn" id="11_tm4f6"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bj0c8si8r5qc6" path="res://converters/sound_working_basic.tscn" id="12_4ej0q"]
|
[ext_resource type="PackedScene" uid="uid://bj0c8si8r5qc6" path="res://converters/sound_working_basic.tscn" id="12_4ej0q"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bevj27e1ha8m3" path="res://converters/placement_obstruction.tscn" id="13_6o73w"]
|
[ext_resource type="PackedScene" uid="uid://bevj27e1ha8m3" path="res://converters/placement_obstruction.tscn" id="13_6o73w"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dgun44tkwktvv" path="res://converters/sound_complete_gem.tscn" id="15_sfata"]
|
[ext_resource type="PackedScene" uid="uid://bafrv44ghhc45" path="res://sound_complete_gem.tscn" id="15_ugs31"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://brok2rbyyg2i5" path="res://audio/conversione/coin_to_gem.ogg" id="16_mkx22"]
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wy1v3"]
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wy1v3"]
|
||||||
atlas = ExtResource("3_ofrsl")
|
atlas = ExtResource("3_ofrsl")
|
||||||
|
@ -140,9 +141,7 @@ spawn_rect = Rect2(-8, 0, 16, 4)
|
||||||
spawn_rotation_degrees_min = 80.0
|
spawn_rotation_degrees_min = 80.0
|
||||||
spawn_rotation_degrees_max = 100.0
|
spawn_rotation_degrees_max = 100.0
|
||||||
overlapping_body_count_limit = 4
|
overlapping_body_count_limit = 4
|
||||||
sound_complete = NodePath("SoundComplete")
|
sound_complete = NodePath("")
|
||||||
sound_complete_pitch_min = 1.88
|
|
||||||
sound_complete_pitch_max = 2.0
|
|
||||||
|
|
||||||
[node name="PreventSpawnShape" type="CollisionShape2D" parent="Spawner"]
|
[node name="PreventSpawnShape" type="CollisionShape2D" parent="Spawner"]
|
||||||
z_index = 3
|
z_index = 3
|
||||||
|
@ -150,7 +149,9 @@ position = Vector2(0, 2)
|
||||||
shape = SubResource("RectangleShape2D_h53k7")
|
shape = SubResource("RectangleShape2D_h53k7")
|
||||||
debug_color = Color(0.701961, 0, 0, 0.419608)
|
debug_color = Color(0.701961, 0, 0, 0.419608)
|
||||||
|
|
||||||
[node name="SoundComplete" parent="Spawner" instance=ExtResource("15_sfata")]
|
[node name="SoundComplete" parent="Spawner" instance=ExtResource("15_ugs31")]
|
||||||
|
stream = ExtResource("16_mkx22")
|
||||||
|
pitch_scale = 1.0
|
||||||
|
|
||||||
[connection signal="input_event" from="." to="." method="_on_input_event"]
|
[connection signal="input_event" from="." to="." method="_on_input_event"]
|
||||||
[connection signal="goal" from="Collector" to="." method="_on_collector_goal"]
|
[connection signal="goal" from="Collector" to="." method="_on_collector_goal"]
|
||||||
|
|
8
converters/sound_complete_diamond.tscn
Normal file
8
converters/sound_complete_diamond.tscn
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://dgun44tkwktvv"]
|
||||||
|
|
||||||
|
[ext_resource type="AudioStream" uid="uid://c7gufi4l4vd7a" path="res://audio/conversione/coin_to_gem_but_actually_gem.ogg" id="1_h04jr"]
|
||||||
|
|
||||||
|
[node name="SoundComplete" type="AudioStreamPlayer2D"]
|
||||||
|
position = Vector2(0, 2)
|
||||||
|
stream = ExtResource("1_h04jr")
|
||||||
|
volume_db = 5.0
|
|
@ -1,8 +0,0 @@
|
||||||
[gd_scene load_steps=2 format=3 uid="uid://dgun44tkwktvv"]
|
|
||||||
|
|
||||||
[ext_resource type="AudioStream" uid="uid://brok2rbyyg2i5" path="res://audio/conversione/coin_to_gem.ogg" id="1_gxdtx"]
|
|
||||||
|
|
||||||
[node name="SoundComplete" type="AudioStreamPlayer2D"]
|
|
||||||
position = Vector2(0, 2)
|
|
||||||
stream = ExtResource("1_gxdtx")
|
|
||||||
volume_db = -2.0
|
|
|
@ -1,9 +1,12 @@
|
||||||
[gd_scene load_steps=5 format=3 uid="uid://diy8fj7mcc00p"]
|
[gd_scene load_steps=8 format=3 uid="uid://diy8fj7mcc00p"]
|
||||||
|
|
||||||
[ext_resource type="PhysicsMaterial" uid="uid://b2ghrg3vynbi8" path="res://entity/coal_physics_material.tres" id="1_03a3j"]
|
[ext_resource type="PhysicsMaterial" uid="uid://b2ghrg3vynbi8" path="res://entity/coal_physics_material.tres" id="1_03a3j"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bnfwmlf7ems16" path="res://entity/coal_diamond/coal.png" id="2_ok4kf"]
|
[ext_resource type="Texture2D" uid="uid://bnfwmlf7ems16" path="res://entity/coal_diamond/coal.png" id="2_ok4kf"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_e8hbs"]
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_e8hbs"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_3e4d8"]
|
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_3e4d8"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cvh8h0qfylp1x" path="res://noise/noisy.tscn" id="5_qa3q5"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://67pl0enqttmi" path="res://noise/sound_contact.tscn" id="6_xpspa"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://bwo63mo5jge76" path="res://audio/coin/coal_coal_randomizer.tres" id="7_neu72"]
|
||||||
|
|
||||||
[node name="Coal" type="RigidBody2D"]
|
[node name="Coal" type="RigidBody2D"]
|
||||||
collision_layer = 4
|
collision_layer = 4
|
||||||
|
@ -11,6 +14,8 @@ collision_mask = 14
|
||||||
mass = 0.5
|
mass = 0.5
|
||||||
inertia = 300.0
|
inertia = 300.0
|
||||||
physics_material_override = ExtResource("1_03a3j")
|
physics_material_override = ExtResource("1_03a3j")
|
||||||
|
max_contacts_reported = 1
|
||||||
|
contact_monitor = true
|
||||||
can_sleep = false
|
can_sleep = false
|
||||||
linear_damp = 0.1
|
linear_damp = 0.1
|
||||||
angular_damp = 0.1
|
angular_damp = 0.1
|
||||||
|
@ -27,3 +32,14 @@ texture = ExtResource("2_ok4kf")
|
||||||
type = &"Coal"
|
type = &"Coal"
|
||||||
|
|
||||||
[node name="Valuable" parent="." instance=ExtResource("5_3e4d8")]
|
[node name="Valuable" parent="." instance=ExtResource("5_3e4d8")]
|
||||||
|
|
||||||
|
[node name="Noisy" parent="." instance=ExtResource("5_qa3q5")]
|
||||||
|
type = &"Rock"
|
||||||
|
|
||||||
|
[node name="SoundContactCoin" parent="Noisy" instance=ExtResource("6_xpspa")]
|
||||||
|
stream = ExtResource("7_neu72")
|
||||||
|
volume_db = -8.0
|
||||||
|
type = &"Rock"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="." to="Noisy" method="_on_body_entered"]
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
[gd_scene load_steps=5 format=3 uid="uid://cr5tiep20hk0s"]
|
[gd_scene load_steps=9 format=3 uid="uid://cr5tiep20hk0s"]
|
||||||
|
|
||||||
[ext_resource type="PhysicsMaterial" uid="uid://b5egitifjvcqo" path="res://entity/gem_physics_material.tres" id="1_1hg8e"]
|
[ext_resource type="PhysicsMaterial" uid="uid://b5egitifjvcqo" path="res://entity/gem_physics_material.tres" id="1_1hg8e"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bquk2q5g6bst5" path="res://entity/coal_diamond/diamond.png" id="2_abwth"]
|
[ext_resource type="Texture2D" uid="uid://bquk2q5g6bst5" path="res://entity/coal_diamond/diamond.png" id="2_abwth"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="3_n4fa5"]
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="3_n4fa5"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="4_yfos5"]
|
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="4_yfos5"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cvh8h0qfylp1x" path="res://noise/noisy.tscn" id="5_tj6ht"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://67pl0enqttmi" path="res://noise/sound_contact.tscn" id="6_3b3qh"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://gu3d7jpurudc" path="res://audio/coin/coin_glass_randomizer.tres" id="7_rj4dj"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://b5b2wile3yfoj" path="res://audio/coin/gem_gem_randomizer.tres" id="8_5bprv"]
|
||||||
|
|
||||||
[node name="Diamond" type="RigidBody2D"]
|
[node name="Diamond" type="RigidBody2D"]
|
||||||
collision_layer = 4
|
collision_layer = 4
|
||||||
|
@ -28,3 +32,21 @@ type = &"Diamond"
|
||||||
|
|
||||||
[node name="Valuable" parent="." instance=ExtResource("4_yfos5")]
|
[node name="Valuable" parent="." instance=ExtResource("4_yfos5")]
|
||||||
value = 10000
|
value = 10000
|
||||||
|
|
||||||
|
[node name="Noisy" parent="." instance=ExtResource("5_tj6ht")]
|
||||||
|
type = &"Gem"
|
||||||
|
|
||||||
|
[node name="SoundContactCoin" parent="Noisy" instance=ExtResource("6_3b3qh")]
|
||||||
|
stream = ExtResource("7_rj4dj")
|
||||||
|
pitch_scale = 1.2
|
||||||
|
type = &"Coin"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[node name="SoundContactGem" parent="Noisy" instance=ExtResource("6_3b3qh")]
|
||||||
|
stream = ExtResource("8_5bprv")
|
||||||
|
volume_db = -16.0
|
||||||
|
pitch_scale = 1.1
|
||||||
|
type = &"Gem"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="." to="Noisy" method="_on_body_entered"]
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
[gd_scene load_steps=8 format=3 uid="uid://c3kitncwpi42j"]
|
[gd_scene load_steps=11 format=3 uid="uid://c3kitncwpi42j"]
|
||||||
|
|
||||||
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_1fypc"]
|
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_1fypc"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dbdkb4vt7dh85" path="res://entity/coin_copper/coin_copper_4.png" id="2_4pvkj"]
|
[ext_resource type="Texture2D" uid="uid://dbdkb4vt7dh85" path="res://entity/coin_copper/coin_copper_4.png" id="2_4pvkj"]
|
||||||
[ext_resource type="Texture2D" uid="uid://2vtvoj6ua3cb" path="res://entity/coin_copper/coin_copper_outline_2.png" id="3_dq1f7"]
|
[ext_resource type="Texture2D" uid="uid://2vtvoj6ua3cb" path="res://entity/coin_copper/coin_copper_outline_2.png" id="3_dq1f7"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_npwn2"]
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_npwn2"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_fd0r7"]
|
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_fd0r7"]
|
||||||
[ext_resource type="AudioStream" uid="uid://ds2rl6eg5jr1" path="res://audio/tap/click5.wav" id="7_fxd28"]
|
[ext_resource type="PackedScene" uid="uid://67pl0enqttmi" path="res://noise/sound_contact.tscn" id="6_4siev"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cvh8h0qfylp1x" path="res://noise/noisy.tscn" id="6_wfonq"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://d3knuq0635ie0" path="res://audio/coin/coin_coin_randomizer.tres" id="7_a2e1b"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://gu3d7jpurudc" path="res://audio/coin/coin_glass_randomizer.tres" id="9_7fy26"]
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
|
||||||
size = Vector2(14, 3)
|
size = Vector2(14, 3)
|
||||||
|
@ -15,6 +18,8 @@ collision_layer = 4
|
||||||
collision_mask = 14
|
collision_mask = 14
|
||||||
inertia = 1000.0
|
inertia = 1000.0
|
||||||
physics_material_override = ExtResource("1_1fypc")
|
physics_material_override = ExtResource("1_1fypc")
|
||||||
|
max_contacts_reported = 1
|
||||||
|
contact_monitor = true
|
||||||
can_sleep = false
|
can_sleep = false
|
||||||
linear_damp = 0.1
|
linear_damp = 0.1
|
||||||
angular_damp = 0.1
|
angular_damp = 0.1
|
||||||
|
@ -38,14 +43,21 @@ type = &"Copper"
|
||||||
[node name="Valuable" parent="." instance=ExtResource("5_fd0r7")]
|
[node name="Valuable" parent="." instance=ExtResource("5_fd0r7")]
|
||||||
value = 1
|
value = 1
|
||||||
|
|
||||||
[node name="sound_touch" type="AudioStreamPlayer" parent="."]
|
|
||||||
stream = ExtResource("7_fxd28")
|
|
||||||
volume_db = -24.397
|
|
||||||
|
|
||||||
[node name="Timer" type="Timer" parent="."]
|
[node name="Timer" type="Timer" parent="."]
|
||||||
wait_time = 2.108
|
wait_time = 2.108
|
||||||
one_shot = true
|
one_shot = true
|
||||||
|
|
||||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
[node name="Noisy" parent="." instance=ExtResource("6_wfonq")]
|
||||||
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
|
type = &"Coin"
|
||||||
[connection signal="sleeping_state_changed" from="." to="." method="_on_sleeping_state_changed"]
|
|
||||||
|
[node name="SoundContactCoin" parent="Noisy" instance=ExtResource("6_4siev")]
|
||||||
|
stream = ExtResource("7_a2e1b")
|
||||||
|
type = &"Coin"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[node name="SoundContactGem" parent="Noisy" instance=ExtResource("6_4siev")]
|
||||||
|
stream = ExtResource("9_7fy26")
|
||||||
|
type = &"Gem"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="." to="Noisy" method="_on_body_entered"]
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
[gd_scene load_steps=7 format=3 uid="uid://du3005kwybbrh"]
|
[gd_scene load_steps=11 format=3 uid="uid://du3005kwybbrh"]
|
||||||
|
|
||||||
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_nfq5t"]
|
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_nfq5t"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dxtstvjlten8p" path="res://entity/coin_gold/coin_gold.png" id="2_1mhvl"]
|
[ext_resource type="Texture2D" uid="uid://dxtstvjlten8p" path="res://entity/coin_gold/coin_gold.png" id="2_1mhvl"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bwqsdmghnrmhy" path="res://entity/coin_gold/coin_gold_outline.png" id="3_v0ty1"]
|
[ext_resource type="Texture2D" uid="uid://bwqsdmghnrmhy" path="res://entity/coin_gold/coin_gold_outline.png" id="3_v0ty1"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_t2klm"]
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_t2klm"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_palpv"]
|
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_palpv"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cvh8h0qfylp1x" path="res://noise/noisy.tscn" id="6_qbtaa"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://67pl0enqttmi" path="res://noise/sound_contact.tscn" id="7_bv4nd"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://d3knuq0635ie0" path="res://audio/coin/coin_coin_randomizer.tres" id="8_wq2hx"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://gu3d7jpurudc" path="res://audio/coin/coin_glass_randomizer.tres" id="9_wcgyq"]
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
|
||||||
size = Vector2(27, 5)
|
size = Vector2(27, 5)
|
||||||
|
@ -15,6 +19,8 @@ collision_mask = 14
|
||||||
mass = 2.0
|
mass = 2.0
|
||||||
inertia = 600.0
|
inertia = 600.0
|
||||||
physics_material_override = ExtResource("1_nfq5t")
|
physics_material_override = ExtResource("1_nfq5t")
|
||||||
|
max_contacts_reported = 1
|
||||||
|
contact_monitor = true
|
||||||
can_sleep = false
|
can_sleep = false
|
||||||
linear_damp = 0.1
|
linear_damp = 0.1
|
||||||
angular_damp = 0.1
|
angular_damp = 0.1
|
||||||
|
@ -37,3 +43,18 @@ type = &"Gold"
|
||||||
|
|
||||||
[node name="Valuable" parent="." instance=ExtResource("5_palpv")]
|
[node name="Valuable" parent="." instance=ExtResource("5_palpv")]
|
||||||
value = 100
|
value = 100
|
||||||
|
|
||||||
|
[node name="Noisy" parent="." instance=ExtResource("6_qbtaa")]
|
||||||
|
type = &"Coin"
|
||||||
|
|
||||||
|
[node name="SoundContactCoin" parent="Noisy" instance=ExtResource("7_bv4nd")]
|
||||||
|
stream = ExtResource("8_wq2hx")
|
||||||
|
type = &"Coin"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[node name="SoundContactGem" parent="Noisy" instance=ExtResource("7_bv4nd")]
|
||||||
|
stream = ExtResource("9_wcgyq")
|
||||||
|
type = &"Gem"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="." to="Noisy" method="_on_body_entered"]
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
[gd_scene load_steps=8 format=3 uid="uid://dme22vvfgme5f"]
|
[gd_scene load_steps=12 format=3 uid="uid://dme22vvfgme5f"]
|
||||||
|
|
||||||
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_4sq1a"]
|
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_4sq1a"]
|
||||||
[ext_resource type="Texture2D" uid="uid://m5t74cw8ht5b" path="res://entity/coin_silver/coin_silver_2.png" id="2_0u0up"]
|
[ext_resource type="Texture2D" uid="uid://m5t74cw8ht5b" path="res://entity/coin_silver/coin_silver_2.png" id="2_0u0up"]
|
||||||
[ext_resource type="Texture2D" uid="uid://beikajpd08pwr" path="res://entity/coin_silver/coin_silver_outline_2.png" id="3_nxu2p"]
|
[ext_resource type="Texture2D" uid="uid://beikajpd08pwr" path="res://entity/coin_silver/coin_silver_outline_2.png" id="3_nxu2p"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_12sii"]
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_12sii"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_u3bvw"]
|
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_u3bvw"]
|
||||||
[ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="6_tmdfg"]
|
[ext_resource type="AudioStream" path="res://audio/conversione/mechanic_sound.wav" id="6_tmdfg"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cvh8h0qfylp1x" path="res://noise/noisy.tscn" id="7_dld10"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://67pl0enqttmi" path="res://noise/sound_contact.tscn" id="8_itis4"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://d3knuq0635ie0" path="res://audio/coin/coin_coin_randomizer.tres" id="9_s8egy"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://gu3d7jpurudc" path="res://audio/coin/coin_glass_randomizer.tres" id="10_fjun1"]
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
|
||||||
size = Vector2(21, 4)
|
size = Vector2(21, 4)
|
||||||
|
@ -16,6 +20,8 @@ collision_mask = 14
|
||||||
mass = 1.5
|
mass = 1.5
|
||||||
inertia = 800.0
|
inertia = 800.0
|
||||||
physics_material_override = ExtResource("1_4sq1a")
|
physics_material_override = ExtResource("1_4sq1a")
|
||||||
|
max_contacts_reported = 1
|
||||||
|
contact_monitor = true
|
||||||
can_sleep = false
|
can_sleep = false
|
||||||
linear_damp = 0.1
|
linear_damp = 0.1
|
||||||
angular_damp = 0.1
|
angular_damp = 0.1
|
||||||
|
@ -41,3 +47,18 @@ value = 10
|
||||||
|
|
||||||
[node name="SoundWorking" type="AudioStreamPlayer" parent="."]
|
[node name="SoundWorking" type="AudioStreamPlayer" parent="."]
|
||||||
stream = ExtResource("6_tmdfg")
|
stream = ExtResource("6_tmdfg")
|
||||||
|
|
||||||
|
[node name="Noisy" parent="." instance=ExtResource("7_dld10")]
|
||||||
|
type = &"Coin"
|
||||||
|
|
||||||
|
[node name="SoundContactCoin" parent="Noisy" instance=ExtResource("8_itis4")]
|
||||||
|
stream = ExtResource("9_s8egy")
|
||||||
|
type = &"Coin"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[node name="SoundContactGem" parent="Noisy" instance=ExtResource("8_itis4")]
|
||||||
|
stream = ExtResource("10_fjun1")
|
||||||
|
type = &"Gem"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="." to="Noisy" method="_on_body_entered"]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=9 format=3 uid="uid://bawprh8kluilq"]
|
[gd_scene load_steps=12 format=3 uid="uid://bawprh8kluilq"]
|
||||||
|
|
||||||
[ext_resource type="PhysicsMaterial" uid="uid://b5egitifjvcqo" path="res://entity/gem_physics_material.tres" id="1_bt3de"]
|
[ext_resource type="PhysicsMaterial" uid="uid://b5egitifjvcqo" path="res://entity/gem_physics_material.tres" id="1_bt3de"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b21bsbo5f0ed7" path="res://entity/gem/gemstone.png" id="3_6jejy"]
|
[ext_resource type="Texture2D" uid="uid://b21bsbo5f0ed7" path="res://entity/gem/gemstone.png" id="3_6jejy"]
|
||||||
|
@ -6,7 +6,10 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_idoeu"]
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_idoeu"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_7bd6c"]
|
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_7bd6c"]
|
||||||
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_v6ppl"]
|
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_v6ppl"]
|
||||||
[ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="6_svrnw"]
|
[ext_resource type="PackedScene" uid="uid://cvh8h0qfylp1x" path="res://noise/noisy.tscn" id="8_ehkpn"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://b5b2wile3yfoj" path="res://audio/coin/gem_gem_randomizer.tres" id="9_5me71"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://67pl0enqttmi" path="res://noise/sound_contact.tscn" id="9_53f7x"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://gu3d7jpurudc" path="res://audio/coin/coin_glass_randomizer.tres" id="10_vkls0"]
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jkfas"]
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jkfas"]
|
||||||
radius = 3.5
|
radius = 3.5
|
||||||
|
@ -18,6 +21,8 @@ collision_mask = 14
|
||||||
mass = 8.0
|
mass = 8.0
|
||||||
inertia = 1500.0
|
inertia = 1500.0
|
||||||
physics_material_override = ExtResource("1_bt3de")
|
physics_material_override = ExtResource("1_bt3de")
|
||||||
|
max_contacts_reported = 1
|
||||||
|
contact_monitor = true
|
||||||
can_sleep = false
|
can_sleep = false
|
||||||
linear_damp = 0.1
|
linear_damp = 0.1
|
||||||
angular_damp = 0.1
|
angular_damp = 0.1
|
||||||
|
@ -39,5 +44,19 @@ type = &"Gem"
|
||||||
[node name="Valuable" parent="." instance=ExtResource("5_7bd6c")]
|
[node name="Valuable" parent="." instance=ExtResource("5_7bd6c")]
|
||||||
value = 1000
|
value = 1000
|
||||||
|
|
||||||
[node name="SoundWorking" type="AudioStreamPlayer" parent="."]
|
[node name="Noisy" parent="." instance=ExtResource("8_ehkpn")]
|
||||||
stream = ExtResource("6_svrnw")
|
type = &"Gem"
|
||||||
|
|
||||||
|
[node name="SoundContactCoin" parent="Noisy" instance=ExtResource("9_53f7x")]
|
||||||
|
stream = ExtResource("10_vkls0")
|
||||||
|
type = &"Coin"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[node name="SoundContactGem" parent="Noisy" instance=ExtResource("9_53f7x")]
|
||||||
|
stream = ExtResource("9_5me71")
|
||||||
|
volume_db = -16.0
|
||||||
|
pitch_scale = 0.9
|
||||||
|
type = &"Gem"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="." to="Noisy" method="_on_body_entered"]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=9 format=3 uid="uid://451ddbtq4163"]
|
[gd_scene load_steps=12 format=3 uid="uid://451ddbtq4163"]
|
||||||
|
|
||||||
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_vp2el"]
|
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_vp2el"]
|
||||||
[ext_resource type="Texture2D" uid="uid://wpen8vmuyvqv" path="res://entity/item/item_chalice.png" id="2_rnc33"]
|
[ext_resource type="Texture2D" uid="uid://wpen8vmuyvqv" path="res://entity/item/item_chalice.png" id="2_rnc33"]
|
||||||
|
@ -6,8 +6,11 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://vkvtap437nnf" path="res://color/colored.tscn" id="4_n40wg"]
|
[ext_resource type="PackedScene" uid="uid://vkvtap437nnf" path="res://color/colored.tscn" id="4_n40wg"]
|
||||||
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_bkxhb"]
|
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_bkxhb"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_0qpb5"]
|
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_0qpb5"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cvh8h0qfylp1x" path="res://noise/noisy.tscn" id="8_54g2j"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="8_ghhw4"]
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="8_ghhw4"]
|
||||||
[ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="9_v6jws"]
|
[ext_resource type="PackedScene" uid="uid://67pl0enqttmi" path="res://noise/sound_contact.tscn" id="9_v7j8f"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://d3knuq0635ie0" path="res://audio/coin/coin_coin_randomizer.tres" id="10_epgea"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://gu3d7jpurudc" path="res://audio/coin/coin_glass_randomizer.tres" id="11_rtt0g"]
|
||||||
|
|
||||||
[node name="ItemChalice" type="RigidBody2D"]
|
[node name="ItemChalice" type="RigidBody2D"]
|
||||||
collision_layer = 4
|
collision_layer = 4
|
||||||
|
@ -15,6 +18,8 @@ collision_mask = 14
|
||||||
mass = 24.0
|
mass = 24.0
|
||||||
inertia = 1250.0
|
inertia = 1250.0
|
||||||
physics_material_override = ExtResource("1_vp2el")
|
physics_material_override = ExtResource("1_vp2el")
|
||||||
|
max_contacts_reported = 1
|
||||||
|
contact_monitor = true
|
||||||
linear_damp = 0.1
|
linear_damp = 0.1
|
||||||
angular_damp = 0.1
|
angular_damp = 0.1
|
||||||
|
|
||||||
|
@ -39,5 +44,17 @@ type = &"Chalice"
|
||||||
[node name="Valuable" parent="." instance=ExtResource("7_0qpb5")]
|
[node name="Valuable" parent="." instance=ExtResource("7_0qpb5")]
|
||||||
value = 5000
|
value = 5000
|
||||||
|
|
||||||
[node name="SoundWorking" type="AudioStreamPlayer" parent="."]
|
[node name="Noisy" parent="." instance=ExtResource("8_54g2j")]
|
||||||
stream = ExtResource("9_v6jws")
|
type = &"Coin"
|
||||||
|
|
||||||
|
[node name="SoundContactCoin" parent="Noisy" instance=ExtResource("9_v7j8f")]
|
||||||
|
stream = ExtResource("10_epgea")
|
||||||
|
type = &"Coin"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[node name="SoundContactGem" parent="Noisy" instance=ExtResource("9_v7j8f")]
|
||||||
|
stream = ExtResource("11_rtt0g")
|
||||||
|
type = &"Gem"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="." to="Noisy" method="_on_body_entered"]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=10 format=3 uid="uid://d32fgw4klo4x3"]
|
[gd_scene load_steps=13 format=3 uid="uid://d32fgw4klo4x3"]
|
||||||
|
|
||||||
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_j1ug7"]
|
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_j1ug7"]
|
||||||
[ext_resource type="Texture2D" uid="uid://brlo5pqo0x86l" path="res://entity/item/item_crown.png" id="2_4mgp8"]
|
[ext_resource type="Texture2D" uid="uid://brlo5pqo0x86l" path="res://entity/item/item_crown.png" id="2_4mgp8"]
|
||||||
|
@ -7,7 +7,10 @@
|
||||||
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_c6qlx"]
|
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_c6qlx"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="6_5xyts"]
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="6_5xyts"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_7rpe6"]
|
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_7rpe6"]
|
||||||
[ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="9_6xmfi"]
|
[ext_resource type="PackedScene" uid="uid://cvh8h0qfylp1x" path="res://noise/noisy.tscn" id="8_o35js"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://67pl0enqttmi" path="res://noise/sound_contact.tscn" id="9_bjsmd"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://d3knuq0635ie0" path="res://audio/coin/coin_coin_randomizer.tres" id="10_kwduk"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://gu3d7jpurudc" path="res://audio/coin/coin_glass_randomizer.tres" id="11_7ui8j"]
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id="CircleShape2D_058rf"]
|
[sub_resource type="CircleShape2D" id="CircleShape2D_058rf"]
|
||||||
radius = 12.25
|
radius = 12.25
|
||||||
|
@ -18,6 +21,8 @@ collision_mask = 14
|
||||||
mass = 48.0
|
mass = 48.0
|
||||||
inertia = 2500.0
|
inertia = 2500.0
|
||||||
physics_material_override = ExtResource("1_j1ug7")
|
physics_material_override = ExtResource("1_j1ug7")
|
||||||
|
max_contacts_reported = 1
|
||||||
|
contact_monitor = true
|
||||||
linear_damp = 0.1
|
linear_damp = 0.1
|
||||||
angular_damp = 0.1
|
angular_damp = 0.1
|
||||||
|
|
||||||
|
@ -42,5 +47,17 @@ type = &"Crown"
|
||||||
[node name="Valuable" parent="." instance=ExtResource("7_7rpe6")]
|
[node name="Valuable" parent="." instance=ExtResource("7_7rpe6")]
|
||||||
value = 7500
|
value = 7500
|
||||||
|
|
||||||
[node name="SoundWorking" type="AudioStreamPlayer" parent="."]
|
[node name="Noisy" parent="." instance=ExtResource("8_o35js")]
|
||||||
stream = ExtResource("9_6xmfi")
|
type = &"Coin"
|
||||||
|
|
||||||
|
[node name="SoundContactCoin" parent="Noisy" instance=ExtResource("9_bjsmd")]
|
||||||
|
stream = ExtResource("10_kwduk")
|
||||||
|
type = &"Coin"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[node name="SoundContactGem" parent="Noisy" instance=ExtResource("9_bjsmd")]
|
||||||
|
stream = ExtResource("11_7ui8j")
|
||||||
|
type = &"Gem"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="." to="Noisy" method="_on_body_entered"]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=10 format=3 uid="uid://y2p6j177k3nr"]
|
[gd_scene load_steps=13 format=3 uid="uid://y2p6j177k3nr"]
|
||||||
|
|
||||||
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_yyeot"]
|
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_yyeot"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dcw3cq3ni253t" path="res://entity/item/item_ring.png" id="2_kevks"]
|
[ext_resource type="Texture2D" uid="uid://dcw3cq3ni253t" path="res://entity/item/item_ring.png" id="2_kevks"]
|
||||||
|
@ -7,7 +7,10 @@
|
||||||
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_pu8lc"]
|
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_pu8lc"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="6_mtl3w"]
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="6_mtl3w"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_37tvl"]
|
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_37tvl"]
|
||||||
[ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="9_0enei"]
|
[ext_resource type="PackedScene" uid="uid://cvh8h0qfylp1x" path="res://noise/noisy.tscn" id="8_2hlcu"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://67pl0enqttmi" path="res://noise/sound_contact.tscn" id="9_70r8p"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://d3knuq0635ie0" path="res://audio/coin/coin_coin_randomizer.tres" id="10_brgwq"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://gu3d7jpurudc" path="res://audio/coin/coin_glass_randomizer.tres" id="11_iyqdo"]
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ka4h2"]
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ka4h2"]
|
||||||
radius = 5.64
|
radius = 5.64
|
||||||
|
@ -19,6 +22,8 @@ collision_mask = 14
|
||||||
mass = 12.0
|
mass = 12.0
|
||||||
inertia = 800.0
|
inertia = 800.0
|
||||||
physics_material_override = ExtResource("1_yyeot")
|
physics_material_override = ExtResource("1_yyeot")
|
||||||
|
max_contacts_reported = 1
|
||||||
|
contact_monitor = true
|
||||||
linear_damp = 0.1
|
linear_damp = 0.1
|
||||||
angular_damp = 0.1
|
angular_damp = 0.1
|
||||||
|
|
||||||
|
@ -43,5 +48,17 @@ type = &"Ring"
|
||||||
[node name="Valuable" parent="." instance=ExtResource("7_37tvl")]
|
[node name="Valuable" parent="." instance=ExtResource("7_37tvl")]
|
||||||
value = 3500
|
value = 3500
|
||||||
|
|
||||||
[node name="SoundWorking" type="AudioStreamPlayer" parent="."]
|
[node name="Noisy" parent="." instance=ExtResource("8_2hlcu")]
|
||||||
stream = ExtResource("9_0enei")
|
type = &"Coin"
|
||||||
|
|
||||||
|
[node name="SoundContactCoin" parent="Noisy" instance=ExtResource("9_70r8p")]
|
||||||
|
stream = ExtResource("10_brgwq")
|
||||||
|
type = &"Coin"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[node name="SoundContactGem" parent="Noisy" instance=ExtResource("9_70r8p")]
|
||||||
|
stream = ExtResource("11_iyqdo")
|
||||||
|
type = &"Gem"
|
||||||
|
min_velocity = 100.0
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="." to="Noisy" method="_on_body_entered"]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=26 format=3 uid="uid://c3rxmcwa5nqng"]
|
[gd_scene load_steps=27 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,7 +19,8 @@
|
||||||
[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://cyulrjklb122q" path="res://audio/conversione/suck2.ogg" id="19_imgpx"]
|
[ext_resource type="PackedScene" uid="uid://diy8fj7mcc00p" path="res://entity/coal_diamond/coal.tscn" id="17_mf5fk"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://daiute7lbjet7" path="res://audio/tap/click4.ogg" id="19_i72ko"]
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rh35r"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rh35r"]
|
||||||
size = Vector2(240, 384)
|
size = Vector2(240, 384)
|
||||||
|
@ -154,9 +155,25 @@ 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="CheatCoalSpawner" parent="Spawners" node_paths=PackedStringArray("target") instance=ExtResource("3_qwsty")]
|
||||||
|
scene = ExtResource("17_mf5fk")
|
||||||
|
target = NodePath("../..")
|
||||||
|
buffer_cap = 10
|
||||||
|
spawn_rect = Rect2(-20, 0, 40, 0)
|
||||||
|
overlapping_body_count_limit = 16
|
||||||
|
metadata/_edit_lock_ = true
|
||||||
|
|
||||||
|
[node name="NeckShape" type="CollisionShape2D" parent="Spawners/CheatCoalSpawner"]
|
||||||
|
shape = SubResource("RectangleShape2D_4uksi")
|
||||||
|
debug_color = Color(0, 0.6, 0.701961, 0)
|
||||||
|
|
||||||
|
[node name="ActionTimer" parent="Spawners/CheatCoalSpawner" instance=ExtResource("13_y2562")]
|
||||||
|
action = "cheat_spawn_coal"
|
||||||
|
|
||||||
[node name="StoreCollector" parent="." node_paths=PackedStringArray("sound_absorb") 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")
|
sound_absorb = NodePath("SoundAbsorb")
|
||||||
|
sound_absorb_max_pitch = 4.0
|
||||||
metadata/_edit_lock_ = true
|
metadata/_edit_lock_ = true
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StoreCollector"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StoreCollector"]
|
||||||
|
@ -212,9 +229,9 @@ horizontal_alignment = 1
|
||||||
vertical_alignment = 1
|
vertical_alignment = 1
|
||||||
|
|
||||||
[node name="SoundAbsorb" type="AudioStreamPlayer2D" parent="StoreCollector"]
|
[node name="SoundAbsorb" type="AudioStreamPlayer2D" parent="StoreCollector"]
|
||||||
stream = ExtResource("19_imgpx")
|
stream = ExtResource("19_i72ko")
|
||||||
volume_db = -8.0
|
volume_db = 4.0
|
||||||
pitch_scale = 1.4
|
pitch_scale = 2.5
|
||||||
max_polyphony = 8
|
max_polyphony = 8
|
||||||
|
|
||||||
[node name="UniversalCollectorTop" parent="." instance=ExtResource("9_7op48")]
|
[node name="UniversalCollectorTop" parent="." instance=ExtResource("9_7op48")]
|
||||||
|
@ -246,6 +263,7 @@ debug_color = Color(0, 0, 0, 0.419608)
|
||||||
[connection signal="timeout" from="Spawners/CheatSilverSpawner/ActionTimer" to="Spawners/CheatSilverSpawner" method="spawn"]
|
[connection signal="timeout" from="Spawners/CheatSilverSpawner/ActionTimer" to="Spawners/CheatSilverSpawner" method="spawn"]
|
||||||
[connection signal="timeout" from="Spawners/CheatGoldSpawner/ActionTimer" to="Spawners/CheatGoldSpawner" method="spawn"]
|
[connection signal="timeout" from="Spawners/CheatGoldSpawner/ActionTimer" to="Spawners/CheatGoldSpawner" method="spawn"]
|
||||||
[connection signal="timeout" from="Spawners/CheatGemSpawner/ActionTimer" to="Spawners/CheatGemSpawner" method="spawn"]
|
[connection signal="timeout" from="Spawners/CheatGemSpawner/ActionTimer" to="Spawners/CheatGemSpawner" method="spawn"]
|
||||||
|
[connection signal="timeout" from="Spawners/CheatCoalSpawner/ActionTimer" to="Spawners/CheatCoalSpawner" method="spawn"]
|
||||||
[connection signal="collected" from="StoreCollector" to="." method="_on_store_collector_collected"]
|
[connection signal="collected" from="StoreCollector" to="." method="_on_store_collector_collected"]
|
||||||
|
|
||||||
[editable path="Ghost"]
|
[editable path="Ghost"]
|
||||||
|
|
26
noise/noisy.gd
Normal file
26
noise/noisy.gd
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
extends Node
|
||||||
|
class_name Noisy
|
||||||
|
|
||||||
|
|
||||||
|
@export var type: StringName
|
||||||
|
|
||||||
|
|
||||||
|
@onready var target: RigidBody2D = get_parent()
|
||||||
|
|
||||||
|
|
||||||
|
func _on_body_entered(body: Node):
|
||||||
|
var other_noisy: Node = body.find_child("Noisy")
|
||||||
|
# If both bodies are noisy...
|
||||||
|
if other_noisy:
|
||||||
|
# Find our sounds...
|
||||||
|
var sounds_contact: Array[Node] = self.find_children("*", "SoundContact", false)
|
||||||
|
for sound_contact in sounds_contact:
|
||||||
|
# Check if the type matches...
|
||||||
|
if sound_contact.type == other_noisy.type:
|
||||||
|
# Determine the collision strength
|
||||||
|
var collision_normal = (body.position - target.position).normalized()
|
||||||
|
var this_velocity_on_normal = target.linear_velocity.dot(collision_normal)
|
||||||
|
var other_velocity_on_normal = -body.linear_velocity.dot(collision_normal)
|
||||||
|
var velocity_on_normal = this_velocity_on_normal + other_velocity_on_normal
|
||||||
|
if sound_contact.min_velocity <= velocity_on_normal:
|
||||||
|
sound_contact.play()
|
6
noise/noisy.tscn
Normal file
6
noise/noisy.tscn
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://cvh8h0qfylp1x"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://noise/noisy.gd" id="1_ykl1d"]
|
||||||
|
|
||||||
|
[node name="Noisy" type="Node"]
|
||||||
|
script = ExtResource("1_ykl1d")
|
7
noise/sound_contact.gd
Normal file
7
noise/sound_contact.gd
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
extends AudioStreamPlayer2D
|
||||||
|
class_name SoundContact
|
||||||
|
|
||||||
|
|
||||||
|
@export var type: StringName
|
||||||
|
|
||||||
|
@export var min_velocity: float
|
6
noise/sound_contact.tscn
Normal file
6
noise/sound_contact.tscn
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://67pl0enqttmi"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://noise/sound_contact.gd" id="1_uxads"]
|
||||||
|
|
||||||
|
[node name="SoundContact" type="AudioStreamPlayer2D"]
|
||||||
|
script = ExtResource("1_uxads")
|
|
@ -93,6 +93,11 @@ cheat_spawn_gem={
|
||||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":52,"key_label":0,"unicode":52,"echo":false,"script":null)
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":52,"key_label":0,"unicode":52,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
cheat_spawn_coal={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":53,"key_label":0,"unicode":53,"echo":false,"script":null)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
[layer_names]
|
[layer_names]
|
||||||
|
|
||||||
|
|
9
sound_complete_gem.tscn
Normal file
9
sound_complete_gem.tscn
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://bafrv44ghhc45"]
|
||||||
|
|
||||||
|
[ext_resource type="AudioStream" uid="uid://c7gufi4l4vd7a" path="res://audio/conversione/coin_to_gem_but_actually_gem.ogg" id="1_dsdla"]
|
||||||
|
|
||||||
|
[node name="SoundComplete" type="AudioStreamPlayer2D"]
|
||||||
|
position = Vector2(0, 2)
|
||||||
|
stream = ExtResource("1_dsdla")
|
||||||
|
volume_db = -2.0
|
||||||
|
pitch_scale = 1.3
|
Loading…
Reference in a new issue