1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00
Files
Dog-Lynx-And-HCN/components/Bullets/Diamond.tscn
T
fallingshrimp 171dbb1131 refactor(BulletBase/EntityBase): 重构子弹和实体属性系统
将子弹的fields属性拆分为独立的speed、damage和penerate变量
为所有子弹和实体添加register方法用于初始化属性
统一攻击冷却时间管理为attackCooldownMap
移除FieldStore中不再使用的Bullet相关枚举和映射
2025-08-29 10:50:22 +08:00

25 lines
809 B
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://dbqrmirh6qi7s"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_8udva"]
[ext_resource type="Texture2D" uid="uid://dfptmc7clhtx7" path="res://resources/bullets/diamond/frames/0.svg" id="2_txmup"]
[ext_resource type="Script" path="res://scripts/Contents/Bullets/Diamond.gd" id="2_yxtyj"]
[sub_resource type="SpriteFrames" id="SpriteFrames_oj6iy"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_txmup")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="Diamond" instance=ExtResource("1_8udva")]
script = ExtResource("2_yxtyj")
lifeTime = 5000.0
indisDamage = true
[node name="texture" parent="." index="0"]
sprite_frames = SubResource("SpriteFrames_oj6iy")