GiantsEditReloaded/3d.tscn

57 lines
1.7 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://MeshInstance.tscn" type="PackedScene" id=2]
[ext_resource path="res://3d.gd" type="Script" id=3]
[ext_resource path="res://ImmediateGeometry.gd" type="Script" id=4]
[ext_resource path="res://Water.tscn" type="PackedScene" id=5]
[sub_resource type="SpatialMaterial" id=7]
vertex_color_use_as_albedo = true
params_cull_mode = 2
[sub_resource type="SpatialMaterial" id=6]
vertex_color_use_as_albedo = true
params_diffuse_mode = 4
params_specular_mode = 4
params_cull_mode = 2
[node name="Spatial" type="Spatial"]
script = ExtResource( 3 )
[node name="Player" parent="." instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.151, 200, -0.003 )
[node name="GiantsTerrain" parent="." instance=ExtResource( 2 )]
material_override = SubResource( 7 )
[node name="Label" type="Label" parent="."]
margin_right = 40.0
margin_bottom = 14.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, -0.00790628, 0.999969, 0, -0.999969, -0.00790628, 0, 300, 0 )
light_energy = 1.94
shadow_enabled = true
[node name="ImmediateGeometry" type="ImmediateGeometry" parent="."]
material_override = SubResource( 6 )
cast_shadow = 0
script = ExtResource( 4 )
[node name="Water" parent="." instance=ExtResource( 5 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -10, 0 )
[node name="Button" type="Button" parent="."]
margin_top = 579.365
margin_right = 40.0
margin_bottom = 599.365
text = "Quit"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]