mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
f0edb426f1
- 修改链式机枪的子弹生成逻辑,使用新的锚点系统 - 调整武器属性包括伤害值、冷却时间和能量消耗 - 为公鸡角色添加蘑菇镐和核弹两种新武器 - 优化公鸡角色的攻击输入检测逻辑
26 lines
963 B
Plaintext
26 lines
963 B
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://bgt6dok3wc7qs"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_0gg4y"]
|
|
[ext_resource type="Texture2D" uid="uid://ccxdfsg5071t4" path="res://resources/bullets/chain-gun/Chain_Gun.webp" id="2_4hyk3"]
|
|
[ext_resource type="Script" path="res://scripts/Contents/Bullets/ChainGun.gd" id="2_l7jtn"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_cl70o"]
|
|
|
|
[node name="ChainGun" instance=ExtResource("1_0gg4y")]
|
|
script = ExtResource("2_l7jtn")
|
|
lifeTime = 50.0
|
|
|
|
[node name="texture" parent="." index="0"]
|
|
sprite_frames = SubResource("SpriteFrames_cl70o")
|
|
|
|
[node name="node" type="Sprite2D" parent="texture" index="1"]
|
|
position = Vector2(74, 0)
|
|
texture = ExtResource("2_4hyk3")
|
|
|
|
[node name="anchor" type="Node2D" parent="texture/node" index="0"]
|
|
unique_name_in_owner = true
|
|
position = Vector2(25, 0)
|
|
|
|
[node name="hitbox" parent="." index="1"]
|
|
disabled = true
|