mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
feat(EnergyBlock): 添加能量块角色纹理和动画配置
添加40code.png作为能量块角色的纹理资源,并配置SpriteFrames动画 调整statebar位置以适配新的纹理尺寸
This commit is contained in:
@@ -2,10 +2,33 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_n2ng1"]
|
||||
[ext_resource type="Script" uid="uid://du30qanswie6y" path="res://scripts/Contents/Characters/EnergyBlock.gd" id="2_h3ykr"]
|
||||
[ext_resource type="Texture2D" uid="uid://bm64qkwl8qeqo" path="res://resources/characters/enregy-block/40code.png" id="3_v78o6"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_8do1r"]
|
||||
animations = [{
|
||||
"frames": [],
|
||||
"loop": true,
|
||||
"name": &"idle",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [],
|
||||
"loop": true,
|
||||
"name": &"walk",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="EnergyBlock" unique_id=247617339 instance=ExtResource("1_n2ng1")]
|
||||
script = ExtResource("2_h3ykr")
|
||||
displayName = "稻草人"
|
||||
|
||||
[node name="texture" parent="." index="3"]
|
||||
sprite_frames = SubResource("SpriteFrames_8do1r")
|
||||
animation = &"walk"
|
||||
|
||||
[node name="staticBackground" parent="texture" index="0"]
|
||||
position = Vector2(0, -1.0000038)
|
||||
scale = Vector2(0.49728185, 0.49728185)
|
||||
texture = ExtResource("3_v78o6")
|
||||
|
||||
[node name="statebar" parent="." index="4"]
|
||||
position = Vector2(0, -131)
|
||||
position = Vector2(0, -119)
|
||||
|
||||
Reference in New Issue
Block a user