From ae7b5a4d0627a1f944d59c3041b0bb0264d4e568 Mon Sep 17 00:00:00 2001 From: cel Date: Fri, 15 Jul 2022 22:07:01 +0100 Subject: create base project structure --- godot/scenes/levels/test_scene/Floor.tscn | 17 +++++++++++++++++ godot/scenes/levels/test_scene/TestScene.tscn | 7 +++++++ 2 files changed, 24 insertions(+) create mode 100644 godot/scenes/levels/test_scene/Floor.tscn create mode 100644 godot/scenes/levels/test_scene/TestScene.tscn (limited to 'godot/scenes/levels/test_scene') 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 )] -- cgit