game: add player stats and modifiers

This commit is contained in:
2025-08-19 14:23:12 +02:00
parent c95d4341a1
commit 0f0b537921
10 changed files with 91 additions and 51 deletions

View File

@@ -2,21 +2,6 @@
[ext_resource type="Script" uid="uid://dri8n7vfnarub" path="res://scenes/damage_numbers.gd" id="1_bhj6t"]
[sub_resource type="Animation" id="Animation_ngvhj"]
resource_name = "normal_damage"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Control/Label:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(0.148651, 0.148651),
"update": 0,
"values": [Vector2(-9.5, -11.5), Vector2(-9, -82)]
}
[sub_resource type="Animation" id="Animation_bhj6t"]
length = 0.001
tracks/0/type = "value"
@@ -32,6 +17,21 @@ tracks/0/keys = {
"values": [Vector2(0, -248)]
}
[sub_resource type="Animation" id="Animation_ngvhj"]
resource_name = "normal_damage"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Control/Label:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(0.148651, 0.148651),
"update": 0,
"values": [Vector2(-9.5, -11.5), Vector2(-9, -82)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_0otjp"]
_data = {
&"RESET": SubResource("Animation_bhj6t"),