aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/LoadingScreen.gd
diff options
context:
space:
mode:
author Joel Machens <ajmach6@gmail.com>2023-08-21 00:51:33 +0200
committer Joel Machens <ajmach6@gmail.com>2023-08-21 01:40:21 +0200
commitdfa73f753143adc408ff9479b8ccfb4a837c9588 (patch)
tree9c107da9e75e09231824f34b5583b3b1c0b03c13 /game/src/Game/LoadingScreen.gd
parent00426f3ab57e7a06a92f3aeac6466a403a933f80 (diff)
Add Animated Gear to Loading Screen
Diffstat (limited to 'game/src/Game/LoadingScreen.gd')
-rw-r--r--game/src/Game/LoadingScreen.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/src/Game/LoadingScreen.gd b/game/src/Game/LoadingScreen.gd
index d953d20..ae04c85 100644
--- a/game/src/Game/LoadingScreen.gd
+++ b/game/src/Game/LoadingScreen.gd
@@ -5,6 +5,7 @@ extends Control
@export_subgroup("Nodes")
@export var progress_bar: ProgressBar
@export var quote_label: Label
+@export var animation_player: AnimationPlayer
var thread: Thread
var quotes: PackedStringArray = []
@@ -42,6 +43,7 @@ func _ready():
quotes = quotes_file.split("\n",false)
if quotes.is_empty():
quotes = [""]
+ animation_player.play("loadingscreen_gear")
func _exit_tree():
if thread != null and thread.is_started():