aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameStart.tscn
blob: eccddc929c0f193559ce32bc2c919d67684bb788 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[gd_scene load_steps=7 format=3 uid="uid://1udsn4mggep2"]

[ext_resource type="Script" path="res://src/Game/GameStart.gd" id="1_e0cos"]
[ext_resource type="PackedScene" uid="uid://3kktdpfnc0sn" path="res://src/Game/LoadingScreen.tscn" id="2_h0oiw"]
[ext_resource type="Script" path="res://src/Game/SplashContainer.gd" id="2_xmcgv"]
[ext_resource type="Texture2D" uid="uid://deef5hufq0j61" path="res://assets/graphics/splash_end.png" id="3_qfv12"]
[ext_resource type="Texture2D" uid="uid://cgdnixsyh7bja" path="res://assets/graphics/splash_image.png" id="4_5b6yq"]
[ext_resource type="VideoStream" path="res://assets/graphics/splash_startup.ogv" id="5_8euyy"]

[node name="GameStartup" type="Control" node_paths=PackedStringArray("loading_screen")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_e0cos")
loading_screen = NodePath("LoadingScreen")

[node name="LoadingScreen" parent="." instance=ExtResource("2_h0oiw")]
visible = false
layout_mode = 1

[node name="SplashContainer" type="AspectRatioContainer" parent="." node_paths=PackedStringArray("_splash_finish", "_splash_image", "_splash_video")]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
ratio = 1.7778
stretch_mode = 3
script = ExtResource("2_xmcgv")
_splash_finish = NodePath("SplashFinish")
_splash_image = NodePath("SplashImage")
_splash_video = NodePath("SplashVideo")

[node name="SplashFinish" type="TextureRect" parent="SplashContainer"]
layout_mode = 2
texture = ExtResource("3_qfv12")
expand_mode = 1

[node name="SplashImage" type="TextureRect" parent="SplashContainer"]
layout_mode = 2
texture = ExtResource("4_5b6yq")
expand_mode = 1

[node name="SplashVideo" type="VideoStreamPlayer" parent="SplashContainer"]
layout_mode = 2
stream = ExtResource("5_8euyy")
autoplay = true
expand = true

[connection signal="splash_end" from="SplashContainer" to="." method="_on_splash_container_splash_end"]
[connection signal="finished" from="SplashContainer/SplashVideo" to="SplashContainer" method="_on_splash_startup_finished"]