diff options
author | Malfurious <m@lfurio.us> | 2022-07-16 11:17:29 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2022-07-16 11:17:29 -0400 |
commit | 0f9bd265f726e2de5de1ea556e55f7d884723247 (patch) | |
tree | d2ae62b3f25c39f014d3de6347d0e49fe0ce57a5 /assets/maps/misc/dev_plane/DevPlane.tscn | |
parent | 542d3b4f99741b18ba7217199590edaed3ed9957 (diff) | |
download | project-s-0f9bd265f726e2de5de1ea556e55f7d884723247.tar.gz project-s-0f9bd265f726e2de5de1ea556e55f7d884723247.zip |
Add bare-bones testing map: DevPlane
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to '')
-rw-r--r-- | assets/maps/misc/dev_plane/DevPlane.tscn | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/assets/maps/misc/dev_plane/DevPlane.tscn b/assets/maps/misc/dev_plane/DevPlane.tscn new file mode 100644 index 0000000..228e30b --- /dev/null +++ b/assets/maps/misc/dev_plane/DevPlane.tscn @@ -0,0 +1,75 @@ +[gd_scene load_steps=8 format=2] + +[ext_resource path="res://assets/maps/misc/dev_plane/tile_color.png" type="Texture" id=1] + +[sub_resource type="SpatialMaterial" id=6] +albedo_texture = ExtResource( 1 ) +uv1_scale = Vector3( 0.125, 1, 0.125 ) +uv1_triplanar = true + +[sub_resource type="CubeMesh" id=1] +material = SubResource( 6 ) +size = Vector3( 240, 1, 240 ) + +[sub_resource type="BoxShape" id=2] +extents = Vector3( 120, 0.5, 120 ) + +[sub_resource type="SpatialMaterial" id=3] +albedo_color = Color( 0.780392, 0.0431373, 0.0431373, 1 ) + +[sub_resource type="CubeMesh" id=4] +material = SubResource( 3 ) + +[sub_resource type="BoxShape" id=5] + +[node name="DevPlane" type="Spatial"] + +[node name="DirectionalLight" type="DirectionalLight" parent="."] +transform = Transform( -4.37114e-08, -0.292372, 0.956305, 0, 0.956305, 0.292372, -1, 1.278e-08, -4.18014e-08, 0, 10, 0 ) +shadow_enabled = true +directional_shadow_blend_splits = true + +[node name="Camera" type="Camera" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.70758, 7.29223 ) + +[node name="Geometry" type="Spatial" parent="."] + +[node name="Floor" type="StaticBody" parent="Geometry"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0 ) + +[node name="MeshInstance" type="MeshInstance" parent="Geometry/Floor"] +mesh = SubResource( 1 ) +material/0 = null + +[node name="CollisionShape" type="CollisionShape" parent="Geometry/Floor"] +shape = SubResource( 2 ) + +[node name="TestCube1" type="RigidBody" parent="."] +transform = Transform( 0.726215, -0.00350858, -0.687459, 0.470969, 0.731, 0.493789, 0.5008, -0.682368, 0.532515, 0, 5.3564, -15.6284 ) + +[node name="MeshInstance" type="MeshInstance" parent="TestCube1"] +mesh = SubResource( 4 ) +material/0 = null + +[node name="CollisionShape" type="CollisionShape" parent="TestCube1"] +shape = SubResource( 5 ) + +[node name="TestCube2" type="RigidBody" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 1, 0 ) + +[node name="MeshInstance" type="MeshInstance" parent="TestCube2"] +mesh = SubResource( 4 ) +material/0 = null + +[node name="CollisionShape" type="CollisionShape" parent="TestCube2"] +shape = SubResource( 5 ) + +[node name="TestCube3" type="RigidBody" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 11, 1, 0 ) + +[node name="MeshInstance" type="MeshInstance" parent="TestCube3"] +mesh = SubResource( 4 ) +material/0 = null + +[node name="CollisionShape" type="CollisionShape" parent="TestCube3"] +shape = SubResource( 5 ) |