summaryrefslogtreecommitdiffstats
path: root/assets/maps
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2022-07-16 11:17:29 -0400
committerMalfurious <m@lfurio.us>2022-07-16 11:17:29 -0400
commit0f9bd265f726e2de5de1ea556e55f7d884723247 (patch)
treed2ae62b3f25c39f014d3de6347d0e49fe0ce57a5 /assets/maps
parent542d3b4f99741b18ba7217199590edaed3ed9957 (diff)
downloadproject-s-0f9bd265f726e2de5de1ea556e55f7d884723247.tar.gz
project-s-0f9bd265f726e2de5de1ea556e55f7d884723247.zip
Add bare-bones testing map: DevPlane
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'assets/maps')
-rw-r--r--assets/maps/misc/dev_plane/DevPlane.tscn75
-rw-r--r--assets/maps/misc/dev_plane/tile_color.pngbin0 -> 3973 bytes
-rw-r--r--assets/maps/misc/dev_plane/tile_color.png.import37
3 files changed, 112 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 )
diff --git a/assets/maps/misc/dev_plane/tile_color.png b/assets/maps/misc/dev_plane/tile_color.png
new file mode 100644
index 0000000..a8100a3
--- /dev/null
+++ b/assets/maps/misc/dev_plane/tile_color.png
Binary files differ
diff --git a/assets/maps/misc/dev_plane/tile_color.png.import b/assets/maps/misc/dev_plane/tile_color.png.import
new file mode 100644
index 0000000..16985a2
--- /dev/null
+++ b/assets/maps/misc/dev_plane/tile_color.png.import
@@ -0,0 +1,37 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path.s3tc="res://.import/tile_color.png-795ff804c63f489d48b5f96387971361.s3tc.stex"
+path.etc2="res://.import/tile_color.png-795ff804c63f489d48b5f96387971361.etc2.stex"
+metadata={
+"imported_formats": [ "s3tc", "etc2" ],
+"vram_texture": true
+}
+
+[deps]
+
+source_file="res://assets/maps/misc/dev_plane/tile_color.png"
+dest_files=[ "res://.import/tile_color.png-795ff804c63f489d48b5f96387971361.s3tc.stex", "res://.import/tile_color.png-795ff804c63f489d48b5f96387971361.etc2.stex" ]
+
+[params]
+
+compress/mode=2
+compress/lossy_quality=0.7
+compress/hdr_mode=0
+compress/bptc_ldr=0
+compress/normal_map=0
+flags/repeat=true
+flags/filter=true
+flags/mipmaps=true
+flags/anisotropic=false
+flags/srgb=1
+process/fix_alpha_border=true
+process/premult_alpha=false
+process/HDR_as_SRGB=false
+process/invert_color=false
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=false
+svg/scale=1.0