mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-08 20:57:13 +08:00
feat(武器): 添加咸亨记账簿武器及茴香豆子弹
实现新的HXD武器系统,包括: - 咸亨记账簿武器,可发射反弹的茴香豆子弹 - 茴香豆子弹能在敌人间反弹并造成伤害 - 添加相关资源文件及场景配置 - 将新武器添加到公鸡角色的武器库中
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://bqqi6l5wjbal0"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_2mhxm"]
|
||||
[ext_resource type="Script" uid="uid://4mb47jqtc8f7" path="res://scripts/Contents/Bullets/HXD.gd" id="2_4lnkm"]
|
||||
[ext_resource type="Texture2D" uid="uid://cn8otc1mue01x" path="res://resources/bullets/HXD/1.png" id="2_c1db4"]
|
||||
[ext_resource type="Texture2D" uid="uid://cu7y6xuwad1if" path="res://resources/bullets/HXD/2.png" id="3_4lnkm"]
|
||||
[ext_resource type="Texture2D" uid="uid://spfkgh4a2lbu" path="res://resources/bullets/HXD/3.png" id="4_ag3l8"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_lskjb"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_c1db4")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"0",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_4lnkm")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"1",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_ag3l8")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"2",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4lnkm"]
|
||||
size = Vector2(32, 20)
|
||||
|
||||
[node name="HXD" instance=ExtResource("1_2mhxm")]
|
||||
script = ExtResource("2_4lnkm")
|
||||
displayName = "茴香豆"
|
||||
penerate = 1.0
|
||||
lifeTime = 5000.0
|
||||
|
||||
[node name="texture" parent="." index="0"]
|
||||
scale = Vector2(0.185, 0.185)
|
||||
sprite_frames = SubResource("SpriteFrames_lskjb")
|
||||
animation = &"2"
|
||||
|
||||
[node name="hitbox" parent="." index="1"]
|
||||
shape = SubResource("RectangleShape2D_4lnkm")
|
||||
Reference in New Issue
Block a user