diff options
| author | J08nY | 2017-04-23 16:31:27 +0200 |
|---|---|---|
| committer | J08nY | 2017-04-23 16:31:27 +0200 |
| commit | cfe4ce0fb4705a6c231528d60e4833c4dc2ec68f (patch) | |
| tree | 57111775c93b70ce1c8297efdb1f21161a055bec /world.tscn | |
| parent | 04a7806aafe210aeefcd80f74d78c8d4420c54e2 (diff) | |
| download | ld38-cfe4ce0fb4705a6c231528d60e4833c4dc2ec68f.tar.gz ld38-cfe4ce0fb4705a6c231528d60e4833c4dc2ec68f.tar.zst ld38-cfe4ce0fb4705a6c231528d60e4833c4dc2ec68f.zip | |
Diffstat (limited to 'world.tscn')
| -rw-r--r-- | world.tscn | 52 |
1 files changed, 45 insertions, 7 deletions
@@ -1,6 +1,11 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=4 format=2] [ext_resource path="res://scripts/world.gd" type="Script" id=1] +[ext_resource path="res://cover_other.tscn" type="PackedScene" id=2] + +[sub_resource type="SphereShape" id=1] + +radius = 15.0 [node name="World" type="Spatial"] @@ -11,24 +16,24 @@ script = ExtResource( 1 ) transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 20, 0 ) layers = 1 light_color = Color( 0.819993, 0.824219, 0.283325, 1 ) -light_energy = 3.0 +light_energy = 2.0 light_negative = false light_specular = 0.5 light_cull_mask = -1 shadow_enabled = true shadow_color = Color( 0, 0, 0, 1 ) -shadow_bias = 5.0 +shadow_bias = 1.0 shadow_contact = 0.0 shadow_max_distance = 45.0 editor_only = false -spot_range = 30.0 +spot_range = 27.0 spot_attenuation = 1.0 -spot_angle = 35.0 -spot_angle_attenuation = 1.0 +spot_angle = 41.0 +spot_angle_attenuation = 2.0 [node name="point" type="Camera" parent="."] -transform = Transform( -3.09086e-08, -0.707107, 0.707107, -1.28028e-08, 0.707107, 0.707107, -1, 1.28028e-08, -3.09086e-08, 2, 3, 0 ) +transform = Transform( -3.09086e-08, -0.707107, 0.707107, -1.28028e-08, 0.707107, 0.707107, -1, 1.28028e-08, -3.09086e-08, 21, 17, 0 ) projection = 0 fov = 60.0 near = 0.1 @@ -40,4 +45,37 @@ environment = null h_offset = 0.0 v_offset = 0.0 +[node name="CoverOther" parent="." instance=ExtResource( 2 )] + +transform = Transform( 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0 ) + +[node name="Area" type="Area" parent="."] + +input_ray_pickable = true +input_capture_on_drag = false +shape_count = 1 +shapes/0/shape = SubResource( 1 ) +shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) +shapes/0/trigger = true +space_override = 0 +gravity_point = false +gravity_distance_scale = 0.0 +gravity_vec = Vector3( 0, -1, 0 ) +gravity = 9.8 +linear_damp = 0.1 +angular_damp = 1.0 +priority = 0.0 +monitoring = true +monitorable = true +collision_layers = 1 +collision_mask = 1 + +[node name="CollisionShape" type="CollisionShape" parent="Area"] + +shape = SubResource( 1 ) +trigger = true +_update_shape_index = 0 + +[connection signal="input_event" from="Area" to="." method="_on_Area_input_event"] + |
