diff options
author | cel <cel@blos.sm> | 2022-07-15 22:07:01 +0100 |
---|---|---|
committer | cel <cel@blos.sm> | 2022-07-15 22:07:01 +0100 |
commit | ae7b5a4d0627a1f944d59c3041b0bb0264d4e568 (patch) | |
tree | 08b99060154b99299ef23d16ae9d3bc9916a6a7f /godot/scenes/levels | |
parent | a46a91e183a272e012354a6f0263299448205acb (diff) | |
download | 2022-ae7b5a4d0627a1f944d59c3041b0bb0264d4e568.tar.gz 2022-ae7b5a4d0627a1f944d59c3041b0bb0264d4e568.tar.bz2 2022-ae7b5a4d0627a1f944d59c3041b0bb0264d4e568.zip |
create base project structure
Diffstat (limited to 'godot/scenes/levels')
-rw-r--r-- | godot/scenes/levels/test_scene/Floor.tscn | 17 | ||||
-rw-r--r-- | godot/scenes/levels/test_scene/TestScene.tscn | 7 |
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 )] |