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

Binary file not shown.

View File

@@ -0,0 +1,30 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://d1xca1jqq0nyv"
path="res://.godot/imported/rail_menu.glb-9387fdc190d15b559664a02e20b7a36f.scn"
[deps]
source_file="res://Assets/Textures/Font/rail_menu.glb"
dest_files=["res://.godot/imported/rail_menu.glb-9387fdc190d15b559664a02e20b7a36f.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
import_script/path=""
_subresources={}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -0,0 +1,36 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://1gpuhu61xah1"
path.s3tc="res://.godot/imported/titolo.png-827539b76537f287f793637005cd7279.s3tc.ctex"
path.etc2="res://.godot/imported/titolo.png-827539b76537f287f793637005cd7279.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://Assets/Textures/Font/titolo.png"
dest_files=["res://.godot/imported/titolo.png-827539b76537f287f793637005cd7279.s3tc.ctex", "res://.godot/imported/titolo.png-827539b76537f287f793637005cd7279.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

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"]