aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scenes/levels
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--godot/scenes/levels/test_scene/Floor.tscn17
-rw-r--r--godot/scenes/levels/test_scene/TestScene.tscn7
2 files changed, 24 insertions, 0 deletions
diff --git a/godot/scenes/levels/test_scene/Floor.tscn b/godot/scenes/levels/test_scene/Floor.tscn
new file mode 100644
index 0000000..5b58b9f
--- /dev/null
+++ b/godot/scenes/levels/test_scene/Floor.tscn
@@ -0,0 +1,17 @@
+[gd_scene load_steps=3 format=2]
+
+[sub_resource type="CubeMesh" id=1]
+
+[sub_resource type="BoxShape" id=2]
+
+[node name="StaticBody" type="StaticBody"]
+
+[node name="MeshInstance" type="MeshInstance" parent="."]
+transform = Transform( 10, 0, 0, 0, 1, 0, 0, 0, 10, 0, 0, 0 )
+mesh = SubResource( 1 )
+skeleton = NodePath("../CollisionShape")
+material/0 = null
+
+[node name="CollisionShape" type="CollisionShape" parent="."]
+transform = Transform( 10, 0, 0, 0, 1, 0, 0, 0, 10, 0, 0, 0 )
+shape = SubResource( 2 )
diff --git a/godot/scenes/levels/test_scene/TestScene.tscn b/godot/scenes/levels/test_scene/TestScene.tscn
new file mode 100644
index 0000000..5775e39
--- /dev/null
+++ b/godot/scenes/levels/test_scene/TestScene.tscn
@@ -0,0 +1,7 @@
+[gd_scene load_steps=2 format=2]
+
+[ext_resource path="res://scenes/levels/test_scene/Floor.tscn" type="PackedScene" id=1]
+
+[node name="TestScene" type="Spatial"]
+
+[node name="Floor" parent="." instance=ExtResource( 1 )]