Main Menu 0.2
This commit is contained in:
+65
-21
@@ -1,9 +1,12 @@
|
|||||||
[gd_scene load_steps=3 format=2]
|
[gd_scene load_steps=4 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Menu/iconegg.png" type="Texture" id=1]
|
[ext_resource path="res://Menu/iconegg.png" type="Texture" id=1]
|
||||||
[ext_resource path="res://Main Menu.gd" type="Script" id=2]
|
[ext_resource path="res://Main Menu.gd" type="Script" id=2]
|
||||||
|
[ext_resource path="res://main.obj" type="ArrayMesh" id=3]
|
||||||
|
|
||||||
[node name="Main Menu" type="Control"]
|
[node name="Spatial" type="Spatial"]
|
||||||
|
|
||||||
|
[node name="Main Menu" type="Control" parent="."]
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
margin_left = -35.7413
|
margin_left = -35.7413
|
||||||
@@ -15,33 +18,35 @@ __meta__ = {
|
|||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="PanelM" type="Panel" parent="."]
|
[node name="PanelM" type="Panel" parent="Main Menu"]
|
||||||
|
self_modulate = Color( 0, 0, 0, 0 )
|
||||||
|
light_mask = 2
|
||||||
margin_left = 660.0
|
margin_left = 660.0
|
||||||
margin_top = 240.0
|
margin_top = -50.9725
|
||||||
margin_right = 1260.0
|
margin_right = 647.297
|
||||||
margin_bottom = 840.0
|
margin_bottom = 549.027
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="TestButton" type="Button" parent="PanelM"]
|
[node name="TestButton" type="Button" parent="Main Menu/PanelM"]
|
||||||
margin_left = 20.0
|
margin_left = 23.7413
|
||||||
margin_top = 20.0
|
margin_top = 323.967
|
||||||
margin_right = 580.0
|
margin_right = 583.741
|
||||||
margin_bottom = 60.0
|
margin_bottom = 354.245
|
||||||
text = "Testomgeving"
|
text = "Testomgeving"
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="ExitButton" type="Button" parent="PanelM"]
|
[node name="ExitButton" type="Button" parent="Main Menu/PanelM"]
|
||||||
margin_left = 21.0526
|
margin_left = 23.7413
|
||||||
margin_top = 550.0
|
margin_top = 363.967
|
||||||
margin_right = 581.053
|
margin_right = 583.742
|
||||||
margin_bottom = 580.0
|
margin_bottom = 393.967
|
||||||
text = "Exit Game"
|
text = "Exit Game"
|
||||||
|
|
||||||
[node name="SuperButton" type="Button" parent="PanelM"]
|
[node name="SuperButton" type="Button" parent="Main Menu/PanelM"]
|
||||||
margin_left = 601.67
|
margin_left = 601.67
|
||||||
margin_top = 584.929
|
margin_top = 584.929
|
||||||
margin_right = 869.67
|
margin_right = 869.67
|
||||||
@@ -52,13 +57,52 @@ __meta__ = {
|
|||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="SuperText" type="TextEdit" parent="PanelM"]
|
[node name="SuperText" type="TextEdit" parent="Main Menu/PanelM"]
|
||||||
visible = false
|
visible = false
|
||||||
margin_left = 23.0
|
margin_left = 23.0
|
||||||
margin_top = 69.0
|
margin_top = 69.0
|
||||||
margin_right = 577.0
|
margin_right = 577.0
|
||||||
margin_bottom = 535.0
|
margin_bottom = 535.0
|
||||||
text = "Mark houdt van BBC"
|
text = "Mark houdt van BBC"
|
||||||
[connection signal="pressed" from="PanelM/TestButton" to="." method="_on_TestButton_pressed"]
|
|
||||||
[connection signal="pressed" from="PanelM/ExitButton" to="." method="_on_ExitButton_pressed"]
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
||||||
[connection signal="pressed" from="PanelM/SuperButton" to="." method="_on_SuperButton_pressed"]
|
mesh = ExtResource( 3 )
|
||||||
|
material/0 = null
|
||||||
|
material/1 = null
|
||||||
|
material/2 = null
|
||||||
|
material/3 = null
|
||||||
|
material/4 = null
|
||||||
|
material/5 = null
|
||||||
|
material/6 = null
|
||||||
|
material/7 = null
|
||||||
|
material/8 = null
|
||||||
|
material/9 = null
|
||||||
|
material/10 = null
|
||||||
|
material/11 = null
|
||||||
|
material/12 = null
|
||||||
|
material/13 = null
|
||||||
|
material/14 = null
|
||||||
|
material/15 = null
|
||||||
|
material/16 = null
|
||||||
|
material/17 = null
|
||||||
|
material/18 = null
|
||||||
|
material/19 = null
|
||||||
|
material/20 = null
|
||||||
|
material/21 = null
|
||||||
|
material/22 = null
|
||||||
|
material/23 = null
|
||||||
|
material/24 = null
|
||||||
|
material/25 = null
|
||||||
|
material/26 = null
|
||||||
|
material/27 = null
|
||||||
|
material/28 = null
|
||||||
|
material/29 = null
|
||||||
|
material/30 = null
|
||||||
|
material/31 = null
|
||||||
|
material/32 = null
|
||||||
|
|
||||||
|
[node name="Camera" type="Camera" parent="."]
|
||||||
|
transform = Transform( 0.819152, 0.196175, -0.538986, 0, 0.939693, 0.34202, 0.573577, -0.280167, 0.769751, -4.75121, 4.16099, 6.166 )
|
||||||
|
[connection signal="pressed" from="Main Menu/PanelM/TestButton" to="Main Menu" method="_on_TestButton_pressed"]
|
||||||
|
[connection signal="pressed" from="Main Menu/PanelM/ExitButton" to="Main Menu" method="_on_ExitButton_pressed"]
|
||||||
|
[connection signal="pressed" from="Main Menu/PanelM/SuperButton" to="Main Menu" method="_on_SuperButton_pressed"]
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
# Blender MTL File: 'None'
|
||||||
|
# Material Count: 2
|
||||||
|
|
||||||
|
newmtl Material
|
||||||
|
Ns 323.999994
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 0.800000 0.800000 0.800000
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.450000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
|
||||||
|
newmtl None
|
||||||
|
Ns 500
|
||||||
|
Ka 0.8 0.8 0.8
|
||||||
|
Kd 0.8 0.8 0.8
|
||||||
|
Ks 0.8 0.8 0.8
|
||||||
|
d 1
|
||||||
|
illum 2
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wavefront_obj"
|
||||||
|
type="Mesh"
|
||||||
|
path="res://.import/main.obj-f20d8b57555f2907eba01031ffe720f0.mesh"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
files=[ "res://.import/main.obj-f20d8b57555f2907eba01031ffe720f0.mesh" ]
|
||||||
|
|
||||||
|
source_file="res://main.obj"
|
||||||
|
dest_files=[ "res://.import/main.obj-f20d8b57555f2907eba01031ffe720f0.mesh", "res://.import/main.obj-f20d8b57555f2907eba01031ffe720f0.mesh" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
generate_tangents=true
|
||||||
|
scale_mesh=Vector3( 1, 1, 1 )
|
||||||
|
offset_mesh=Vector3( 0, 0, 0 )
|
||||||
|
optimize_mesh=true
|
||||||
Reference in New Issue
Block a user