This commit is contained in:
2024-01-12 21:42:21 +01:00
parent 1c900a23f8
commit 9d921e4992
17 changed files with 382 additions and 0 deletions

23
scenes/levels/debug.tscn Normal file
View File

@@ -0,0 +1,23 @@
[gd_scene load_steps=4 format=3 uid="uid://ckad8stc13n83"]
[ext_resource type="PackedScene" uid="uid://gg5ph541e4p3" path="res://scenes/player.tscn" id="1_2585i"]
[sub_resource type="PlaneMesh" id="PlaneMesh_t51pb"]
size = Vector2(10, 10)
[sub_resource type="BoxShape3D" id="BoxShape3D_067df"]
size = Vector3(10, 0.01, 10)
[node name="Debug" type="Node3D"]
[node name="Ground" type="StaticBody3D" parent="."]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
mesh = SubResource("PlaneMesh_t51pb")
skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground"]
shape = SubResource("BoxShape3D_067df")
[node name="Player" parent="." instance=ExtResource("1_2585i")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)

10
scenes/levels/lvl_1.tscn Normal file
View File

@@ -0,0 +1,10 @@
[gd_scene load_steps=2 format=3 uid="uid://eok3g18b83f0"]
[ext_resource type="MeshLibrary" uid="uid://c2bhu7trxj2ef" path="res://assets/meshlib/housing.tres" id="2_68k16"]
[node name="Level1" type="Node3D"]
[node name="GridMap" type="GridMap" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.01438, 0)
mesh_library = ExtResource("2_68k16")
metadata/_editor_floor_ = Vector3(0, -1, 0)