diff options
author | cel <cel@blos.sm> | 2022-07-17 07:11:45 +0100 |
---|---|---|
committer | cel <cel@blos.sm> | 2022-07-17 07:11:45 +0100 |
commit | 88fdf66db3dfc1c761860f1b18254a239e0e64e6 (patch) | |
tree | 7e4852117cd26b367fd78943a3f324f58d0a4d21 /godot/scenes/levels/MainMenu.tscn | |
parent | 6cdf5b1fc587bfa7f3ed8b3388c232269946a5da (diff) | |
download | 2022-88fdf66db3dfc1c761860f1b18254a239e0e64e6.tar.gz 2022-88fdf66db3dfc1c761860f1b18254a239e0e64e6.tar.bz2 2022-88fdf66db3dfc1c761860f1b18254a239e0e64e6.zip |
fix ball bug
Diffstat (limited to '')
-rw-r--r-- | godot/scenes/levels/MainMenu.tscn | 52 |
1 files changed, 51 insertions, 1 deletions
diff --git a/godot/scenes/levels/MainMenu.tscn b/godot/scenes/levels/MainMenu.tscn index a91b3fa..b06a027 100644 --- a/godot/scenes/levels/MainMenu.tscn +++ b/godot/scenes/levels/MainMenu.tscn @@ -1,10 +1,54 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=10 format=2] [ext_resource path="res://scenes/Menu.tscn" type="PackedScene" id=1] [ext_resource path="res://assets/game_objects/W8.gltf" type="PackedScene" id=2] [ext_resource path="res://scenes/Rotator.gd" type="Script" id=3] [ext_resource path="res://assets/sounds/main_menu.mp3" type="AudioStream" id=4] +[sub_resource type="VisualShaderNodeColorConstant" id=2] +constant = Color( 0.0428785, 0.101562, 0.0362446, 1 ) + +[sub_resource type="VisualShader" id=3] +code = "shader_type spatial; +render_mode specular_schlick_ggx; + + + + +void vertex() { +// Output:0 + +} + +void fragment() { +// Color:2 + vec3 n_out2p0 = vec3(0.042878, 0.101562, 0.036245); + float n_out2p1 = 1.000000; + +// Output:0 + ALBEDO = n_out2p0; + +} + +void light() { +// Output:0 + +} +" +graph_offset = Vector2( 0, 75 ) +nodes/fragment/0/position = Vector2( 660, 200 ) +nodes/fragment/2/node = SubResource( 2 ) +nodes/fragment/2/position = Vector2( 240, 280 ) +nodes/fragment/connections = PoolIntArray( 2, 0, 0, 0 ) + +[sub_resource type="ShaderMaterial" id=4] +shader = SubResource( 3 ) + +[sub_resource type="PlaneMesh" id=1] +material = SubResource( 4 ) + +[sub_resource type="Skin" id=5] + [node name="MainMenu" type="Spatial"] [node name="Menu" parent="." instance=ExtResource( 1 )] @@ -18,3 +62,9 @@ transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 5, 0 [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."] stream = ExtResource( 4 ) autoplay = true + +[node name="Background" type="MeshInstance" parent="."] +transform = Transform( 10, 0, 0, 0, 1, 0, 0, 0, 10, 0, -3.21632, 0 ) +mesh = SubResource( 1 ) +skin = SubResource( 5 ) +material/0 = null |