Main Menu 0.3

This commit is contained in:
2020-02-19 00:32:05 +01:00
parent 303bac604b
commit d65d31abce
9 changed files with 1201 additions and 39 deletions
+33 -39
View File
@@ -1,10 +1,22 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=7 format=2]
[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.obj" type="ArrayMesh" id=3]
[ext_resource path="res://main.tscn" type="PackedScene" id=3]
[ext_resource path="res://MainSpatial.gd" type="Script" id=4]
[sub_resource type="ProceduralSky" id=1]
sky_top_color = Color( 0.482353, 0.494118, 0.54902, 1 )
sky_horizon_color = Color( 0.368627, 0.372549, 0.376471, 1 )
sun_latitude = 2.77
sun_longitude = -50.44
[sub_resource type="Environment" id=2]
background_mode = 2
background_sky = SubResource( 1 )
[node name="Spatial" type="Spatial"]
script = ExtResource( 4 )
[node name="Main Menu" type="Control" parent="."]
anchor_right = 1.0
@@ -65,44 +77,26 @@ margin_right = 577.0
margin_bottom = 535.0
text = "Mark houdt van BBC"
[node name="MeshInstance" type="MeshInstance" parent="."]
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 )
transform = Transform( 0.766044, 0.219846, -0.604023, 0, 0.939693, 0.34202, 0.642788, -0.262003, 0.719846, -5.82918, 4.84503, 7.7055 )
[node name="World" type="WorldEnvironment" parent="."]
environment = SubResource( 2 )
[node name="DirectionalLight" type="DirectionalLight" parent="World"]
transform = Transform( 0.258819, 0.25, -0.933013, 0.25, 0.915675, 0.314705, 0.933013, -0.314705, 0.174494, -14, 3, 5 )
shadow_enabled = true
[node name="RedLight" type="OmniLight" parent="World"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.888972, 2.04766, -3.3905 )
light_color = Color( 0.972549, 0.0431373, 0.0235294, 1 )
light_energy = 10.22
light_indirect_energy = 1.04
light_specular = 0.31
omni_range = 20.0
omni_attenuation = 1.1487
[node name="main" parent="." instance=ExtResource( 3 )]
[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"]