]> Untitled Git - baabarian.git/blob - main.tscn
* Fixed skin states in process_player
[baabarian.git] / main.tscn
1 [gd_scene load_steps=3 format=3 uid="uid://cbbg1tc2xqrj4"]
2
3 [ext_resource type="Script" uid="uid://clsgi3l4v8a6w" path="res://main.gd" id="1_ig7tw"]
4 [ext_resource type="PackedScene" uid="uid://cn2p6orcbai0h" path="res://map/test2.tscn" id="2_0xm2m"]
5
6 [node name="Main" type="Node"]
7 script = ExtResource("1_ig7tw")
8 scene = ExtResource("2_0xm2m")
9 load_scene_immediately = true
10 screen_size_fractional = 0.7
11
12 [node name="menu" type="Control" parent="."]
13 layout_mode = 3
14 anchors_preset = 15
15 anchor_right = 1.0
16 anchor_bottom = 1.0
17 grow_horizontal = 2
18 grow_vertical = 2
19 size_flags_horizontal = 3
20 size_flags_vertical = 3
21
22 [node name="background" type="ColorRect" parent="menu"]
23 layout_mode = 1
24 anchors_preset = 15
25 anchor_right = 1.0
26 anchor_bottom = 1.0
27 grow_horizontal = 2
28 grow_vertical = 2
29 color = Color(0.0383972, 0.0383972, 0.0383972, 1)
30
31 [node name="start" type="MarginContainer" parent="menu"]
32 layout_mode = 1
33 anchors_preset = 15
34 anchor_right = 1.0
35 anchor_bottom = 1.0
36 grow_horizontal = 2
37 grow_vertical = 2
38 size_flags_horizontal = 3
39 size_flags_vertical = 3
40 theme_override_constants/margin_left = 100
41 theme_override_constants/margin_top = 100
42 theme_override_constants/margin_right = 100
43 theme_override_constants/margin_bottom = 100
44
45 [node name="VBoxContainer" type="VBoxContainer" parent="menu/start"]
46 layout_mode = 2
47
48 [node name="Start" type="MenuButton" parent="menu/start/VBoxContainer"]
49 layout_mode = 2
50 theme_override_font_sizes/font_size = 50
51 text = "start the intro"
52
53 [node name="MarginContainer" type="MarginContainer" parent="menu/start/VBoxContainer"]
54 layout_mode = 2
55 size_flags_horizontal = 4
56 size_flags_vertical = 3
57 theme_override_constants/margin_left = 30
58 theme_override_constants/margin_top = 30
59 theme_override_constants/margin_right = 30
60 theme_override_constants/margin_bottom = 30
61
62 [node name="Label" type="Label" parent="menu/start/VBoxContainer/MarginContainer"]
63 layout_mode = 2
64 theme_override_font_sizes/font_size = 30
65 text = "Controls
66
67 e - forward
68 d - back
69 s - left
70 f - right
71
72 space/click - action"
73
74 [node name="buildVersion" type="Label" parent="menu/start/VBoxContainer"]
75 unique_name_in_owner = true
76 layout_mode = 2
77 text = "0.1.0"
78
79 [connection signal="pressed" from="menu/start/VBoxContainer/Start" to="." method="_on_start_pressed"]