summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrom <romangraef@gmail.com>2021-04-26 22:39:52 +0200
committerrom <romangraef@gmail.com>2021-04-26 22:39:52 +0200
commit5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab (patch)
treef2ddc9c72501088a774585e27cd00ed49b2ab7d3
parent518ad95f5a8d9406a8010c22537343493005dc01 (diff)
downloadldjam48-5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab.tar.gz
ldjam48-5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab.tar.bz2
ldjam48-5edfb8bfbee68c2ae7fda4cdf682ecb2fb748fab.zip
random
-rw-r--r--.import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.md53
-rw-r--r--.import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.mp3strbin0 -> 2122819 bytes
-rw-r--r--components/Settings.gd2
-rw-r--r--project.godot6
-rw-r--r--sfx/yt1s.com - Button Click Sound Effects All Sounds.mp3.import15
5 files changed, 26 insertions, 0 deletions
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
--- /dev/null
+++ b/.import/yt1s.com - Button Click Sound Effects All Sounds.mp3-ff5708dc698fb946173768f8efeec361.mp3str
Binary files 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