From 5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab Mon Sep 17 00:00:00 2001 From: rom Date: Mon, 26 Apr 2021 22:39:52 +0200 Subject: random --- ...ll Sounds.mp3-ff5708dc698fb946173768f8efeec361.md5 | 3 +++ ...Sounds.mp3-ff5708dc698fb946173768f8efeec361.mp3str | Bin 0 -> 2122819 bytes components/Settings.gd | 2 ++ project.godot | 6 ++++++ ...- Button Click Sound Effects All Sounds.mp3.import | 15 +++++++++++++++ 5 files changed, 26 insertions(+) create mode 100644 .import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.md5 create mode 100644 .import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.mp3str create mode 100644 sfx/yt1s.com - Button Click Sound Effects All Sounds.mp3.import diff --git a/.import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.md5 b/.import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.md5 new file mode 100644 index 0000000..dbcc38c --- /dev/null +++ b/.import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.md5 @@ -0,0 +1,3 @@ +source_md5="3a14195896912764b9c377e91309ebe8" +dest_md5="e28f94e5c7fa16426057bba1d25ff9de" + diff --git a/.import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.mp3str b/.import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.mp3str new file mode 100644 index 0000000..95e5f6a Binary files /dev/null and b/.import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.mp3str differ diff --git a/components/Settings.gd b/components/Settings.gd index c652b16..3bcb1a4 100644 --- a/components/Settings.gd +++ b/components/Settings.gd @@ -9,6 +9,8 @@ var difficulty = Difficulty.EASY ########## # LOADER # ########## +func _ready(): + randomize() onready var _file = File.new() const _SETTINGS_PATH = "user://settings.json" diff --git a/project.godot b/project.godot index 471262c..8780a66 100644 --- a/project.godot +++ b/project.godot @@ -39,6 +39,11 @@ _global_script_classes=[ { "language": "GDScript", "path": "res://components/PathRenderer.gd" }, { +"base": "Area2D", +"class": "Spaceship", +"language": "GDScript", +"path": "res://scenes/levels/pixel/spaceship.gd" +}, { "base": "Label", "class": "TextReveal", "language": "GDScript", @@ -51,6 +56,7 @@ _global_script_class_icons={ "Card": "", "Level": "", "PathRenderer": "", +"Spaceship": "", "TextReveal": "" } diff --git a/sfx/yt1s.com - Button Click Sound Effects All Sounds.mp3.import b/sfx/yt1s.com - Button Click Sound Effects All Sounds.mp3.import new file mode 100644 index 0000000..975a4ce --- /dev/null +++ b/sfx/yt1s.com - Button Click Sound Effects All Sounds.mp3.import @@ -0,0 +1,15 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +path="res://.import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.mp3str" + +[deps] + +source_file="res://sfx/yt1s.com - Button Click Sound Effects All Sounds.mp3" +dest_files=[ "res://.import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.mp3str" ] + +[params] + +loop=true +loop_offset=0 -- cgit