Added debug labels

This commit is contained in:
2024-01-18 23:35:17 +01:00
parent 7eba25c83b
commit ce699ee6db
22 changed files with 256 additions and 108 deletions

View File

@ -1,23 +1,34 @@
[gd_scene load_steps=5 format=3 uid="uid://2lcnu3dy54lx"]
[gd_scene load_steps=6 format=3 uid="uid://2lcnu3dy54lx"]
[ext_resource type="Script" path="res://player/Player.gd" id="1_8gebs"]
[ext_resource type="PackedScene" uid="uid://2bbycjulf00g" path="res://character/HealthComponent.tscn" id="2_np5ag"]
[ext_resource type="Script" path="res://player/PlayerController.gd" id="3_oox5k"]
[sub_resource type="BoxShape3D" id="BoxShape3D_fx2di"]
[sub_resource type="PrismMesh" id="PrismMesh_y7abh"]
size = Vector3(0.5, 1.6, 0.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5eict"]
diffuse_mode = 3
albedo_color = Color(0.0588235, 0.0823529, 0.113725, 1)
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2f50n"]
radius = 0.23
height = 1.6
[sub_resource type="BoxMesh" id="BoxMesh_8125v"]
material = SubResource("StandardMaterial3D_5eict")
[node name="Player" type="CharacterBody3D" groups=["Player"]]
[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("model") groups=["player"]]
script = ExtResource("1_8gebs")
model = NodePath("Model")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
shape = SubResource("BoxShape3D_fx2di")
[node name="Model" type="Node3D" parent="."]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
mesh = SubResource("BoxMesh_8125v")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Model"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
mesh = SubResource("PrismMesh_y7abh")
[node name="CollisionShape" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource("CapsuleShape3D_2f50n")
[node name="HealthComponent" parent="." instance=ExtResource("2_np5ag")]
[node name="PlayerController" type="Node" parent="." node_paths=PackedStringArray("character")]
script = ExtResource("3_oox5k")
character = NodePath("..")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]