70 lines
2.3 KiB
Text
70 lines
2.3 KiB
Text
|
|
[gd_scene format=3 uid="uid://bor2crcvgyams"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://dytci31yxfsp2" path="res://scenes/ui/main_menu/main_menu.gd" id="1_1ch07"]
|
||
|
|
|
||
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_qt1dd"]
|
||
|
|
viewport_path = NodePath("SubViewport")
|
||
|
|
|
||
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_02q7b"]
|
||
|
|
resource_local_to_scene = true
|
||
|
|
transparency = 1
|
||
|
|
albedo_texture = SubResource("ViewportTexture_qt1dd")
|
||
|
|
|
||
|
|
[sub_resource type="QuadMesh" id="QuadMesh_02q7b"]
|
||
|
|
material = SubResource("StandardMaterial3D_02q7b")
|
||
|
|
size = Vector2(1.92, 1.08)
|
||
|
|
|
||
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_02q7b"]
|
||
|
|
size = Vector3(1.92, 1.08, 0.05)
|
||
|
|
|
||
|
|
[node name="MainMenu" type="Node3D" unique_id=125340116]
|
||
|
|
|
||
|
|
[node name="Camera3D" type="Camera3D" parent="." unique_id=629879959]
|
||
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.2416561)
|
||
|
|
|
||
|
|
[node name="SubViewport" type="SubViewport" parent="." unique_id=1756952437]
|
||
|
|
unique_name_in_owner = true
|
||
|
|
transparent_bg = true
|
||
|
|
size = Vector2i(1980, 1080)
|
||
|
|
|
||
|
|
[node name="MenuUi" type="Control" parent="SubViewport" unique_id=2130463806]
|
||
|
|
layout_mode = 3
|
||
|
|
anchors_preset = 15
|
||
|
|
anchor_right = 1.0
|
||
|
|
anchor_bottom = 1.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
|
||
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="SubViewport/MenuUi" unique_id=1437013632]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 15
|
||
|
|
anchor_right = 1.0
|
||
|
|
anchor_bottom = 1.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
|
||
|
|
[node name="Button" type="Button" parent="SubViewport/MenuUi/VBoxContainer" unique_id=100772649]
|
||
|
|
layout_mode = 2
|
||
|
|
text = "Start random"
|
||
|
|
|
||
|
|
[node name="Button2" type="Button" parent="SubViewport/MenuUi/VBoxContainer" unique_id=2127276855]
|
||
|
|
layout_mode = 2
|
||
|
|
text = "Start dev"
|
||
|
|
|
||
|
|
[node name="Button3" type="Button" parent="SubViewport/MenuUi/VBoxContainer" unique_id=2089724034]
|
||
|
|
layout_mode = 2
|
||
|
|
text = "Settings"
|
||
|
|
|
||
|
|
[node name="Button4" type="Button" parent="SubViewport/MenuUi/VBoxContainer" unique_id=1837266588]
|
||
|
|
layout_mode = 2
|
||
|
|
text = "Exit"
|
||
|
|
|
||
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=813862939]
|
||
|
|
mesh = SubResource("QuadMesh_02q7b")
|
||
|
|
|
||
|
|
[node name="Area3D" type="Area3D" parent="MeshInstance3D" unique_id=1370892947]
|
||
|
|
script = ExtResource("1_1ch07")
|
||
|
|
|
||
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/Area3D" unique_id=685346505]
|
||
|
|
shape = SubResource("BoxShape3D_02q7b")
|