tmp
This commit is contained in:
parent
0fad1dd155
commit
46196a1adb
5 changed files with 88 additions and 76 deletions
147
ui/MainMenu.tscn
147
ui/MainMenu.tscn
|
|
@ -1,128 +1,143 @@
|
|||
[gd_scene load_steps=3 format=3]
|
||||
[gd_scene format=3 uid="uid://dysn3s4stysed"]
|
||||
|
||||
[ext_resource type="Script" path="res://ui/MainMenu.gd" id="1"]
|
||||
[ext_resource type="Script" path="res://ui/IconButton.gd" id="2"]
|
||||
[node name="MainMenu" type="Node2D"]
|
||||
[ext_resource type="Script" uid="uid://p7yl0hc43yai" path="res://ui/MainMenu.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://dcvdmc68b3nve" path="res://ui/IconButton.gd" id="2"]
|
||||
|
||||
[node name="MainMenu" type="Node2D" unique_id=2119550059]
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="BackgroundLayer" type="CanvasLayer" parent="."]
|
||||
[node name="BackgroundLayer" type="CanvasLayer" parent="." unique_id=1572211077]
|
||||
layer = -10
|
||||
|
||||
[node name="Starfield" type="ColorRect" parent="BackgroundLayer"]
|
||||
color = Color(0, 0, 0, 1)
|
||||
mouse_filter = 2
|
||||
[node name="Starfield" type="ColorRect" parent="BackgroundLayer" unique_id=158789970]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="."]
|
||||
[node name="UI" type="CanvasLayer" parent="." unique_id=262516585]
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="UI"]
|
||||
[node name="TitleLabel" type="Label" parent="UI" unique_id=633236579]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -300
|
||||
offset_right = 300
|
||||
offset_top = -560
|
||||
offset_bottom = -460
|
||||
offset_left = -301.0
|
||||
offset_top = -441.0
|
||||
offset_right = 299.0
|
||||
offset_bottom = -341.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_font_sizes/font_size = 60
|
||||
horizontal_alignment = 1
|
||||
text = "SPACESHIP"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="PlayButton" type="Control" parent="UI"]
|
||||
[node name="PlayButton" type="Control" parent="UI" unique_id=353543031]
|
||||
layout_mode = 3
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -64
|
||||
offset_right = 64
|
||||
offset_top = -300
|
||||
offset_bottom = -172
|
||||
offset_left = -64.0
|
||||
offset_top = -300.0
|
||||
offset_right = 64.0
|
||||
offset_bottom = -172.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("2")
|
||||
icon = 2
|
||||
glow_color = Color(0.35, 0.95, 0.55, 1)
|
||||
|
||||
[node name="PlayLabel" type="Label" parent="UI"]
|
||||
mouse_filter = 2
|
||||
[node name="PlayLabel" type="Label" parent="UI" unique_id=154177852]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -160
|
||||
offset_right = 160
|
||||
offset_top = -160
|
||||
offset_bottom = -94
|
||||
offset_left = -160.0
|
||||
offset_top = -160.0
|
||||
offset_right = 160.0
|
||||
offset_bottom = -94.0
|
||||
theme_override_font_sizes/font_size = 32
|
||||
horizontal_alignment = 1
|
||||
text = "Play"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="EditorButton" type="Control" parent="UI"]
|
||||
[node name="EditorButton" type="Control" parent="UI" unique_id=1570704159]
|
||||
layout_mode = 3
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -64
|
||||
offset_right = 64
|
||||
offset_top = -20
|
||||
offset_bottom = 108
|
||||
offset_left = -64.0
|
||||
offset_top = -20.0
|
||||
offset_right = 64.0
|
||||
offset_bottom = 108.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("2")
|
||||
icon = 0
|
||||
glow_color = Color(0.5, 0.75, 1, 1)
|
||||
|
||||
[node name="EditorLabel" type="Label" parent="UI"]
|
||||
mouse_filter = 2
|
||||
[node name="EditorLabel" type="Label" parent="UI" unique_id=2045465507]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -200
|
||||
offset_right = 200
|
||||
offset_top = 120
|
||||
offset_bottom = 186
|
||||
offset_left = -200.0
|
||||
offset_top = 120.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 186.0
|
||||
theme_override_font_sizes/font_size = 32
|
||||
horizontal_alignment = 1
|
||||
text = "Map Editor"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="DevModeButton" type="Control" parent="UI"]
|
||||
[node name="DevModeButton" type="Control" parent="UI" unique_id=1570194022]
|
||||
layout_mode = 3
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -64
|
||||
offset_right = 64
|
||||
offset_top = 190
|
||||
offset_bottom = 318
|
||||
offset_left = -64.0
|
||||
offset_top = 190.0
|
||||
offset_right = 64.0
|
||||
offset_bottom = 318.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("2")
|
||||
icon = 29
|
||||
glow_color = Color(1, 0.7, 0.25, 1)
|
||||
|
||||
[node name="DevModeLabel" type="Label" parent="UI"]
|
||||
mouse_filter = 2
|
||||
[node name="DevModeLabel" type="Label" parent="UI" unique_id=1717729483]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -200
|
||||
offset_right = 200
|
||||
offset_top = 324
|
||||
offset_bottom = 380
|
||||
offset_left = -200.0
|
||||
offset_top = 324.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 380.0
|
||||
theme_override_font_sizes/font_size = 32
|
||||
horizontal_alignment = 1
|
||||
text = "Dev Mode"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="UI"]
|
||||
[node name="StatusLabel" type="Label" parent="UI" unique_id=1490912235]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -260
|
||||
offset_right = 260
|
||||
offset_top = 200
|
||||
offset_bottom = 260
|
||||
offset_left = -260.0
|
||||
offset_top = 200.0
|
||||
offset_right = 260.0
|
||||
offset_bottom = 260.0
|
||||
theme_override_font_sizes/font_size = 26
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
text = ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue