1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 08:21:54 +08:00

feat(角色): 更新熊角色资源与攻击逻辑

添加新的熊角色贴图和遮罩资源
实现新的攻击类型7并调整现有攻击逻辑
优化动画和碰撞体设置
移除旧的SVG资源文件
This commit is contained in:
2025-09-14 13:02:00 +08:00
parent 7b89d10aca
commit 8d841b2f7b
25 changed files with 109 additions and 1352 deletions
+22 -40
View File
@@ -1,27 +1,22 @@
[gd_scene load_steps=30 format=3 uid="uid://m60bwhdpbem8"]
[gd_scene load_steps=26 format=3 uid="uid://m60bwhdpbem8"]
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_3ves7"]
[ext_resource type="Script" path="res://scripts/Contents/Characters/Bear.gd" id="2_kh2af"]
[ext_resource type="Texture2D" uid="uid://dmy5lfw3jy2u4" path="res://resources/characters/bear/bear-walk-a.svg" id="2_umdul"]
[ext_resource type="AudioStream" uid="uid://dqhrycmnkwojq" path="res://resources/sounds/bossAttack/Bear/Arrow7.ogg" id="3_n5dji"]
[ext_resource type="Texture2D" uid="uid://dxlsg4p1xkqh0" path="res://resources/characters/bear/bear-walk-b.svg" id="3_o77du"]
[ext_resource type="Texture2D" uid="uid://cd5vnifacsc8t" path="res://resources/characters/bear/bear-walk-c.svg" id="4_encki"]
[ext_resource type="AudioStream" uid="uid://bxks728nvv83c" path="res://resources/sounds/bossAttack/Bear/SunDance.ogg" id="4_meklc"]
[ext_resource type="Texture2D" uid="uid://dsgtjdeggris7" path="res://resources/characters/bear/bear-walk-d.svg" id="5_mvydi"]
[ext_resource type="AudioStream" uid="uid://dhcm3pjj82xhg" path="res://resources/sounds/bossAttack/Bear/ForeverRainbow.ogg" id="5_vej16"]
[ext_resource type="Texture2D" uid="uid://d2mwi15jqmnek" path="res://resources/characters/bear/bear-walk-e.svg" id="6_rwuah"]
[ext_resource type="AudioStream" uid="uid://cqh2yvwcy83gg" path="res://resources/sounds/bossAttack/Bear/Sprint.ogg" id="6_x3jmu"]
[ext_resource type="AudioStream" uid="uid://ce8xjsh68momv" path="res://resources/sounds/bossAttack/Bear/Arrow7-2.ogg" id="7_0r2df"]
[ext_resource type="Texture2D" uid="uid://cli2fyulk3dsg" path="res://resources/characters/bear/bear-walk-f.svg" id="7_f0c6w"]
[ext_resource type="Texture2D" uid="uid://dadi3ud01bqxk" path="res://resources/characters/bear/bear-walk-g.svg" id="8_4c7bp"]
[ext_resource type="AudioStream" uid="uid://dd18jfva1knwm" path="res://resources/sounds/bossAttack/Bear/LightGun.ogg" id="8_qagkm"]
[ext_resource type="Texture2D" uid="uid://017nthmejh3g" path="res://resources/characters/bear/bear-walk-h.svg" id="9_bcby1"]
[ext_resource type="Texture2D" uid="uid://b5e6ndswcmq48" path="res://resources/characters/bear/FurryR.jpg" id="10_m7811"]
[ext_resource type="Shader" path="res://shaders/RedTemprature.gdshader" id="12_j8sas"]
[ext_resource type="Texture2D" uid="uid://df6ly7iydtcwx" path="res://resources/characters/bear/FurryR-mask.png" id="13_v2sdb"]
[sub_resource type="SpriteFrames" id="SpriteFrames_6tgxs"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("9_bcby1")
"texture": ExtResource("10_m7811")
}],
"loop": true,
"name": &"idle",
@@ -29,36 +24,15 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_umdul")
}, {
"duration": 1.0,
"texture": ExtResource("3_o77du")
}, {
"duration": 1.0,
"texture": ExtResource("4_encki")
}, {
"duration": 1.0,
"texture": ExtResource("5_mvydi")
}, {
"duration": 1.0,
"texture": ExtResource("6_rwuah")
}, {
"duration": 1.0,
"texture": ExtResource("7_f0c6w")
}, {
"duration": 1.0,
"texture": ExtResource("8_4c7bp")
}, {
"duration": 1.0,
"texture": ExtResource("9_bcby1")
"texture": ExtResource("10_m7811")
}],
"loop": true,
"name": &"walk",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_hekxf"]
radius = 114.215
[sub_resource type="RectangleShape2D" id="RectangleShape2D_akdh6"]
size = Vector2(335, 344)
[sub_resource type="Curve" id="Curve_u430e"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
@@ -109,6 +83,9 @@ color_ramp = SubResource("GradientTexture1D_o57pq")
color_initial_ramp = SubResource("GradientTexture1D_53df5")
alpha_curve = SubResource("CurveTexture_4vlq0")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_6h05p"]
shader = ExtResource("12_j8sas")
[node name="Bear" instance=ExtResource("1_3ves7")]
script = ExtResource("2_kh2af")
displayName = "狗熊"
@@ -131,15 +108,16 @@ stream = ExtResource("7_0r2df")
[node name="attack5" type="AudioStreamPlayer2D" parent="sounds" index="10"]
stream = ExtResource("8_qagkm")
[node name="attack6" type="AudioStreamPlayer2D" parent="sounds" index="11"]
stream = ExtResource("8_qagkm")
[node name="texture" parent="." index="2"]
position = Vector2(0, -80)
sprite_frames = SubResource("SpriteFrames_6tgxs")
animation = &"walk"
frame = 3
frame_progress = 0.835241
[node name="hitbox" parent="texture/hurtbox" index="0"]
shape = SubResource("CircleShape2D_hekxf")
position = Vector2(-2.5, -1)
shape = SubResource("RectangleShape2D_akdh6")
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
@@ -149,10 +127,14 @@ z_index = -1
emitting = false
amount = 20
process_material = SubResource("ParticleProcessMaterial_5v3nj")
texture = ExtResource("2_umdul")
texture = ExtResource("10_m7811")
[node name="mask" type="Sprite2D" parent="texture" index="7"]
material = SubResource("ShaderMaterial_6h05p")
texture = ExtResource("13_v2sdb")
[node name="statebar" parent="." index="3"]
position = Vector2(0, -175)
position = Vector2(0, -284)
[node name="movebox" parent="." index="4"]
disabled = true