work
This commit is contained in:
@ -50,8 +50,7 @@ script = ExtResource("2_hefj0")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="CharacterBody2D"]
|
||||
texture_filter = 1
|
||||
frames = SubResource("2")
|
||||
playing = true
|
||||
sprite_frames = SubResource("2")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
|
||||
scale = Vector2(0.35, 0.45)
|
||||
|
@ -10,34 +10,6 @@
|
||||
radius = 32.0
|
||||
height = 96.0
|
||||
|
||||
[sub_resource type="Animation" id="Animation_dbnl7"]
|
||||
resource_name = "idle"
|
||||
length = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D/Area2D:monitoring")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_toqbl"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
@ -105,6 +77,35 @@ tracks/2/keys = {
|
||||
}],
|
||||
"times": PackedFloat32Array(0.3)
|
||||
}
|
||||
tracks/2/use_blend = true
|
||||
|
||||
[sub_resource type="Animation" id="Animation_dbnl7"]
|
||||
resource_name = "idle"
|
||||
length = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D/Area2D:monitoring")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_qbfwu"]
|
||||
resource_name = "sheathed"
|
||||
@ -162,7 +163,6 @@ scale = Vector2(0.5, 0.5)
|
||||
shape = SubResource("2")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
playback_speed = 2.0
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_77vfc")
|
||||
}
|
||||
|
@ -17,6 +17,21 @@
|
||||
radius = 4.0
|
||||
height = 15.0
|
||||
|
||||
[sub_resource type="Animation" id="Animation_jp12d"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:texture")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("3_ysyyu")]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ofhi2"]
|
||||
resource_name = "idle"
|
||||
loop_mode = 1
|
||||
@ -33,8 +48,9 @@ tracks/0/keys = {
|
||||
"values": [ExtResource("3_ysyyu"), ExtResource("4_585xo")]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_jp12d"]
|
||||
length = 0.001
|
||||
[sub_resource type="Animation" id="Animation_7msof"]
|
||||
resource_name = "jump"
|
||||
length = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
@ -45,7 +61,7 @@ tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("3_ysyyu")]
|
||||
"values": [ExtResource("5_6hboq")]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_pjs8v"]
|
||||
@ -65,22 +81,6 @@ tracks/0/keys = {
|
||||
"values": [ExtResource("6_k4y2d"), ExtResource("7_4r16g"), ExtResource("8_whu83")]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_7msof"]
|
||||
resource_name = "jump"
|
||||
length = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:texture")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("5_6hboq")]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_6ihh4"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_jp12d"),
|
||||
@ -100,7 +100,6 @@ equipment_dir = "res://nodes/equipment"
|
||||
equipment_node = NodePath("Equipment")
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
current = true
|
||||
zoom = Vector2(2, 2)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
|
Reference in New Issue
Block a user