diff --git a/clicky-clicker/game.tscn b/clicky-clicker/game.tscn index 63d4100..9b66985 100644 --- a/clicky-clicker/game.tscn +++ b/clicky-clicker/game.tscn @@ -1,6 +1,46 @@ -[gd_scene load_steps=2 format=3 uid="uid://c07exrxi85bon"] +[gd_scene load_steps=15 format=3 uid="uid://c07exrxi85bon"] [ext_resource type="Script" path="res://game.gd" id="1_objr7"] +[ext_resource type="AudioStream" uid="uid://bwcw3jksjuu7a" path="res://sfx/alarm.ogg" id="2_tfaga"] +[ext_resource type="AudioStream" uid="uid://bqu7wctf81kdi" path="res://sfx/alarm2.ogg" id="3_2cnue"] +[ext_resource type="AudioStream" uid="uid://qps6qic6diwa" path="res://sfx/negative_sound.ogg" id="4_jx608"] +[ext_resource type="AudioStream" uid="uid://c6wtdpr8bm1ww" path="res://sfx/negative_sound2.ogg" id="5_66fhy"] +[ext_resource type="AudioStream" uid="uid://cw8o4hiyuyihs" path="res://sfx/chimes.ogg" id="6_scpb4"] +[ext_resource type="AudioStream" uid="uid://m3t5nacnhnvr" path="res://sfx/click_1.ogg" id="7_jcw0m"] +[ext_resource type="AudioStream" uid="uid://bjky8cfyes7uh" path="res://sfx/click_2.ogg" id="8_moa30"] +[ext_resource type="AudioStream" uid="uid://w42lcp3hrqwp" path="res://sfx/click_3.ogg" id="9_pj6a8"] +[ext_resource type="AudioStream" uid="uid://bmw5a0oadmikj" path="res://sfx/click_4.ogg" id="10_xlks0"] +[ext_resource type="AudioStream" uid="uid://rilcftpbymvk" path="res://sfx/Ding.ogg" id="11_q8oin"] +[ext_resource type="AudioStream" uid="uid://d0af8k5lmu5xl" path="res://sfx/ding_deep.ogg" id="12_onrcn"] +[ext_resource type="AudioStream" uid="uid://2g7t0jlwge4" path="res://sfx/dum.ogg" id="13_atg5d"] + +[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_odt3j"] +random_pitch = 1.1 +streams_count = 12 +stream_0/stream = ExtResource("2_tfaga") +stream_0/weight = 1.0 +stream_1/stream = ExtResource("3_2cnue") +stream_1/weight = 1.0 +stream_2/stream = ExtResource("6_scpb4") +stream_2/weight = 1.0 +stream_3/stream = ExtResource("7_jcw0m") +stream_3/weight = 1.0 +stream_4/stream = ExtResource("8_moa30") +stream_4/weight = 1.0 +stream_5/stream = ExtResource("9_pj6a8") +stream_5/weight = 1.0 +stream_6/stream = ExtResource("10_xlks0") +stream_6/weight = 1.0 +stream_7/stream = ExtResource("11_q8oin") +stream_7/weight = 1.0 +stream_8/stream = ExtResource("12_onrcn") +stream_8/weight = 1.0 +stream_9/stream = ExtResource("13_atg5d") +stream_9/weight = 1.0 +stream_10/stream = ExtResource("4_jx608") +stream_10/weight = 1.0 +stream_11/stream = ExtResource("5_66fhy") +stream_11/weight = 1.0 [node name="Control" type="Control"] layout_mode = 3 @@ -38,3 +78,8 @@ size_flags_horizontal = 4 text = "1" fit_content = true autowrap_mode = 0 + +[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] +stream = SubResource("AudioStreamRandomizer_odt3j") + +[connection signal="pressed" from="VBoxContainer/ClickButton" to="AudioStreamPlayer" method="play"] diff --git a/clicky-clicker/sfx/Ding.ogg b/clicky-clicker/sfx/Ding.ogg new file mode 100644 index 0000000..5e28c76 Binary files /dev/null and b/clicky-clicker/sfx/Ding.ogg differ diff --git a/clicky-clicker/sfx/Ding.ogg.import b/clicky-clicker/sfx/Ding.ogg.import new file mode 100644 index 0000000..ced0aa3 --- /dev/null +++ b/clicky-clicker/sfx/Ding.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://rilcftpbymvk" +path="res://.godot/imported/Ding.ogg-6d6e97eec236ac768cbe2f015d88fbd6.oggvorbisstr" + +[deps] + +source_file="res://sfx/Ding.ogg" +dest_files=["res://.godot/imported/Ding.ogg-6d6e97eec236ac768cbe2f015d88fbd6.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/clicky-clicker/sfx/_source.txt b/clicky-clicker/sfx/_source.txt new file mode 100644 index 0000000..63c0831 --- /dev/null +++ b/clicky-clicker/sfx/_source.txt @@ -0,0 +1,3 @@ +Author: Robin Lamb: +License: Public Domain +Source: https://opengameart.org/content/ui-sound-effects-button-clicks-user-feedback-notifications \ No newline at end of file diff --git a/clicky-clicker/sfx/alarm.ogg b/clicky-clicker/sfx/alarm.ogg new file mode 100644 index 0000000..830b352 Binary files /dev/null and b/clicky-clicker/sfx/alarm.ogg differ diff --git a/clicky-clicker/sfx/alarm.ogg.import b/clicky-clicker/sfx/alarm.ogg.import new file mode 100644 index 0000000..b1942b2 --- /dev/null +++ b/clicky-clicker/sfx/alarm.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://bwcw3jksjuu7a" +path="res://.godot/imported/alarm.ogg-6b541a50aeac425580830366a18bd2ef.oggvorbisstr" + +[deps] + +source_file="res://sfx/alarm.ogg" +dest_files=["res://.godot/imported/alarm.ogg-6b541a50aeac425580830366a18bd2ef.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/clicky-clicker/sfx/alarm2.ogg b/clicky-clicker/sfx/alarm2.ogg new file mode 100644 index 0000000..fc415ef Binary files /dev/null and b/clicky-clicker/sfx/alarm2.ogg differ diff --git a/clicky-clicker/sfx/alarm2.ogg.import b/clicky-clicker/sfx/alarm2.ogg.import new file mode 100644 index 0000000..2824497 --- /dev/null +++ b/clicky-clicker/sfx/alarm2.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://bqu7wctf81kdi" +path="res://.godot/imported/alarm2.ogg-3fe0f42ae2dcebb58d54921d27d09ad5.oggvorbisstr" + +[deps] + +source_file="res://sfx/alarm2.ogg" +dest_files=["res://.godot/imported/alarm2.ogg-3fe0f42ae2dcebb58d54921d27d09ad5.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/clicky-clicker/sfx/chimes.ogg b/clicky-clicker/sfx/chimes.ogg new file mode 100644 index 0000000..c3f8b9c Binary files /dev/null and b/clicky-clicker/sfx/chimes.ogg differ diff --git a/clicky-clicker/sfx/chimes.ogg.import b/clicky-clicker/sfx/chimes.ogg.import new file mode 100644 index 0000000..b9337f6 --- /dev/null +++ b/clicky-clicker/sfx/chimes.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://cw8o4hiyuyihs" +path="res://.godot/imported/chimes.ogg-7ef3877c8d527995648d68de79cb088c.oggvorbisstr" + +[deps] + +source_file="res://sfx/chimes.ogg" +dest_files=["res://.godot/imported/chimes.ogg-7ef3877c8d527995648d68de79cb088c.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/clicky-clicker/sfx/click_1.ogg b/clicky-clicker/sfx/click_1.ogg new file mode 100644 index 0000000..f6ef6a6 Binary files /dev/null and b/clicky-clicker/sfx/click_1.ogg differ diff --git a/clicky-clicker/sfx/click_1.ogg.import b/clicky-clicker/sfx/click_1.ogg.import new file mode 100644 index 0000000..f12ce8f --- /dev/null +++ b/clicky-clicker/sfx/click_1.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://m3t5nacnhnvr" +path="res://.godot/imported/click_1.ogg-60801cd51e0ac65e2c2265380c1148d8.oggvorbisstr" + +[deps] + +source_file="res://sfx/click_1.ogg" +dest_files=["res://.godot/imported/click_1.ogg-60801cd51e0ac65e2c2265380c1148d8.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/clicky-clicker/sfx/click_2.ogg b/clicky-clicker/sfx/click_2.ogg new file mode 100644 index 0000000..347efd9 Binary files /dev/null and b/clicky-clicker/sfx/click_2.ogg differ diff --git a/clicky-clicker/sfx/click_2.ogg.import b/clicky-clicker/sfx/click_2.ogg.import new file mode 100644 index 0000000..57a6d03 --- /dev/null +++ b/clicky-clicker/sfx/click_2.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://bjky8cfyes7uh" +path="res://.godot/imported/click_2.ogg-904debe82039603811ab7775d25711c1.oggvorbisstr" + +[deps] + +source_file="res://sfx/click_2.ogg" +dest_files=["res://.godot/imported/click_2.ogg-904debe82039603811ab7775d25711c1.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/clicky-clicker/sfx/click_3.ogg b/clicky-clicker/sfx/click_3.ogg new file mode 100644 index 0000000..793fae6 Binary files /dev/null and b/clicky-clicker/sfx/click_3.ogg differ diff --git a/clicky-clicker/sfx/click_3.ogg.import b/clicky-clicker/sfx/click_3.ogg.import new file mode 100644 index 0000000..c76520f --- /dev/null +++ b/clicky-clicker/sfx/click_3.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://w42lcp3hrqwp" +path="res://.godot/imported/click_3.ogg-1360b51ebdf015497841153ff3bf55b1.oggvorbisstr" + +[deps] + +source_file="res://sfx/click_3.ogg" +dest_files=["res://.godot/imported/click_3.ogg-1360b51ebdf015497841153ff3bf55b1.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/clicky-clicker/sfx/click_4.ogg b/clicky-clicker/sfx/click_4.ogg new file mode 100644 index 0000000..6c75513 Binary files /dev/null and b/clicky-clicker/sfx/click_4.ogg differ diff --git a/clicky-clicker/sfx/click_4.ogg.import b/clicky-clicker/sfx/click_4.ogg.import new file mode 100644 index 0000000..6ff854a --- /dev/null +++ b/clicky-clicker/sfx/click_4.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://bmw5a0oadmikj" +path="res://.godot/imported/click_4.ogg-38616ead312875c04746b5f1e21f8fc1.oggvorbisstr" + +[deps] + +source_file="res://sfx/click_4.ogg" +dest_files=["res://.godot/imported/click_4.ogg-38616ead312875c04746b5f1e21f8fc1.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/clicky-clicker/sfx/ding_deep.ogg b/clicky-clicker/sfx/ding_deep.ogg new file mode 100644 index 0000000..2a1e646 Binary files /dev/null and b/clicky-clicker/sfx/ding_deep.ogg differ diff --git a/clicky-clicker/sfx/ding_deep.ogg.import b/clicky-clicker/sfx/ding_deep.ogg.import new file mode 100644 index 0000000..cc683fb --- /dev/null +++ b/clicky-clicker/sfx/ding_deep.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://d0af8k5lmu5xl" +path="res://.godot/imported/ding_deep.ogg-e4c38880db4a0c973b0da077d651e3c8.oggvorbisstr" + +[deps] + +source_file="res://sfx/ding_deep.ogg" +dest_files=["res://.godot/imported/ding_deep.ogg-e4c38880db4a0c973b0da077d651e3c8.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/clicky-clicker/sfx/dum.ogg b/clicky-clicker/sfx/dum.ogg new file mode 100644 index 0000000..37643fb Binary files /dev/null and b/clicky-clicker/sfx/dum.ogg differ diff --git a/clicky-clicker/sfx/dum.ogg.import b/clicky-clicker/sfx/dum.ogg.import new file mode 100644 index 0000000..4a5ed6b --- /dev/null +++ b/clicky-clicker/sfx/dum.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://2g7t0jlwge4" +path="res://.godot/imported/dum.ogg-2a96ac03df09002ceda00385b3f64e01.oggvorbisstr" + +[deps] + +source_file="res://sfx/dum.ogg" +dest_files=["res://.godot/imported/dum.ogg-2a96ac03df09002ceda00385b3f64e01.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/clicky-clicker/sfx/negative_sound.ogg b/clicky-clicker/sfx/negative_sound.ogg new file mode 100644 index 0000000..1a98824 Binary files /dev/null and b/clicky-clicker/sfx/negative_sound.ogg differ diff --git a/clicky-clicker/sfx/negative_sound.ogg.import b/clicky-clicker/sfx/negative_sound.ogg.import new file mode 100644 index 0000000..af0c944 --- /dev/null +++ b/clicky-clicker/sfx/negative_sound.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://qps6qic6diwa" +path="res://.godot/imported/negative_sound.ogg-fe593e219cb8d7757dc839f958b7fc41.oggvorbisstr" + +[deps] + +source_file="res://sfx/negative_sound.ogg" +dest_files=["res://.godot/imported/negative_sound.ogg-fe593e219cb8d7757dc839f958b7fc41.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/clicky-clicker/sfx/negative_sound2.ogg b/clicky-clicker/sfx/negative_sound2.ogg new file mode 100644 index 0000000..dcf97a9 Binary files /dev/null and b/clicky-clicker/sfx/negative_sound2.ogg differ diff --git a/clicky-clicker/sfx/negative_sound2.ogg.import b/clicky-clicker/sfx/negative_sound2.ogg.import new file mode 100644 index 0000000..237ad3a --- /dev/null +++ b/clicky-clicker/sfx/negative_sound2.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://c6wtdpr8bm1ww" +path="res://.godot/imported/negative_sound2.ogg-a675a65af348c1822d4a4f232b2be05c.oggvorbisstr" + +[deps] + +source_file="res://sfx/negative_sound2.ogg" +dest_files=["res://.godot/imported/negative_sound2.ogg-a675a65af348c1822d4a4f232b2be05c.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4