通用技能ui
@ -0,0 +1,23 @@
|
||||
[gd_resource type="Resource" script_class="PlayerSkillCfg" load_steps=6 format=3 uid="uid://7e4fnj5sg72s"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://bsqk3q6mccllg" path="res://config/attack/normal_hit.tres" id="1_bu2a5"]
|
||||
[ext_resource type="Script" path="res://script/config/player_skill_cfg.gd" id="2_yc8jq"]
|
||||
[ext_resource type="Animation" uid="uid://t01a4jvp8srr" path="res://resource/skill_animation/hero01_fist_attack01.tres" id="3_b2pdb"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhsotj76tuovy" path="res://resource/animation/character/hero01_fist_attack.aseprite" id="4_ymqrn"]
|
||||
[ext_resource type="Resource" uid="uid://c6alg8pmqfdxm" path="res://config/weapon/fist.tres" id="5_0ynk7"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_yc8jq")
|
||||
weapon = ExtResource("5_0ynk7")
|
||||
stance_from = 0
|
||||
stance_to = 1
|
||||
break_level = 3
|
||||
action = "attack_light"
|
||||
name = ""
|
||||
skill_animation = ExtResource("3_b2pdb")
|
||||
attack_list = Array[Resource("res://script/config/attack_cfg.gd")]([ExtResource("1_bu2a5")])
|
||||
sub_character_list = Array[Resource("res://script/config/character_cfg.gd")]([])
|
||||
free_lock = false
|
||||
refresh_animation = false
|
||||
sprite_frames = ExtResource("4_ymqrn")
|
||||
animation_name = "fist_attack01"
|
||||
@ -0,0 +1,23 @@
|
||||
[gd_resource type="Resource" script_class="PlayerSkillCfg" load_steps=6 format=3 uid="uid://dubkvm86cj32f"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://bsqk3q6mccllg" path="res://config/attack/normal_hit.tres" id="1_5lw1c"]
|
||||
[ext_resource type="Script" path="res://script/config/player_skill_cfg.gd" id="2_h70wx"]
|
||||
[ext_resource type="Animation" uid="uid://cyu0yin1rpiak" path="res://resource/skill_animation/hero01_fist_attack02.tres" id="3_tllt1"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhsotj76tuovy" path="res://resource/animation/character/hero01_fist_attack.aseprite" id="4_fevaa"]
|
||||
[ext_resource type="Resource" uid="uid://c6alg8pmqfdxm" path="res://config/weapon/fist.tres" id="5_gliie"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_h70wx")
|
||||
weapon = ExtResource("5_gliie")
|
||||
stance_from = 1
|
||||
stance_to = 2
|
||||
break_level = 3
|
||||
action = "attack_light"
|
||||
name = ""
|
||||
skill_animation = ExtResource("3_tllt1")
|
||||
attack_list = Array[Resource("res://script/config/attack_cfg.gd")]([ExtResource("1_5lw1c")])
|
||||
sub_character_list = Array[Resource("res://script/config/character_cfg.gd")]([])
|
||||
free_lock = false
|
||||
refresh_animation = false
|
||||
sprite_frames = ExtResource("4_fevaa")
|
||||
animation_name = "fist_attack02"
|
||||
@ -0,0 +1,23 @@
|
||||
[gd_resource type="Resource" script_class="PlayerSkillCfg" load_steps=6 format=3 uid="uid://dekpkk8o6o8hk"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://bsqk3q6mccllg" path="res://config/attack/normal_hit.tres" id="1_l5be5"]
|
||||
[ext_resource type="Script" path="res://script/config/player_skill_cfg.gd" id="2_fde7v"]
|
||||
[ext_resource type="Animation" uid="uid://c6mk8tfdpniys" path="res://resource/skill_animation/hero01_fist_attack03.tres" id="3_6rajt"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhsotj76tuovy" path="res://resource/animation/character/hero01_fist_attack.aseprite" id="4_orcy6"]
|
||||
[ext_resource type="Resource" uid="uid://c6alg8pmqfdxm" path="res://config/weapon/fist.tres" id="5_r5lmk"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_fde7v")
|
||||
weapon = ExtResource("5_r5lmk")
|
||||
stance_from = 2
|
||||
stance_to = 3
|
||||
break_level = 3
|
||||
action = "attack_light"
|
||||
name = ""
|
||||
skill_animation = ExtResource("3_6rajt")
|
||||
attack_list = Array[Resource("res://script/config/attack_cfg.gd")]([ExtResource("1_l5be5")])
|
||||
sub_character_list = Array[Resource("res://script/config/character_cfg.gd")]([])
|
||||
free_lock = false
|
||||
refresh_animation = false
|
||||
sprite_frames = ExtResource("4_orcy6")
|
||||
animation_name = "fist_attack03"
|
||||
@ -0,0 +1,23 @@
|
||||
[gd_resource type="Resource" script_class="PlayerSkillCfg" load_steps=6 format=3 uid="uid://b4aysymwqtvtd"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://bsqk3q6mccllg" path="res://config/attack/normal_hit.tres" id="1_x8plw"]
|
||||
[ext_resource type="Script" path="res://script/config/player_skill_cfg.gd" id="2_mhuew"]
|
||||
[ext_resource type="Animation" uid="uid://6u3dhxly760l" path="res://resource/skill_animation/hero01_fist_attack04.tres" id="3_bst70"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhsotj76tuovy" path="res://resource/animation/character/hero01_fist_attack.aseprite" id="4_hyek5"]
|
||||
[ext_resource type="Resource" uid="uid://c6alg8pmqfdxm" path="res://config/weapon/fist.tres" id="5_gn3tt"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_mhuew")
|
||||
weapon = ExtResource("5_gn3tt")
|
||||
stance_from = 3
|
||||
stance_to = 4
|
||||
break_level = 3
|
||||
action = "attack_light"
|
||||
name = ""
|
||||
skill_animation = ExtResource("3_bst70")
|
||||
attack_list = Array[Resource("res://script/config/attack_cfg.gd")]([ExtResource("1_x8plw")])
|
||||
sub_character_list = Array[Resource("res://script/config/character_cfg.gd")]([])
|
||||
free_lock = false
|
||||
refresh_animation = false
|
||||
sprite_frames = ExtResource("4_hyek5")
|
||||
animation_name = "fist_attack04"
|
||||
@ -0,0 +1,23 @@
|
||||
[gd_resource type="Resource" script_class="PlayerSkillCfg" load_steps=6 format=3 uid="uid://0n2jnkdrwa2l"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://bsqk3q6mccllg" path="res://config/attack/normal_hit.tres" id="1_lw5xo"]
|
||||
[ext_resource type="Script" path="res://script/config/player_skill_cfg.gd" id="2_ym7q1"]
|
||||
[ext_resource type="Animation" uid="uid://b2xdmgnem1h4g" path="res://resource/skill_animation/hero01_fist_attack05.tres" id="3_dbjmb"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhsotj76tuovy" path="res://resource/animation/character/hero01_fist_attack.aseprite" id="4_mhr07"]
|
||||
[ext_resource type="Resource" uid="uid://c6alg8pmqfdxm" path="res://config/weapon/fist.tres" id="5_en30r"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_ym7q1")
|
||||
weapon = ExtResource("5_en30r")
|
||||
stance_from = 4
|
||||
stance_to = 5
|
||||
break_level = 3
|
||||
action = "attack_light"
|
||||
name = ""
|
||||
skill_animation = ExtResource("3_dbjmb")
|
||||
attack_list = Array[Resource("res://script/config/attack_cfg.gd")]([ExtResource("1_lw5xo")])
|
||||
sub_character_list = Array[Resource("res://script/config/character_cfg.gd")]([])
|
||||
free_lock = false
|
||||
refresh_animation = false
|
||||
sprite_frames = ExtResource("4_mhr07")
|
||||
animation_name = "fist_attack05"
|
||||
@ -0,0 +1,10 @@
|
||||
shader_type canvas_item;
|
||||
|
||||
uniform sampler2D mask_texture;
|
||||
|
||||
void fragment() {
|
||||
vec4 colour = texture(TEXTURE, UV);
|
||||
colour.a *= texture(mask_texture, UV).a;
|
||||
|
||||
COLOR = colour;
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
[gd_resource type="Animation" load_steps=2 format=3 uid="uid://t01a4jvp8srr"]
|
||||
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhsotj76tuovy" path="res://resource/animation/character/hero01_fist_attack.aseprite" id="1_552cf"]
|
||||
|
||||
[resource]
|
||||
resource_name = "hero01_fist_attack01"
|
||||
length = 0.5
|
||||
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_552cf")]
|
||||
}
|
||||
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_attack01"]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("View:frame")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 2, 3, 4]
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
[gd_resource type="Animation" load_steps=2 format=3 uid="uid://cyu0yin1rpiak"]
|
||||
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhsotj76tuovy" path="res://resource/animation/character/hero01_fist_attack.aseprite" id="1_rwqx0"]
|
||||
|
||||
[resource]
|
||||
resource_name = "hero01_fist_attack02"
|
||||
length = 0.5
|
||||
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_rwqx0")]
|
||||
}
|
||||
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_attack02"]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("View:frame")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 2, 3, 4]
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
[gd_resource type="Animation" load_steps=2 format=3 uid="uid://c6mk8tfdpniys"]
|
||||
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhsotj76tuovy" path="res://resource/animation/character/hero01_fist_attack.aseprite" id="1_ertyu"]
|
||||
|
||||
[resource]
|
||||
resource_name = "hero01_fist_attack03"
|
||||
length = 0.5
|
||||
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_ertyu")]
|
||||
}
|
||||
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_attack03"]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("View:frame")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 2, 3, 4]
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
[gd_resource type="Animation" load_steps=2 format=3 uid="uid://6u3dhxly760l"]
|
||||
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhsotj76tuovy" path="res://resource/animation/character/hero01_fist_attack.aseprite" id="1_5f0k1"]
|
||||
|
||||
[resource]
|
||||
resource_name = "hero01_fist_attack04"
|
||||
length = 0.8
|
||||
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_5f0k1")]
|
||||
}
|
||||
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_attack04"]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("View:frame")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 2, 3, 4, 5, 6, 7]
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
[gd_resource type="Animation" load_steps=2 format=3 uid="uid://b2xdmgnem1h4g"]
|
||||
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhsotj76tuovy" path="res://resource/animation/character/hero01_fist_attack.aseprite" id="1_jhca1"]
|
||||
|
||||
[resource]
|
||||
resource_name = "hero01_fist_attack05"
|
||||
length = 0.7
|
||||
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_jhca1")]
|
||||
}
|
||||
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_attack05"]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("View:frame")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 2, 3, 4, 5, 6]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 225 B |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d1p6frj6673py"
|
||||
path="res://.godot/imported/boss_status_hp.png-9545df526bd11c78080634cd8a2ad6d6.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resource/ui/hud/boss_status_hp.png"
|
||||
dest_files=["res://.godot/imported/boss_status_hp.png-9545df526bd11c78080634cd8a2ad6d6.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=0
|
||||
compress/normal_map=2
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=false
|
||||
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=0
|
||||
|
After Width: | Height: | Size: 222 B |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bp7cve5pxkvv0"
|
||||
path="res://.godot/imported/boss_status_hp_empty.png-f995a85440d203616c211efcd0f9a4e7.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resource/ui/hud/boss_status_hp_empty.png"
|
||||
dest_files=["res://.godot/imported/boss_status_hp_empty.png-f995a85440d203616c211efcd0f9a4e7.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=0
|
||||
compress/normal_map=2
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=false
|
||||
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=0
|
||||
|
After Width: | Height: | Size: 247 B |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://clh4rxsuj5hh4"
|
||||
path="res://.godot/imported/skill_icon_mask.png-bffaa4125ea4f047d09facca7a5182a6.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resource/ui/hud/skill_icon_mask.png"
|
||||
dest_files=["res://.godot/imported/skill_icon_mask.png-bffaa4125ea4f047d09facca7a5182a6.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=0
|
||||
compress/normal_map=2
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=false
|
||||
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=0
|
||||
|
After Width: | Height: | Size: 226 B |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dcld8q2hgpwji"
|
||||
path="res://.godot/imported/skill_slot.png-9d1c2919ecc0ea96b2529179cfbc4cfa.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resource/ui/hud/skill_slot.png"
|
||||
dest_files=["res://.godot/imported/skill_slot.png-9d1c2919ecc0ea96b2529179cfbc4cfa.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=0
|
||||
compress/normal_map=2
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=false
|
||||
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=0
|
||||
|
After Width: | Height: | Size: 283 B |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://1s8mmat4sj4j"
|
||||
path="res://.godot/imported/default.png-1215eb82462b34d167d36a2741c7ffb1.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resource/ui/icon/skill/default.png"
|
||||
dest_files=["res://.godot/imported/default.png-1215eb82462b34d167d36a2741c7ffb1.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=0
|
||||
compress/normal_map=2
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=false
|
||||
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=0
|
||||
|
After Width: | Height: | Size: 283 B |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bsdm18hj6gufo"
|
||||
path="res://.godot/imported/hero01_common_skill0101.png-5bc2e8fdb8db34b020d90f986ff0b044.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resource/ui/icon/skill/hero01_common_skill0101.png"
|
||||
dest_files=["res://.godot/imported/hero01_common_skill0101.png-5bc2e8fdb8db34b020d90f986ff0b044.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=0
|
||||
compress/normal_map=2
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=false
|
||||
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=0
|
||||
|
Before Width: | Height: | Size: 916 B After Width: | Height: | Size: 916 B |
|
Before Width: | Height: | Size: 997 B After Width: | Height: | Size: 997 B |
|
Before Width: | Height: | Size: 759 B After Width: | Height: | Size: 759 B |
|
Before Width: | Height: | Size: 538 B After Width: | Height: | Size: 538 B |
@ -1,15 +1,15 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://c43cuvaiu2jha"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ksxwg0alt2us" path="res://scene/character/character.tscn" id="1_f620f"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://ce83cuqwgwwi4" path="res://resource/animation/character/hero01_long_attack.aseprite" id="2_irmil"]
|
||||
[ext_resource type="PackedScene" uid="uid://8rcvw1vnjcf7" path="res://scene/character/character.tscn" id="1_f620f"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhsotj76tuovy" path="res://resource/animation/character/hero01_fist_attack.aseprite" id="2_sjv5x"]
|
||||
[ext_resource type="Script" path="res://script/character/ai/bullet_ai.gd" id="3_c6unk"]
|
||||
|
||||
[node name="Character" instance=ExtResource("1_f620f")]
|
||||
|
||||
[node name="View" parent="." index="2"]
|
||||
cast_shadow = 0
|
||||
sprite_frames = ExtResource("2_irmil")
|
||||
animation = &"long_air_attack01"
|
||||
sprite_frames = ExtResource("2_sjv5x")
|
||||
animation = &"fist_attack01"
|
||||
|
||||
[node name="BulletAI" type="Node3D" parent="." index="8"]
|
||||
script = ExtResource("3_c6unk")
|
||||
|
||||
@ -0,0 +1,58 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://dfjudjr7aq205"]
|
||||
|
||||
[ext_resource type="Script" path="res://script/ui/hud/skill_item_sub.gd" id="1_awokc"]
|
||||
[ext_resource type="Texture2D" uid="uid://dcld8q2hgpwji" path="res://resource/ui/hud/skill_slot.png" id="2_bl1f4"]
|
||||
[ext_resource type="Shader" path="res://render/shader/ui_skill_icon.gdshader" id="3_lbcyi"]
|
||||
[ext_resource type="Texture2D" uid="uid://clh4rxsuj5hh4" path="res://resource/ui/hud/skill_icon_mask.png" id="4_ccxg7"]
|
||||
[ext_resource type="Texture2D" uid="uid://1s8mmat4sj4j" path="res://resource/ui/icon/skill/default.png" id="5_p7y4q"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_vtxiw"]
|
||||
shader = ExtResource("3_lbcyi")
|
||||
shader_parameter/mask_texture = ExtResource("4_ccxg7")
|
||||
|
||||
[node name="Skill" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -80.0
|
||||
offset_top = -16.0
|
||||
offset_right = -48.0
|
||||
offset_bottom = 16.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
pivot_offset = Vector2(16, 16)
|
||||
script = ExtResource("1_awokc")
|
||||
|
||||
[node name="SkillSlot" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -16.0
|
||||
offset_top = -16.0
|
||||
offset_right = 16.0
|
||||
offset_bottom = 16.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("2_bl1f4")
|
||||
|
||||
[node name="SkillIcon" type="TextureRect" parent="."]
|
||||
material = SubResource("ShaderMaterial_vtxiw")
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -16.0
|
||||
offset_top = -16.0
|
||||
offset_right = 16.0
|
||||
offset_bottom = 16.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("5_p7y4q")
|
||||
@ -0,0 +1,31 @@
|
||||
extends Control
|
||||
|
||||
@onready var mp_scene = preload("res://scene/ui/item/mp_item.tscn")
|
||||
|
||||
@onready var hp_bar = $HpBar as TextureProgressBar
|
||||
@onready var mp_sub_bar = $MpSubBar as TextureProgressBar
|
||||
@onready var mp_list = $MpList as HBoxContainer
|
||||
|
||||
func on_hp_max_changed(value:float):
|
||||
hp_bar.max_value = value
|
||||
|
||||
func on_hp_changed(value:float):
|
||||
hp_bar.value = value
|
||||
|
||||
func on_mp_sub_max_changed(value:float):
|
||||
mp_sub_bar.max_value = value
|
||||
|
||||
func on_mp_sub_changed(value:float):
|
||||
mp_sub_bar.value = value
|
||||
|
||||
func on_mp_max_changed(value:int):
|
||||
for child in mp_list.get_children():
|
||||
child.queue_free()
|
||||
for i in range(value):
|
||||
var mp_item = mp_scene.instantiate() as MpItemSub
|
||||
mp_list.add_child(mp_item)
|
||||
|
||||
func on_mp_changed(value:int):
|
||||
for i in range(mp_list.get_child_count()):
|
||||
var mp_item = mp_list.get_child(i) as MpItemSub
|
||||
mp_item.set_active(i<value)
|
||||
@ -0,0 +1,4 @@
|
||||
extends Control
|
||||
|
||||
func _process(delta):
|
||||
pass
|
||||
@ -0,0 +1,16 @@
|
||||
extends Control
|
||||
class_name SkillItemSub
|
||||
|
||||
var icon : TextureRect
|
||||
var slot : TextureRect
|
||||
|
||||
func init(value:Texture2D):
|
||||
icon = $WeaponIcon
|
||||
slot = $WeaponSlot
|
||||
icon.texture = value
|
||||
|
||||
func update_alpha(alpha_from:float,alpha_to:float,rate:float):
|
||||
var alpha = lerp(alpha_from,alpha_to,rate)
|
||||
icon.modulate = Color(1,1,1,alpha)
|
||||
slot.modulate = Color(1,1,1,alpha)
|
||||
|
||||