2024-02-03 00:57:33 +01:00

55 lines
2.2 KiB
Plaintext

[gd_scene load_steps=11 format=3 uid="uid://2lcnu3dy54lx"]
[ext_resource type="Script" path="res://player/Player.gd" id="1_8gebs"]
[ext_resource type="PackedScene" uid="uid://dnr3o1rbkqpgu" path="res://assets/models/female/Female.blend" id="2_8nah6"]
[ext_resource type="PackedScene" uid="uid://2bbycjulf00g" path="res://character/health/HealthComponent.tscn" id="2_np5ag"]
[ext_resource type="FontFile" uid="uid://b7mov13kwi8u8" path="res://assets/ui/font/ubuntu_nf_regular.ttf" id="4_76ehj"]
[ext_resource type="Script" path="res://player/Animation.gd" id="5_d4uw4"]
[ext_resource type="Animation" uid="uid://dtjukkf6gxotr" path="res://assets/animations/idle.res" id="6_af1ii"]
[ext_resource type="Animation" uid="uid://cdff3pqukhf3q" path="res://assets/animations/run.res" id="7_23e77"]
[ext_resource type="Animation" uid="uid://dgcitda225sht" path="res://assets/animations/jump.res" id="8_v1exn"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2f50n"]
radius = 0.25
height = 1.6
[sub_resource type="AnimationLibrary" id="AnimationLibrary_umd50"]
_data = {
"idle": ExtResource("6_af1ii"),
"jump": ExtResource("8_v1exn"),
"run": ExtResource("7_23e77")
}
[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("model") groups=["player"]]
script = ExtResource("1_8gebs")
model = NodePath("Model")
[node name="Model" type="Node3D" parent="."]
[node name="Female" parent="Model" instance=ExtResource("2_8nah6")]
[node name="Collision" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource("CapsuleShape3D_2f50n")
[node name="Label" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
billboard = 1
text = "Player"
font = ExtResource("4_76ehj")
[node name="Animation" type="Node" parent="." node_paths=PackedStringArray("character", "animation_player")]
script = ExtResource("5_d4uw4")
character = NodePath("..")
animation_player = NodePath("../AnimationPlayer")
blend_time = 0.2
[node name="Health" parent="." instance=ExtResource("2_np5ag")]
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../Model/Female")
libraries = {
"female": SubResource("AnimationLibrary_umd50")
}
playback_default_blend_time = 0.2