mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-10 21:57:12 +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")
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_e5pl8"]
|
||||
[ext_resource type="Script" uid="uid://cthtupc6dtbav" path="res://scripts/Contents/Characters/Rooster.gd" id="2_oqdqd"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0n3igy4hucrg" path="res://components/Weapons/PurpleCrystal.tscn" id="3_da2ca"]
|
||||
[ext_resource type="PackedScene" uid="uid://bm5sw6mr71acq" path="res://components/Weapons/HXD.tscn" id="3_da2ca"]
|
||||
[ext_resource type="AudioStream" uid="uid://cdrevrq7n6yqa" path="res://resources/sounds/effect/Boing.mp3" id="4_66s6c"]
|
||||
[ext_resource type="AudioStream" uid="uid://benyec5bqni0b" path="res://resources/sounds/effect/Chomp.wav" id="4_k0yme"]
|
||||
[ext_resource type="AudioStream" uid="uid://dmxh3bpk8vyy5" path="res://resources/sounds/effect/Coin.mp3" id="5_xnbhq"]
|
||||
@@ -58,8 +58,7 @@ metadata/_edit_vertical_guides_ = [71.0]
|
||||
[node name="weaponStore" parent="." index="1"]
|
||||
process_mode = 4
|
||||
|
||||
[node name="PurpleCrystal" parent="weaponStore" index="0" instance=ExtResource("3_da2ca")]
|
||||
debugRebuild = false
|
||||
[node name="HXD" parent="weaponStore" index="0" instance=ExtResource("3_da2ca")]
|
||||
|
||||
[node name="sprint" parent="sounds" index="0"]
|
||||
stream = ExtResource("4_66s6c")
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bm5sw6mr71acq"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_h4ls7"]
|
||||
[ext_resource type="Script" uid="uid://0xfj35jvi7ym" path="res://scripts/Contents/Weapons/HXD.gd" id="2_7tnwq"]
|
||||
[ext_resource type="Texture2D" uid="uid://cvvtr2mmwo18r" path="res://resources/weapons/HXD.png" id="2_d5bd0"]
|
||||
|
||||
[node name="HXD" instance=ExtResource("1_h4ls7")]
|
||||
script = ExtResource("2_7tnwq")
|
||||
avatarTexture = ExtResource("2_d5bd0")
|
||||
displayName = "咸亨记账簿"
|
||||
quality = 3
|
||||
typeTopic = 3
|
||||
costBeachball = 4000
|
||||
store = {
|
||||
"atk": 4
|
||||
}
|
||||
descriptionTemplate = "发射$atk颗[b]茴香豆[/b],在敌人间反弹,每颗茴香豆最多可以反弹$atk次,每次反弹对敌人造成$atk点伤害。散射+40°"
|
||||
cooldown = 1000.0
|
||||
debugRebuild = true
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_d5bd0")
|
||||
|
||||
[node name="beachball" parent="container/info/infos" index="1"]
|
||||
count = 4000
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
displayName = "咸亨记账簿"
|
||||
quality = 3
|
||||
typeTopic = 3
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
text = "[center]发射[color=cyan]4[/color]颗[b]茴香豆[/b],在敌人间反弹,每颗茴香豆最多可以反弹[color=cyan]4[/color]次,每次反弹对敌人造成[color=cyan]4[/color]点伤害。散射+40°[/center]"
|
||||
Reference in New Issue
Block a user