Added loading screen
This commit is contained in:
37
client/Start.tscn
Normal file
37
client/Start.tscn
Normal file
@ -0,0 +1,37 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://ds5dynfon316"]
|
||||
|
||||
[ext_resource type="Script" path="res://Start.gd" id="1_8y1vx"]
|
||||
|
||||
[node name="Start" type="CanvasLayer" node_paths=PackedStringArray("progress_bar", "modulate")]
|
||||
script = ExtResource("1_8y1vx")
|
||||
scene_path = "Main.tscn"
|
||||
progress_bar = NodePath("MarginContainer/Progress")
|
||||
modulate = NodePath("CanvasModulate")
|
||||
fade_duration = 0.75
|
||||
use_sub_threads = true
|
||||
|
||||
[node name="CanvasModulate" type="CanvasModulate" parent="."]
|
||||
|
||||
[node name="Background" type="ColorRect" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 1
|
||||
color = Color(0.12549, 0.12549, 0.12549, 1)
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
anchors_preset = 12
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -52.0
|
||||
offset_right = 28.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="Progress" type="ProgressBar" parent="MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
mouse_filter = 1
|
Reference in New Issue
Block a user