Compare commits
5 commits
b92655c56f
...
41ccbd0765
Author | SHA1 | Date | |
---|---|---|---|
41ccbd0765 | |||
3bf09393a6 | |||
b7179614a6 | |||
bdb610b1e4 | |||
4a8434f5a8 |
23 changed files with 444 additions and 206 deletions
BIN
Hiro/Hiro_Idle_Blink_Sprites.png
(Stored with Git LFS)
Normal file
BIN
Hiro/Hiro_Idle_Blink_Sprites.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
Hiro/Hiro_Idle_Blink_Sprites.png.import
Normal file
34
Hiro/Hiro_Idle_Blink_Sprites.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c4iwqijfp013h"
|
||||
path="res://.godot/imported/Hiro_Idle_Blink_Sprites.png-5e38a9246cb610340f57cffc620085d6.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Hiro/Hiro_Idle_Blink_Sprites.png"
|
||||
dest_files=["res://.godot/imported/Hiro_Idle_Blink_Sprites.png-5e38a9246cb610340f57cffc620085d6.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
|
@ -241,7 +241,7 @@ states/naked_start/position = Vector2(734, 202)
|
|||
states/walk/node = SubResource("AnimationNodeBlendSpace2D_vunsg")
|
||||
states/walk/position = Vector2(519, 108)
|
||||
transitions = ["Start", "idle", SubResource("AnimationNodeStateMachineTransition_akmuq"), "idle", "walk", SubResource("AnimationNodeStateMachineTransition_sn1tm"), "walk", "idle", SubResource("AnimationNodeStateMachineTransition_5i3fu"), "idle", "melee", SubResource("AnimationNodeStateMachineTransition_y8p74"), "melee", "idle", SubResource("AnimationNodeStateMachineTransition_l17k0"), "hurt", "idle", SubResource("AnimationNodeStateMachineTransition_ln3pc"), "naked_start", "naked", SubResource("AnimationNodeStateMachineTransition_l5ng5")]
|
||||
graph_offset = Vector2(79, 269)
|
||||
graph_offset = Vector2(-75, -44)
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_vm050"]
|
||||
radius = 9.0
|
||||
|
@ -273,7 +273,7 @@ script = ExtResource("1_inmen")
|
|||
reduce_recoil_time_threshold = 0.75
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
modulate = Color(0.498039, 0.498039, 0.498039, 1)
|
||||
modulate = Color(0.75, 0.75, 0.75, 1)
|
||||
texture_filter = 1
|
||||
material = SubResource("ShaderMaterial_7ckhc")
|
||||
position = Vector2(0, -13)
|
||||
|
@ -288,8 +288,8 @@ tree_root = SubResource("AnimationNodeStateMachine_b0avg")
|
|||
parameters/conditions/is_moving = false
|
||||
parameters/conditions/melee = false
|
||||
parameters/cut_walk/blend_position = Vector2(0.116751, -1.05556)
|
||||
parameters/hurt/blend_position = Vector2(0.949916, -0.0132159)
|
||||
parameters/idle/blend_position = Vector2(-0.0243112, 0.73545)
|
||||
parameters/hurt/blend_position = Vector2(0.00438976, 0.714286)
|
||||
parameters/idle/blend_position = Vector2(-0.000877976, 0.746032)
|
||||
parameters/melee/blend_position = 0.0
|
||||
parameters/melee/0/blend_position = Vector2(0.66778, -0.765217)
|
||||
parameters/melee/1/blend_position = Vector2(-0.218698, 0.0434783)
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
[gd_resource type="AnimationLibrary" load_steps=35 format=3 uid="uid://dincs5x4qucal"]
|
||||
[gd_resource type="AnimationLibrary" load_steps=36 format=3 uid="uid://dincs5x4qucal"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cm7tgomrcvq30" path="res://Hiro/Hiro Walk Sprite Cycle Line Up.png" id="1_hc7kj"]
|
||||
[ext_resource type="Texture2D" uid="uid://rcidedgcjqg6" path="res://Hiro/Hiro Hurt Sprites.png" id="2_2k6ad"]
|
||||
[ext_resource type="Texture2D" uid="uid://bio3egs7q7wog" path="res://Hiro/Hiro Melee Sprites.png" id="3_5swnw"]
|
||||
[ext_resource type="Texture2D" uid="uid://c4iwqijfp013h" path="res://Hiro/Hiro_Idle_Blink_Sprites.png" id="4_86osg"]
|
||||
[ext_resource type="Texture2D" uid="uid://06a1bf8kjte6" path="res://Hiro/Hiro Defeated Sprites nb.png" id="4_fugxd"]
|
||||
[ext_resource type="Texture2D" uid="uid://byc7mqu65fb4a" path="res://Hiro/Hiro Defeated Nude Sprites Line.png" id="5_0f03l"]
|
||||
|
||||
|
@ -15,86 +16,86 @@ step = 0.5
|
|||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
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": [0]
|
||||
"values": [ExtResource("1_hc7kj")]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D:texture")
|
||||
tracks/1/path = NodePath("Sprite2D:hframes")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_hc7kj")]
|
||||
"values": [20]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite2D:hframes")
|
||||
tracks/2/path = NodePath("Sprite2D:vframes")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [1]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Sprite2D:vframes")
|
||||
tracks/3/path = NodePath("AnimationTree:parameters/conditions/melee")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [false]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("AnimationTree:parameters/conditions/melee")
|
||||
tracks/4/path = NodePath("Attackbox/Collider:position")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("Attackbox/Collider:position")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0, 0.0666667),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, -10), Vector2(0, -14)]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("Attackbox/Collider:disabled")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
tracks/6/type = "value"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("Attackbox/Collider:disabled")
|
||||
tracks/6/path = NodePath("Sprite2D:frame")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
"values": [0]
|
||||
}
|
||||
tracks/7/type = "value"
|
||||
tracks/7/imported = false
|
||||
|
@ -513,18 +514,19 @@ tracks/4/keys = {
|
|||
|
||||
[sub_resource type="Animation" id="Animation_3oagy"]
|
||||
resource_name = "idle_east"
|
||||
length = 0.6
|
||||
length = 5.40001
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
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": [5]
|
||||
"values": [ExtResource("4_86osg")]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
|
@ -536,7 +538,7 @@ tracks/1/keys = {
|
|||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [2]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
|
@ -548,19 +550,19 @@ tracks/2/keys = {
|
|||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [4]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Sprite2D:texture")
|
||||
tracks/3/path = NodePath("Sprite2D:frame")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"times": PackedFloat32Array(0, 5.2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_hc7kj")]
|
||||
"values": [2, 3]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_pjwlc"]
|
||||
|
@ -617,7 +619,8 @@ tracks/3/keys = {
|
|||
|
||||
[sub_resource type="Animation" id="Animation_x2yda"]
|
||||
resource_name = "idle_south"
|
||||
length = 0.6
|
||||
length = 5.40001
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
|
@ -625,10 +628,10 @@ tracks/0/path = NodePath("Sprite2D:frame")
|
|||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"times": PackedFloat32Array(0, 5.2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
"values": [0, 1]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
|
@ -640,7 +643,7 @@ tracks/1/keys = {
|
|||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [2]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
|
@ -652,7 +655,7 @@ tracks/2/keys = {
|
|||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [4]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
|
@ -664,59 +667,60 @@ tracks/3/keys = {
|
|||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_hc7kj")]
|
||||
"values": [ExtResource("4_86osg")]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_w1ari"]
|
||||
resource_name = "idle_west"
|
||||
length = 0.6
|
||||
length = 5.40001
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/path = NodePath("Sprite2D:vframes")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [15]
|
||||
"values": [4]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D:vframes")
|
||||
tracks/1/path = NodePath("Sprite2D:hframes")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [2]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite2D:hframes")
|
||||
tracks/2/path = NodePath("Sprite2D:texture")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [ExtResource("4_86osg")]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Sprite2D:texture")
|
||||
tracks/3/path = NodePath("Sprite2D:frame")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"times": PackedFloat32Array(0, 5.2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_hc7kj")]
|
||||
"values": [6, 7]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ji461"]
|
||||
|
@ -1884,50 +1888,50 @@ step = 0.125
|
|||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/path = NodePath("Sprite2D:hframes")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.125, 0.25, 0.375),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [6, 7, 8, 9]
|
||||
"values": [20]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D:hframes")
|
||||
tracks/1/path = NodePath("Sprite2D:vframes")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [1]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite2D:vframes")
|
||||
tracks/2/path = NodePath("Sprite2D:texture")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [ExtResource("1_hc7kj")]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Sprite2D:texture")
|
||||
tracks/3/path = NodePath("Sprite2D:frame")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"times": PackedFloat32Array(0, 0.125, 0.25, 0.375),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_hc7kj")]
|
||||
"values": [6, 7, 8, 9]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_bg701"]
|
||||
|
@ -1938,50 +1942,50 @@ step = 0.125
|
|||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/path = NodePath("Sprite2D:hframes")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.125, 0.25, 0.375),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [11, 12, 13, 14]
|
||||
"values": [20]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D:hframes")
|
||||
tracks/1/path = NodePath("Sprite2D:vframes")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [1]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite2D:vframes")
|
||||
tracks/2/path = NodePath("Sprite2D:texture")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [ExtResource("1_hc7kj")]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Sprite2D:texture")
|
||||
tracks/3/path = NodePath("Sprite2D:frame")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"times": PackedFloat32Array(0, 0.125, 0.25, 0.375),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_hc7kj")]
|
||||
"values": [11, 12, 13, 14]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_sroq6"]
|
||||
|
@ -2046,50 +2050,50 @@ step = 0.125
|
|||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/path = NodePath("Sprite2D:hframes")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.125, 0.25, 0.375),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [16, 17, 18, 19]
|
||||
"values": [20]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D:hframes")
|
||||
tracks/1/path = NodePath("Sprite2D:vframes")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [1]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite2D:vframes")
|
||||
tracks/2/path = NodePath("Sprite2D:texture")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [ExtResource("1_hc7kj")]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Sprite2D:texture")
|
||||
tracks/3/path = NodePath("Sprite2D:frame")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"times": PackedFloat32Array(0, 0.125, 0.25, 0.375),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_hc7kj")]
|
||||
"values": [16, 17, 18, 19]
|
||||
}
|
||||
|
||||
[resource]
|
||||
|
|
|
@ -245,7 +245,7 @@ states/nsfw_defeated_start/position = Vector2(646, 176.354)
|
|||
states/walk/node = SubResource("AnimationNodeBlendSpace2D_vunsg")
|
||||
states/walk/position = Vector2(520, 108)
|
||||
transitions = ["Start", "idle", SubResource("AnimationNodeStateMachineTransition_akmuq"), "idle", "walk", SubResource("AnimationNodeStateMachineTransition_sn1tm"), "walk", "idle", SubResource("AnimationNodeStateMachineTransition_5i3fu"), "idle", "melee", SubResource("AnimationNodeStateMachineTransition_y8p74"), "melee", "idle", SubResource("AnimationNodeStateMachineTransition_l17k0"), "hurt", "idle", SubResource("AnimationNodeStateMachineTransition_ln3pc"), "defeated", "End", SubResource("AnimationNodeStateMachineTransition_ouche"), "nsfw_defeated_start", "nsfw_defeated", SubResource("AnimationNodeStateMachineTransition_aa2bq"), "nsfw_defeated", "End", SubResource("AnimationNodeStateMachineTransition_vxker")]
|
||||
graph_offset = Vector2(61, 90.3541)
|
||||
graph_offset = Vector2(-53, -43.6459)
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_vm050"]
|
||||
radius = 9.0
|
||||
|
@ -279,13 +279,13 @@ tree_root = SubResource("AnimationNodeStateMachine_b2867")
|
|||
parameters/conditions/is_moving = false
|
||||
parameters/conditions/melee = false
|
||||
parameters/cut_walk/blend_position = Vector2(-0.770558, 0.612335)
|
||||
parameters/hurt/blend_position = Vector2(0.949916, -0.0132159)
|
||||
parameters/idle/blend_position = Vector2(-0.0243112, 0.73545)
|
||||
parameters/hurt/blend_position = Vector2(0.000877976, -0.756614)
|
||||
parameters/idle/blend_position = Vector2(0.00263393, -0.830688)
|
||||
parameters/melee/blend_position = 0.0
|
||||
parameters/melee/0/blend_position = Vector2(0.66778, -0.765217)
|
||||
parameters/melee/1/blend_position = Vector2(-0.218698, 0.0434783)
|
||||
parameters/melee/2/blend_position = Vector2(0, 0)
|
||||
parameters/walk/blend_position = Vector2(-0.0100167, -0.0729166)
|
||||
parameters/walk/blend_position = Vector2(0.00965762, 0.94709)
|
||||
|
||||
[node name="Hitbox" type="Area2D" parent="."]
|
||||
position = Vector2(0, 1)
|
||||
|
|
BIN
Reed/Reed_Idle_Blink_Sprites.png
(Stored with Git LFS)
Normal file
BIN
Reed/Reed_Idle_Blink_Sprites.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
Reed/Reed_Idle_Blink_Sprites.png.import
Normal file
34
Reed/Reed_Idle_Blink_Sprites.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bmix77hgm7q21"
|
||||
path="res://.godot/imported/Reed_Idle_Blink_Sprites.png-e99e6235c89444e1677b2bec4620c6c7.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Reed/Reed_Idle_Blink_Sprites.png"
|
||||
dest_files=["res://.godot/imported/Reed_Idle_Blink_Sprites.png-e99e6235c89444e1677b2bec4620c6c7.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
|
@ -236,7 +236,7 @@ states/melee/position = Vector2(329, 224)
|
|||
states/walk/node = SubResource("AnimationNodeBlendSpace2D_vunsg")
|
||||
states/walk/position = Vector2(519, 108)
|
||||
transitions = ["Start", "idle", SubResource("AnimationNodeStateMachineTransition_akmuq"), "idle", "walk", SubResource("AnimationNodeStateMachineTransition_sn1tm"), "walk", "idle", SubResource("AnimationNodeStateMachineTransition_5i3fu"), "idle", "melee", SubResource("AnimationNodeStateMachineTransition_y8p74"), "melee", "idle", SubResource("AnimationNodeStateMachineTransition_l17k0"), "hurt", "idle", SubResource("AnimationNodeStateMachineTransition_ln3pc"), "defeated", "defeated_loop", SubResource("AnimationNodeStateMachineTransition_l5ng5")]
|
||||
graph_offset = Vector2(65, 24)
|
||||
graph_offset = Vector2(-82, 74)
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_vm050"]
|
||||
radius = 9.0
|
||||
|
@ -281,13 +281,13 @@ tree_root = SubResource("AnimationNodeStateMachine_b0avg")
|
|||
parameters/conditions/is_moving = false
|
||||
parameters/conditions/melee = false
|
||||
parameters/cut_walk/blend_position = Vector2(0.116751, -1.05556)
|
||||
parameters/hurt/blend_position = Vector2(0.949916, -0.0132159)
|
||||
parameters/idle/blend_position = Vector2(-0.0243112, 0.73545)
|
||||
parameters/hurt/blend_position = Vector2(-0.0114135, 0.915344)
|
||||
parameters/idle/blend_position = Vector2(0.0201931, 0.968254)
|
||||
parameters/melee/blend_position = 0.0
|
||||
parameters/melee/0/blend_position = Vector2(0.66778, -0.765217)
|
||||
parameters/melee/0/blend_position = Vector2(0.000877976, 0.862434)
|
||||
parameters/melee/1/blend_position = Vector2(-0.218698, 0.0434783)
|
||||
parameters/melee/2/blend_position = Vector2(0, 0)
|
||||
parameters/walk/blend_position = Vector2(-0.0100167, -0.0729166)
|
||||
parameters/walk/blend_position = Vector2(-0.00790167, 0.78836)
|
||||
|
||||
[node name="Hitbox" type="Area2D" parent="."]
|
||||
position = Vector2(0, 1)
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
[gd_resource type="AnimationLibrary" load_steps=34 format=3 uid="uid://bhg3cnhjeq85r"]
|
||||
[gd_resource type="AnimationLibrary" load_steps=35 format=3 uid="uid://bhg3cnhjeq85r"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://pittqsk5eskq" path="res://Reed/Reed Walk Sprite Cycle Line Up.png" id="1_4xts1"]
|
||||
[ext_resource type="Texture2D" uid="uid://clbdgd8f7isb4" path="res://Reed/Reed_Reed_Defeated_Sprite_.png" id="2_7ny10"]
|
||||
[ext_resource type="Texture2D" uid="uid://c7q83hvbvaifu" path="res://Reed/Reed_Hurt_Sprites.png" id="3_ynckf"]
|
||||
[ext_resource type="Texture2D" uid="uid://bmix77hgm7q21" path="res://Reed/Reed_Idle_Blink_Sprites.png" id="4_peeea"]
|
||||
[ext_resource type="Texture2D" uid="uid://ctajre4ylwoqp" path="res://Reed/Reed_Melee_Sprites_Y.png" id="4_uq1j6"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_m3ug4"]
|
||||
|
@ -14,50 +15,50 @@ step = 0.5
|
|||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
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": [0]
|
||||
"values": [ExtResource("1_4xts1")]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D:texture")
|
||||
tracks/1/path = NodePath("Sprite2D:hframes")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_4xts1")]
|
||||
"values": [20]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite2D:hframes")
|
||||
tracks/2/path = NodePath("Sprite2D:vframes")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [1]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Sprite2D:vframes")
|
||||
tracks/3/path = NodePath("Sprite2D:frame")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [0]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
|
@ -512,54 +513,55 @@ tracks/4/keys = {
|
|||
|
||||
[sub_resource type="Animation" id="Animation_3oagy"]
|
||||
resource_name = "idle_east"
|
||||
length = 0.6
|
||||
length = 5.40001
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/path = NodePath("Sprite2D:hframes")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [5]
|
||||
"values": [2]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D:hframes")
|
||||
tracks/1/path = NodePath("Sprite2D:vframes")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [4]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite2D:vframes")
|
||||
tracks/2/path = NodePath("Sprite2D:texture")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [ExtResource("4_peeea")]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Sprite2D:texture")
|
||||
tracks/3/path = NodePath("Sprite2D:frame")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"times": PackedFloat32Array(0, 4, 4.3),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_4xts1")]
|
||||
"values": [2, 3, 2]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_pjwlc"]
|
||||
|
@ -616,7 +618,8 @@ tracks/3/keys = {
|
|||
|
||||
[sub_resource type="Animation" id="Animation_x2yda"]
|
||||
resource_name = "idle_south"
|
||||
length = 0.6
|
||||
length = 5.40001
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
|
@ -624,10 +627,10 @@ tracks/0/path = NodePath("Sprite2D:frame")
|
|||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"times": PackedFloat32Array(0, 4.1, 4.3),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
"values": [0, 1, 0]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
|
@ -639,7 +642,7 @@ tracks/1/keys = {
|
|||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [2]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
|
@ -651,7 +654,7 @@ tracks/2/keys = {
|
|||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [4]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
|
@ -663,59 +666,60 @@ tracks/3/keys = {
|
|||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_4xts1")]
|
||||
"values": [ExtResource("4_peeea")]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_w1ari"]
|
||||
resource_name = "idle_west"
|
||||
length = 0.6
|
||||
length = 5.40001
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/path = NodePath("Sprite2D:vframes")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [15]
|
||||
"values": [4]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D:vframes")
|
||||
tracks/1/path = NodePath("Sprite2D:hframes")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [2]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite2D:hframes")
|
||||
tracks/2/path = NodePath("Sprite2D:texture")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [ExtResource("4_peeea")]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Sprite2D:texture")
|
||||
tracks/3/path = NodePath("Sprite2D:frame")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"times": PackedFloat32Array(0, 4, 4.3),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_4xts1")]
|
||||
"values": [6, 7, 6]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ji461"]
|
||||
|
@ -1883,50 +1887,50 @@ step = 0.125
|
|||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/path = NodePath("Sprite2D:hframes")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.125, 0.25, 0.375),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [6, 7, 8, 9]
|
||||
"values": [20]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D:hframes")
|
||||
tracks/1/path = NodePath("Sprite2D:vframes")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [1]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite2D:vframes")
|
||||
tracks/2/path = NodePath("Sprite2D:texture")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [ExtResource("1_4xts1")]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Sprite2D:texture")
|
||||
tracks/3/path = NodePath("Sprite2D:frame")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"times": PackedFloat32Array(0, 0.125, 0.25, 0.375),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_4xts1")]
|
||||
"values": [6, 7, 8, 9]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_bg701"]
|
||||
|
@ -2045,50 +2049,50 @@ step = 0.125
|
|||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/path = NodePath("Sprite2D:hframes")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.125, 0.25, 0.375),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [16, 17, 18, 19]
|
||||
"values": [20]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D:hframes")
|
||||
tracks/1/path = NodePath("Sprite2D:vframes")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [20]
|
||||
"values": [1]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite2D:vframes")
|
||||
tracks/2/path = NodePath("Sprite2D:texture")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
"values": [ExtResource("1_4xts1")]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Sprite2D:texture")
|
||||
tracks/3/path = NodePath("Sprite2D:frame")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"times": PackedFloat32Array(0, 0.125, 0.25, 0.375),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_4xts1")]
|
||||
"values": [16, 17, 18, 19]
|
||||
}
|
||||
|
||||
[resource]
|
||||
|
|
|
@ -33,8 +33,22 @@ func set_animation_direction(direction: Vector2):
|
|||
pass
|
||||
|
||||
func _physics_process(_delta):
|
||||
if movement_scripted_by != null:
|
||||
var approach_direction = global_position.direction_to(movement_scripted_target)
|
||||
set_animation_direction(approach_direction)
|
||||
velocity = movement_scripted_speed * approach_direction
|
||||
if movable:
|
||||
move_and_slide()
|
||||
|
||||
func _process(_delta):
|
||||
if movement_scripted_by != null:
|
||||
var distance_to_target = movement_scripted_target.distance_to(global_position)
|
||||
if distance_to_target <= movement_scripted_speed/60.0:
|
||||
global_position = movement_scripted_target
|
||||
velocity = Vector2.ZERO
|
||||
movement_scripted_by.step()
|
||||
movement_scripted_by = null
|
||||
anim_playback.travel("idle")
|
||||
|
||||
func _on_animation_tree_animation_finished(anim_name):
|
||||
pass
|
||||
|
@ -56,7 +70,7 @@ func _on_cutscene_issued_command(command: CutsceneCommand, manager: CutsceneMana
|
|||
var move_speed = speed if command.use_character_speed else command.speed
|
||||
velocity = move_speed * approach_direction
|
||||
movement_scripted_by = manager
|
||||
movement_scripted_speed = command.speed
|
||||
movement_scripted_speed = move_speed
|
||||
anim_playback.travel(command.animation_state)
|
||||
|
||||
|
||||
|
|
|
@ -49,18 +49,8 @@ func follow_player(speed: float):
|
|||
velocity = speed * approach_direction
|
||||
set_animation_direction(approach_direction)
|
||||
|
||||
func _physics_process(_delta):
|
||||
move_and_slide()
|
||||
|
||||
func _process(_delta):
|
||||
if movement_scripted_by != null:
|
||||
var distance_to_target = movement_scripted_target.distance_to(global_position)
|
||||
if distance_to_target <= movement_scripted_speed/100.0:
|
||||
global_position = movement_scripted_target
|
||||
velocity = Vector2.ZERO
|
||||
movement_scripted_by.step()
|
||||
movement_scripted_by = null
|
||||
anim_playback.travel("idle")
|
||||
func _physics_process(delta: float):
|
||||
super._physics_process(delta)
|
||||
|
||||
func _on_player_attack_did_hit(other, attack_power: int, attack_direction: Vector2):
|
||||
if other.get_parent().get_instance_id() == get_instance_id() :
|
||||
|
|
|
@ -29,16 +29,6 @@ func _unhandled_input(event):
|
|||
velocity = Vector2.ZERO
|
||||
attacked.emit()
|
||||
|
||||
func _process(_delta):
|
||||
if movement_scripted_by != null:
|
||||
var distance_to_target = movement_scripted_target.distance_to(global_position)
|
||||
if distance_to_target <= movement_scripted_speed/60.0:
|
||||
global_position = movement_scripted_target
|
||||
velocity = Vector2.ZERO
|
||||
movement_scripted_by.step()
|
||||
movement_scripted_by = null
|
||||
anim_playback.travel("idle")
|
||||
|
||||
func _physics_process(delta):
|
||||
if in_cutscene:
|
||||
anim_tree.set("parameters/conditions/is_moving", false)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
extends Control
|
||||
|
||||
@onready var player_health_bar: ProgressBar = $MarginContainer/HBoxContainer/HealthBar
|
||||
@onready var enemy_health_bar: ProgressBar = $MarginContainer/HBoxContainer/EnemyBar
|
||||
@onready var player_health_bar: TextureProgressBar = $MarginContainer/HBoxContainer/HealthBar
|
||||
@onready var enemy_health_bar: TextureProgressBar = $MarginContainer/HBoxContainer/EnemyBar
|
||||
|
||||
func initialize(player: PlayableCharacter, enemy: AICharacter):
|
||||
player_health_bar.max_value = player.max_health
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://ce2tjyxwaar01"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://ce2tjyxwaar01"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/ui.gd" id="1_pbo7d"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3rm2j"]
|
||||
bg_color = Color(0.12549, 0.72549, 0, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_688ss"]
|
||||
bg_color = Color(1, 0.25098, 0.262745, 1)
|
||||
[ext_resource type="Texture2D" uid="uid://bavf70a0as4yp" path="res://UI/hp_bar_border_bg.png" id="2_puub5"]
|
||||
[ext_resource type="Texture2D" uid="uid://bastebwa8n686" path="res://UI/hp_bar_border.png" id="3_y0hpc"]
|
||||
[ext_resource type="Texture2D" uid="uid://btu7bkrjnk3ph" path="res://UI/hp_bar_green.png" id="4_vjleo"]
|
||||
[ext_resource type="Texture2D" uid="uid://dp8pfpterhtai" path="res://UI/hp_bar_redpng.png" id="5_uk45e"]
|
||||
|
||||
[node name="UI" type="Control"]
|
||||
layout_mode = 3
|
||||
|
@ -31,26 +29,41 @@ theme_override_constants/margin_right = 16
|
|||
custom_minimum_size = Vector2(0, 16)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HealthBar" type="ProgressBar" parent="MarginContainer/HBoxContainer"]
|
||||
[node name="HealthBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer"]
|
||||
texture_filter = 1
|
||||
custom_minimum_size = Vector2(0, 12)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
size_flags_vertical = 0
|
||||
size_flags_stretch_ratio = 2.0
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_3rm2j")
|
||||
step = 1.0
|
||||
value = 50.0
|
||||
show_percentage = false
|
||||
nine_patch_stretch = true
|
||||
stretch_margin_left = 4
|
||||
stretch_margin_top = 4
|
||||
stretch_margin_right = 4
|
||||
stretch_margin_bottom = 4
|
||||
texture_under = ExtResource("2_puub5")
|
||||
texture_over = ExtResource("3_y0hpc")
|
||||
texture_progress = ExtResource("4_vjleo")
|
||||
|
||||
[node name="Spacer" type="Control" parent="MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 2.0
|
||||
|
||||
[node name="EnemyBar" type="ProgressBar" parent="MarginContainer/HBoxContainer"]
|
||||
[node name="EnemyBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer"]
|
||||
texture_filter = 1
|
||||
custom_minimum_size = Vector2(0, 12)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
size_flags_vertical = 0
|
||||
size_flags_stretch_ratio = 2.0
|
||||
theme_override_styles/fill = SubResource("StyleBoxFlat_688ss")
|
||||
step = 1.0
|
||||
value = 13.0
|
||||
show_percentage = false
|
||||
value = 50.0
|
||||
nine_patch_stretch = true
|
||||
stretch_margin_left = 4
|
||||
stretch_margin_top = 4
|
||||
stretch_margin_right = 4
|
||||
stretch_margin_bottom = 4
|
||||
texture_under = ExtResource("2_puub5")
|
||||
texture_over = ExtResource("3_y0hpc")
|
||||
texture_progress = ExtResource("5_uk45e")
|
||||
|
|
BIN
UI/hp_bar_border.png
(Stored with Git LFS)
Normal file
BIN
UI/hp_bar_border.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
UI/hp_bar_border.png.import
Normal file
34
UI/hp_bar_border.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bastebwa8n686"
|
||||
path="res://.godot/imported/hp_bar_border.png-a32c80a7fdc781b0bf2d9852e6618966.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://UI/hp_bar_border.png"
|
||||
dest_files=["res://.godot/imported/hp_bar_border.png-a32c80a7fdc781b0bf2d9852e6618966.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
UI/hp_bar_border_bg.png
(Stored with Git LFS)
Normal file
BIN
UI/hp_bar_border_bg.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
UI/hp_bar_border_bg.png.import
Normal file
34
UI/hp_bar_border_bg.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bavf70a0as4yp"
|
||||
path="res://.godot/imported/hp_bar_border_bg.png-362420a8e13a5d9dff335822c6f738a0.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://UI/hp_bar_border_bg.png"
|
||||
dest_files=["res://.godot/imported/hp_bar_border_bg.png-362420a8e13a5d9dff335822c6f738a0.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
UI/hp_bar_green.png
(Stored with Git LFS)
Normal file
BIN
UI/hp_bar_green.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
UI/hp_bar_green.png.import
Normal file
34
UI/hp_bar_green.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://btu7bkrjnk3ph"
|
||||
path="res://.godot/imported/hp_bar_green.png-f41c6b471c3c4ba32159cc3ea9f6a619.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://UI/hp_bar_green.png"
|
||||
dest_files=["res://.godot/imported/hp_bar_green.png-f41c6b471c3c4ba32159cc3ea9f6a619.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
UI/hp_bar_redpng.png
(Stored with Git LFS)
Normal file
BIN
UI/hp_bar_redpng.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
UI/hp_bar_redpng.png.import
Normal file
34
UI/hp_bar_redpng.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dp8pfpterhtai"
|
||||
path="res://.godot/imported/hp_bar_redpng.png-9f79fa0bbd5c79f53e2343b6eccd345a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://UI/hp_bar_redpng.png"
|
||||
dest_files=["res://.godot/imported/hp_bar_redpng.png-9f79fa0bbd5c79f53e2343b6eccd345a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
|
@ -277,7 +277,7 @@ has_nsfw_animations = false
|
|||
[node name="Camera2D" type="Camera2D" parent="HiroPlayer"]
|
||||
texture_filter = 1
|
||||
offset = Vector2(0, -12)
|
||||
zoom = Vector2(2, 2)
|
||||
zoom = Vector2(3, 3)
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 3.0
|
||||
metadata/_edit_lock_ = true
|
||||
|
@ -325,6 +325,7 @@ script = ExtResource("9_df2wo")
|
|||
|
||||
[node name="NPCs" type="Node2D" parent="."]
|
||||
visible = false
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="Npc1" type="Sprite2D" parent="NPCs"]
|
||||
texture_filter = 1
|
||||
|
|
Loading…
Reference in a new issue