MainMenu3D Fully working except for references

This commit is contained in:
Arthur
2022-12-11 11:19:29 +01:00
parent 8bb73800ef
commit 10091e2f88
6 changed files with 71 additions and 18 deletions

View File

@@ -19,8 +19,8 @@
[ext_resource type="PackedScene" uid="uid://nxapkgcq2c70" path="res://Nodes/light_setup.tscn" id="13_smxpv"]
[ext_resource type="PackedScene" uid="uid://dhe41jox6id7r" path="res://Assets/Model/MainMenuObjects/bild_deko.glb" id="14_gbsgf"]
[ext_resource type="Script" path="res://scripts/3DUI/zahnraeder.gd" id="14_o12ah"]
[ext_resource type="Texture2D" uid="uid://bb32ohgxsjd4h" path="res://Assets/Textures/Font/Opera_senza_titolo.png" id="18_fvvjm"]
[ext_resource type="Texture2D" uid="uid://60i5abp5yobu" path="res://Assets/Textures/Font/settings.png" id="19_go7mp"]
[ext_resource type="Texture2D" uid="uid://1gpuhu61xah1" path="res://Assets/Textures/Font/titolo.png" id="21_qybk8"]
[node name="MainMenu3D" type="Node3D"]
@@ -108,8 +108,8 @@ transform = Transform3D(-0.5, 7.54979e-08, 3.30012e-15, 0, -2.18557e-08, 0.5, 7.
texture = ExtResource("19_go7mp")
[node name="Sprite3D" type="Sprite3D" parent="."]
transform = Transform3D(-0.7, 1.05697e-07, 4.62017e-15, 0, -3.0598e-08, 0.7, 1.05697e-07, 0.7, 3.0598e-08, 2.19996, 1, 4.10689)
texture = ExtResource("18_fvvjm")
transform = Transform3D(-1, 1.50996e-07, 6.60024e-15, 0, -4.37114e-08, 1, 1.50996e-07, 1, 4.37114e-08, 2.2, 0.44, 4.107)
texture = ExtResource("21_qybk8")
[connection signal="input_event" from="dreieck/Area3D" to="dreieck" method="_on_area_3d_input_event"]
[connection signal="mouse_exited" from="dreieck/Area3D" to="dreieck" method="_on_area_3d_mouse_exited"]

View File

@@ -31,7 +31,6 @@ script = ExtResource("1_dxr24")
[node name="Panel" type="Panel" parent="."]
custom_minimum_size = Vector2(15, 0)
layout_mode = 1
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
@@ -40,7 +39,6 @@ grow_horizontal = 2
grow_vertical = 2
[node name="VSlider" type="VSlider" parent="."]
layout_mode = 1
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
@@ -58,7 +56,6 @@ editable = false
scrollable = false
[node name="VSlider2" type="VSlider" parent="."]
layout_mode = 1
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
@@ -77,7 +74,7 @@ scrollable = false
[node name="GameOver" type="Control" parent="."]
visible = false
layout_mode = 1
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@@ -85,7 +82,6 @@ grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="GameOver"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
@@ -102,7 +98,6 @@ label_settings = SubResource("LabelSettings_ot0gm")
horizontal_alignment = 1
[node name="VBoxContainer" type="VBoxContainer" parent="GameOver"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
@@ -118,15 +113,12 @@ size_flags_horizontal = 4
size_flags_vertical = 4
[node name="Button" type="Button" parent="GameOver/VBoxContainer"]
layout_mode = 2
text = "RESTART"
[node name="Button2" type="Button" parent="GameOver/VBoxContainer"]
layout_mode = 2
text = "BACK TO MAIN MENU"
[node name="BoxContainer" type="BoxContainer" parent="GameOver"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
@@ -141,24 +133,21 @@ grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="GameOver/BoxContainer"]
custom_minimum_size = Vector2(900, 500)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="TextureRect" type="TextureRect" parent="GameOver/BoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(500, 0)
layout_mode = 2
texture = ExtResource("3_segqn")
ignore_texture_size = true
[node name="TextureRect2" type="TextureRect" parent="GameOver/BoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(500, 0)
layout_mode = 2
texture = ExtResource("4_uiyin")
ignore_texture_size = true
[node name="Control" type="Control" parent="."]
layout_mode = 1
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@@ -166,7 +155,6 @@ grow_horizontal = 2
grow_vertical = 2
[node name="Stats_Player1" parent="Control" instance=ExtResource("3_yhsvf")]
layout_mode = 1
anchors_preset = 0
anchor_bottom = 0.0
offset_right = 0.0
@@ -174,7 +162,6 @@ grow_vertical = 1
scale = Vector2(0.6, 0.6)
[node name="Stats_Player2" parent="Control" instance=ExtResource("4_c4m18")]
layout_mode = 1
scale = Vector2(0.6, 0.6)
[connection signal="pressed" from="GameOver/VBoxContainer/Button" to="." method="_on_button_pressed"]