Compare commits
2 Commits
372c2d911f
...
002f91d9d4
| Author | SHA1 | Date |
|---|---|---|
|
|
002f91d9d4 | 9 months ago |
|
|
ef081780fa | 9 months ago |
@ -0,0 +1,18 @@
|
||||
[gd_resource type="Resource" script_class="AttackCfg" load_steps=2 format=3 uid="uid://dr70nrjjk754r"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bm8fn2yciam1g" path="res://script/config/attack_cfg.gd" id="1_esnha"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_esnha")
|
||||
damage_rate = 1.0
|
||||
break_level = 2
|
||||
stun_attack = 10.0
|
||||
damage_type = 1
|
||||
is_floating = true
|
||||
is_rebound = false
|
||||
is_throw_check = false
|
||||
is_throw_end = false
|
||||
hit_back_speed = 7.0
|
||||
hit_up_speed = -7.0
|
||||
hit_back_duration = 0.05
|
||||
hit_up_duration = 0.05
|
||||
@ -0,0 +1,14 @@
|
||||
[gd_resource type="Resource" script_class="AttackBoxCfg" load_steps=3 format=3 uid="uid://qp5sy3u3rlpe"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dekrsow0vntqs" path="res://script/config/attack_box_cfg.gd" id="1_05sfw"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_87jhu"]
|
||||
size = Vector3(1, 1.6, 1)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_05sfw")
|
||||
shape = SubResource("BoxShape3D_87jhu")
|
||||
offset = Vector2(0.5, 0.8)
|
||||
is_throw = false
|
||||
is_direct = false
|
||||
is_hit_self = false
|
||||
@ -0,0 +1,33 @@
|
||||
[gd_resource type="Resource" script_class="SkillWeaponCfg" load_steps=7 format=3 uid="uid://dvnwgl10tljft"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://4o4v0ruyag5a" path="res://config/attack/blunt_throw_end_hit_down.tres" id="1_dh40s"]
|
||||
[ext_resource type="Resource" uid="uid://dp8schthpyl3l" path="res://config/attack_box/throw.tres" id="2_1sc65"]
|
||||
[ext_resource type="Script" uid="uid://dgwtu2wj5033u" path="res://script/config/skill_weapon_cfg.gd" id="3_8mjpe"]
|
||||
[ext_resource type="Animation" uid="uid://bnqll5kf8t8qs" path="res://resource/skill_animation/hero01_fist_skill01_add.tres" id="4_mq2d2"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://cajgs8smbkjan" path="res://resource/animation/character/hero01_fist_skill01.aseprite" id="5_kkp4n"]
|
||||
[ext_resource type="Resource" uid="uid://c6alg8pmqfdxm" path="res://config/weapon/fist.tres" id="6_12y4k"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_8mjpe")
|
||||
weapon = ExtResource("6_12y4k")
|
||||
action = "none"
|
||||
name = ""
|
||||
skill_animation = ExtResource("4_mq2d2")
|
||||
stance_from = 99
|
||||
stance_to = 3
|
||||
break_level = 3
|
||||
is_charging = false
|
||||
attack1 = ExtResource("1_dh40s")
|
||||
attack1_box = ExtResource("2_1sc65")
|
||||
attack1_with_stop = false
|
||||
attack2_with_stop = false
|
||||
mp_cost = 0
|
||||
mp_sub_cost = false
|
||||
free_lock = false
|
||||
ignore_push = false
|
||||
is_lock_x = true
|
||||
is_lock_x_move = false
|
||||
range = 0.0
|
||||
warn_type = 0
|
||||
sprite_frames = ExtResource("5_kkp4n")
|
||||
animation_name = "fist_skill01_add"
|
||||
@ -1,28 +1,33 @@
|
||||
[gd_resource type="Resource" script_class="SkillWeaponCfg" load_steps=7 format=3 uid="uid://dvnwgl10tljft"]
|
||||
[gd_resource type="Resource" script_class="SkillWeaponCfg" load_steps=7 format=3 uid="uid://dbviuasvknl8q"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://4o4v0ruyag5a" path="res://config/attack/blunt_throw_end_hit_down.tres" id="1_dh40s"]
|
||||
[ext_resource type="Resource" uid="uid://dp8schthpyl3l" path="res://config/attack_box/throw.tres" id="2_1sc65"]
|
||||
[ext_resource type="Script" path="res://script/config/skill_weapon_cfg.gd" id="3_8mjpe"]
|
||||
[ext_resource type="Animation" uid="uid://batvpnk7jfc2a" path="res://resource/skill_animation/hero01_fist_skill02.tres" id="4_mq2d2"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://cajgs8smbkjan" path="res://resource/animation/character/hero01_fist_skill01.aseprite" id="5_kkp4n"]
|
||||
[ext_resource type="Resource" uid="uid://c6alg8pmqfdxm" path="res://config/weapon/fist.tres" id="6_12y4k"]
|
||||
[ext_resource type="Resource" uid="uid://ctbdt77yyubxn" path="res://config/attack/blunt_normal_hit_up.tres" id="1_ywehi"]
|
||||
[ext_resource type="Resource" uid="uid://decgfcx2xsj8i" path="res://config/attack_box/circle_mid.tres" id="2_ywehi"]
|
||||
[ext_resource type="Script" uid="uid://dgwtu2wj5033u" path="res://script/config/skill_weapon_cfg.gd" id="3_6wryu"]
|
||||
[ext_resource type="Animation" uid="uid://mnmlwnqk4aqq" path="res://resource/skill_animation/hero01_fist_skill02.tres" id="4_c7ye6"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://cajgs8smbkjan" path="res://resource/animation/character/hero01_fist_skill01.aseprite" id="5_sjxkh"]
|
||||
[ext_resource type="Resource" uid="uid://c6alg8pmqfdxm" path="res://config/weapon/fist.tres" id="6_aemq5"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_8mjpe")
|
||||
weapon = ExtResource("6_12y4k")
|
||||
action = "none"
|
||||
script = ExtResource("3_6wryu")
|
||||
weapon = ExtResource("6_aemq5")
|
||||
action = "attack_heavy"
|
||||
name = ""
|
||||
skill_animation = ExtResource("4_mq2d2")
|
||||
range = 0.0
|
||||
free_lock = false
|
||||
ignore_push = false
|
||||
attack1 = ExtResource("1_dh40s")
|
||||
attack1_box = ExtResource("2_1sc65")
|
||||
stance_from = 99
|
||||
skill_animation = ExtResource("4_c7ye6")
|
||||
stance_from = 2
|
||||
stance_to = 3
|
||||
break_level = 3
|
||||
is_charging = false
|
||||
attack1 = ExtResource("1_ywehi")
|
||||
attack1_box = ExtResource("2_ywehi")
|
||||
attack1_with_stop = false
|
||||
attack2_with_stop = false
|
||||
mp_cost = 0
|
||||
refresh_animation = false
|
||||
sprite_frames = ExtResource("5_kkp4n")
|
||||
animation_name = ""
|
||||
mp_sub_cost = false
|
||||
free_lock = false
|
||||
ignore_push = true
|
||||
is_lock_x = true
|
||||
is_lock_x_move = false
|
||||
range = 0.0
|
||||
warn_type = 0
|
||||
sprite_frames = ExtResource("5_sjxkh")
|
||||
animation_name = "fist_skill02"
|
||||
|
||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 20 KiB |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 365 B |
@ -0,0 +1,145 @@
|
||||
[gd_resource type="Animation" load_steps=2 format=3 uid="uid://bnqll5kf8t8qs"]
|
||||
|
||||
[ext_resource type="SpriteFrames" uid="uid://cajgs8smbkjan" path="res://resource/animation/character/hero01_fist_skill01.aseprite" id="1_mf7r8"]
|
||||
|
||||
[resource]
|
||||
resource_name = "hero01_fist_skill01_add"
|
||||
step = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("View:sprite_frames")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_mf7r8")]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("View:animation")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [&"fist_skill01_add"]
|
||||
}
|
||||
tracks/2/type = "position_3d"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("%Throw")
|
||||
tracks/2/interp = 0
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = PackedFloat32Array(0, 1, 0.75, 0.4, 0, 0.1, 1, 0.5, 0.5, 0, 0.2, 1, 0, 0.8, 0, 0.3, 1, 0, 0.8, 0)
|
||||
tracks/3/type = "scale_3d"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("%Throw")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = PackedFloat32Array(0, 1, -1, 1, 1)
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("%Throw:animation")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0, 0.2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [&"airhit1", &"airhit3"]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("%Throw:frame")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 2, 3]
|
||||
}
|
||||
tracks/6/type = "value"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("Status:break_level")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(0, 0.6, 0.8),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 3, 4]
|
||||
}
|
||||
tracks/7/type = "value"
|
||||
tracks/7/imported = false
|
||||
tracks/7/enabled = true
|
||||
tracks/7/path = NodePath("Status:speed_up_rate")
|
||||
tracks/7/interp = 1
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/keys = {
|
||||
"times": PackedFloat32Array(0.1, 0.4),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [-0.5, -1.0]
|
||||
}
|
||||
tracks/8/type = "value"
|
||||
tracks/8/imported = false
|
||||
tracks/8/enabled = true
|
||||
tracks/8/path = NodePath("Status:skill_move_speed")
|
||||
tracks/8/interp = 1
|
||||
tracks/8/loop_wrap = true
|
||||
tracks/8/keys = {
|
||||
"times": PackedFloat32Array(0.1, 0.4),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [2.0, 0.0]
|
||||
}
|
||||
tracks/9/type = "method"
|
||||
tracks/9/imported = false
|
||||
tracks/9/enabled = true
|
||||
tracks/9/path = NodePath("Battle")
|
||||
tracks/9/interp = 1
|
||||
tracks/9/loop_wrap = true
|
||||
tracks/9/keys = {
|
||||
"times": PackedFloat32Array(0.4),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"attack1"
|
||||
}]
|
||||
}
|
||||
tracks/10/type = "method"
|
||||
tracks/10/imported = false
|
||||
tracks/10/enabled = true
|
||||
tracks/10/path = NodePath("Effect")
|
||||
tracks/10/interp = 1
|
||||
tracks/10/loop_wrap = true
|
||||
tracks/10/keys = {
|
||||
"times": PackedFloat32Array(0.3),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"cast_attack_particle1"
|
||||
}]
|
||||
}
|
||||
tracks/11/type = "value"
|
||||
tracks/11/imported = false
|
||||
tracks/11/enabled = true
|
||||
tracks/11/path = NodePath("View:frame")
|
||||
tracks/11/interp = 1
|
||||
tracks/11/loop_wrap = true
|
||||
tracks/11/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
||||
}
|
||||
@ -0,0 +1,120 @@
|
||||
[gd_resource type="Animation" load_steps=2 format=3 uid="uid://b73xq7qwltbo2"]
|
||||
|
||||
[ext_resource type="SpriteFrames" uid="uid://cajgs8smbkjan" path="res://resource/animation/character/hero01_fist_skill01.aseprite" id="1_1ik3n"]
|
||||
|
||||
[resource]
|
||||
resource_name = "hero01_fist_skill_special01"
|
||||
length = 1.1
|
||||
step = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("View:sprite_frames")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_1ik3n")]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("View:animation")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": ["fist_skill_special01"]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Status:break_level")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 0.2, 0.6),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 3, 4]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("Status:speed_up_rate")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(),
|
||||
"transitions": PackedFloat32Array(),
|
||||
"update": 1,
|
||||
"values": []
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("Status:skill_move_speed")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [-3.0, 0.0]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("Status:skill_float_speed")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [3.0, 0.0]
|
||||
}
|
||||
tracks/6/type = "method"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("Battle")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"attack1"
|
||||
}]
|
||||
}
|
||||
tracks/7/type = "method"
|
||||
tracks/7/imported = false
|
||||
tracks/7/enabled = true
|
||||
tracks/7/path = NodePath("Effect")
|
||||
tracks/7/interp = 1
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"cast_attack_particle1"
|
||||
}]
|
||||
}
|
||||
tracks/8/type = "value"
|
||||
tracks/8/imported = false
|
||||
tracks/8/enabled = true
|
||||
tracks/8/path = NodePath("View:frame")
|
||||
tracks/8/interp = 1
|
||||
tracks/8/loop_wrap = true
|
||||
tracks/8/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://d1qroqps7xcbb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dxoik7jm7xm2q" path="res://script/effect/particle.gd" id="1_buiuf"]
|
||||
[ext_resource type="PackedScene" uid="uid://cxopc3y11lwg1" path="res://scene/effect/particle/_particle_dash1.tscn" id="1_eappe"]
|
||||
|
||||
[node name="Particle" type="Node3D"]
|
||||
script = ExtResource("1_buiuf")
|
||||
|
||||
[node name="Particle" parent="." instance=ExtResource("1_eappe")]
|
||||
transform = Transform3D(0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, 0, 1, 0, 0, 0)
|
||||
@ -0,0 +1,10 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dg35c5r582lry"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dxoik7jm7xm2q" path="res://script/effect/particle.gd" id="1_ua8eh"]
|
||||
[ext_resource type="PackedScene" uid="uid://cohy1qv35n57q" path="res://scene/effect/particle/_particle_fist1.tscn" id="2_8oawf"]
|
||||
|
||||
[node name="Particle" type="Node3D"]
|
||||
script = ExtResource("1_ua8eh")
|
||||
|
||||
[node name="Particle" parent="." instance=ExtResource("2_8oawf")]
|
||||
transform = Transform3D(0.8, 0, 0, 0, -3.49691e-08, -0.8, 0, 0.8, -3.49691e-08, 0, 0, 0)
|
||||
@ -0,0 +1,27 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://qf04hnj26yoy"]
|
||||
|
||||
[ext_resource type="Script" path="res://script/ui/hud/debug_info_item_sub.gd" id="1_vxs2m"]
|
||||
|
||||
[node name="DebugInfoItemSub" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
script = ExtResource("1_vxs2m")
|
||||
metadata/_custom_type_script = ExtResource("1_vxs2m")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 0
|
||||
offset_top = 14.0
|
||||
offset_right = 68.0
|
||||
offset_bottom = 28.0
|
||||
theme_override_font_sizes/font_size = 10
|
||||
text = "DebugLabel"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="Value" type="Label" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 72.0
|
||||
offset_top = 14.0
|
||||
offset_right = 113.0
|
||||
offset_bottom = 28.0
|
||||
theme_override_font_sizes/font_size = 10
|
||||
text = "Value"
|
||||
@ -0,0 +1,15 @@
|
||||
extends Control
|
||||
class_name DebugInfoItemSub
|
||||
|
||||
var label: Label
|
||||
var value: Label
|
||||
|
||||
|
||||
func init(label_value: String) -> void:
|
||||
label = ($Label as Label)
|
||||
value = ($Value as Label)
|
||||
label.text = label_value
|
||||
|
||||
|
||||
func set_value(value_value: String) -> void:
|
||||
value.text = value_value
|
||||
Loading…
Reference in New Issue