mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 00:11:54 +08:00
feat(角色): 为赛博猫猫和深海添加掉落物品配置
feat(武器): 新增引力源武器及其资源文件 - 添加引力源武器的场景配置和SVG资源 - 包含引力源武器的物理效果和描述文本 fix(子弹): 调整紫色小水晶的穿透属性 - 将穿透值设为0.25 - 更新链式机枪的描述以反映穿透属性变化 refactor(角色): 移除公鸡角色的武器存储 - 删除公鸡角色中不再需要的武器实例 chore(关卡): 更新调试关卡配置 - 将waveDebugConfig改为使用WAVE_MOWING
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://c6wjncfsm2rxw"]
|
||||
[gd_scene format=3 uid="uid://c6wjncfsm2rxw"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_7tnrb"]
|
||||
[ext_resource type="Script" uid="uid://t1q1eq8fk0ro" path="res://scripts/Contents/Bullets/PurpleCrystal.gd" id="2_it0pa"]
|
||||
@@ -18,17 +18,18 @@ animations = [{
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_gdnkp"]
|
||||
radius = 5.0
|
||||
|
||||
[node name="PurpleCrystalSmall" instance=ExtResource("1_7tnrb")]
|
||||
[node name="PurpleCrystalSmall" unique_id=468411397 instance=ExtResource("1_7tnrb")]
|
||||
modulate = Color(1.5, 1.5, 1.5, 1)
|
||||
script = ExtResource("2_it0pa")
|
||||
displayName = "微型水晶"
|
||||
speed = 15.0
|
||||
baseDamage = 1.0
|
||||
penerate = 0.25
|
||||
lifeTime = 1000.0
|
||||
|
||||
[node name="texture" parent="." index="0"]
|
||||
[node name="texture" parent="." index="0" unique_id=162977358]
|
||||
scale = Vector2(0.6, 0.6)
|
||||
sprite_frames = SubResource("SpriteFrames_r86b3")
|
||||
|
||||
[node name="hitbox" parent="." index="1"]
|
||||
[node name="hitbox" parent="." index="1" unique_id=175349408]
|
||||
shape = SubResource("CircleShape2D_gdnkp")
|
||||
|
||||
@@ -20,6 +20,8 @@ animations = [{
|
||||
[node name="CyberCat" unique_id=1689157073 instance=ExtResource("1_afsds")]
|
||||
script = ExtResource("2_afsds")
|
||||
displayName = "赛博猫猫"
|
||||
drops = Array[int]([0, 1])
|
||||
dropCounts = Array[Vector2]([Vector2(50, 60), Vector2(10, 15)])
|
||||
metadata/_edit_vertical_guides_ = [200.0]
|
||||
|
||||
[node name="texture" parent="." index="3"]
|
||||
|
||||
@@ -24,6 +24,8 @@ size = Vector2(165, 349)
|
||||
[node name="Deepsea" unique_id=1544856335 instance=ExtResource("1_g8my0")]
|
||||
script = ExtResource("2_1qdp4")
|
||||
displayName = "深海"
|
||||
drops = Array[int]([0, 1])
|
||||
dropCounts = Array[Vector2]([Vector2(40, 80), Vector2(30, 60)])
|
||||
|
||||
[node name="attack1" type="AudioStreamPlayer2D" parent="sounds" index="7" unique_id=1216852444]
|
||||
stream = ExtResource("3_hk3hc")
|
||||
|
||||
@@ -2,13 +2,9 @@
|
||||
|
||||
[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://bbrllsqjmx0ie" path="res://components/Weapons/DaoStatue.tscn" id="3_da2ca"]
|
||||
[ext_resource type="PackedScene" uid="uid://cx7nogfnv7s8t" path="res://components/Weapons/Tree.tscn" id="4_0omr3"]
|
||||
[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="PackedScene" uid="uid://yq7vmijwvgx1" path="res://components/Weapons/AcidWind.tscn" id="5_jluqw"]
|
||||
[ext_resource type="AudioStream" uid="uid://dmxh3bpk8vyy5" path="res://resources/sounds/effect/Coin.mp3" id="5_xnbhq"]
|
||||
[ext_resource type="PackedScene" uid="uid://bm5sw6mr71acq" path="res://components/Weapons/HXD.tscn" id="6_fkh3f"]
|
||||
[ext_resource type="AudioStream" uid="uid://4wuuf1osk0yv" path="res://resources/sounds/effect/Low Boing.wav" id="6_m5px1"]
|
||||
[ext_resource type="Texture2D" uid="uid://fn8qx72clh38" path="res://resources/characters/cock/rooster-a.svg" id="8_da2ca"]
|
||||
[ext_resource type="Texture2D" uid="uid://ci2ik43ce82uy" path="res://resources/characters/cock/rooster-b.svg" id="9_0omr3"]
|
||||
@@ -104,18 +100,6 @@ process_material = SubResource("ParticleProcessMaterial_joj4g")
|
||||
[node name="weaponStore" parent="." index="2"]
|
||||
process_mode = 4
|
||||
|
||||
[node name="DaoStatue" parent="weaponStore" index="0" unique_id=265403254 instance=ExtResource("3_da2ca")]
|
||||
debugRebuild = false
|
||||
|
||||
[node name="Tree" parent="weaponStore" index="1" unique_id=185228402 instance=ExtResource("4_0omr3")]
|
||||
debugRebuild = false
|
||||
|
||||
[node name="AcidWind" parent="weaponStore" index="2" unique_id=1072098623 instance=ExtResource("5_jluqw")]
|
||||
debugRebuild = false
|
||||
|
||||
[node name="HXD" parent="weaponStore" index="3" unique_id=1383383596 instance=ExtResource("6_fkh3f")]
|
||||
debugRebuild = false
|
||||
|
||||
[node name="sprint" parent="sounds" index="0"]
|
||||
stream = ExtResource("4_66s6c")
|
||||
|
||||
|
||||
@@ -20,10 +20,11 @@ storeType = {
|
||||
"count": 1,
|
||||
"split": 3
|
||||
}
|
||||
descriptionTemplate = "超高速发射$count个[b]微型水晶[/b],可造成$atk点伤害,散射+$split。"
|
||||
descriptionTemplate = "超高速发射$count个[b]微型水晶[/b],可造成$atk点伤害,散射+$split,穿透+[color=yellow]25%[/color]。"
|
||||
sources = Array[String](["Terraria"])
|
||||
needEnergy = 0.75
|
||||
cooldown = 66.0
|
||||
debugRebuild = true
|
||||
|
||||
[node name="attack" parent="sounds" parent_id_path=PackedInt32Array(1775425991) index="0" unique_id=853583292]
|
||||
stream = ExtResource("4_g38si")
|
||||
@@ -40,5 +41,11 @@ count = 400
|
||||
[node name="name" parent="container/info/displays" parent_id_path=PackedInt32Array(784441328) index="0" unique_id=1576068972]
|
||||
displayName = "链式机枪"
|
||||
|
||||
[node name="source" parent="container/info/displays" parent_id_path=PackedInt32Array(784441328) index="1" unique_id=365191794]
|
||||
text = "Terraria"
|
||||
|
||||
[node name="description" parent="container" parent_id_path=PackedInt32Array(575698869) index="2" unique_id=566230682]
|
||||
text = "[center]超高速发射[color=cyan]1[/color]个[b]微型水晶[/b],可造成[color=cyan]5[/color]点伤害,散射+[color=cyan]15.0°[/color]。[/center]"
|
||||
text = "[center]超高速发射[color=cyan]1[/color]个[b]微型水晶[/b],可造成[color=cyan]5[/color]点伤害,散射+[color=cyan]15.0°[/color],穿透+[color=yellow]25%[/color]。[/center]"
|
||||
|
||||
[node name="tease" parent="container" parent_id_path=PackedInt32Array(575698869) index="3" unique_id=689277044]
|
||||
visible = false
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
[gd_scene format=3 uid="uid://cb68wvctxd4kx"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_1lqmy"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbbd5ljkfvof8" path="res://resources/weapons/gravity-source.svg" id="2_r5y0x"]
|
||||
|
||||
[node name="GravitySource" unique_id=2085048785 instance=ExtResource("1_1lqmy")]
|
||||
avatarTexture = ExtResource("2_r5y0x")
|
||||
displayName = "引力源"
|
||||
store = {
|
||||
"atk": 114514.0,
|
||||
"m1": 10000.0,
|
||||
"m2": 1.0
|
||||
}
|
||||
storeType = {
|
||||
"atk": 0
|
||||
}
|
||||
descriptionTemplate = "使光标化身为[b]恒星[/b]产生强大引力,并吸引[color=yellow]1[/color]颗行星围绕其。移动恒星来使行星产生加速度,[color=yellow]行星速度越快撞击伤害越高[/color]。
|
||||
行星的速度太快会发生[color=red]逃逸[/color],
|
||||
撞上恒星后会[color=red]坠毁[/color]。
|
||||
|
||||
恒星质量:$m1,行星质量:$m2,
|
||||
圆周运动初始半径:[color=yellow]100[/color],
|
||||
万有引力常数:$atk。"
|
||||
sources = Array[String](["万有引力", "宇宙航行"])
|
||||
tease = "告诉我,逃逸速度是多少?!"
|
||||
debugRebuild = true
|
||||
|
||||
[node name="avatar" parent="container/info" parent_id_path=PackedInt32Array(1625294072) index="0" unique_id=1021985889]
|
||||
texture = ExtResource("2_r5y0x")
|
||||
|
||||
[node name="name" parent="container/info/displays" parent_id_path=PackedInt32Array(784441328) index="0" unique_id=1576068972]
|
||||
displayName = "引力源"
|
||||
|
||||
[node name="source" parent="container/info/displays" parent_id_path=PackedInt32Array(784441328) index="1" unique_id=365191794]
|
||||
text = "万有引力 × 宇宙航行"
|
||||
|
||||
[node name="description" parent="container" parent_id_path=PackedInt32Array(575698869) index="2" unique_id=566230682]
|
||||
text = "[center]使光标化身为[b]恒星[/b]产生强大引力,并吸引[color=yellow]1[/color]颗行星围绕其。移动恒星来使行星产生加速度,[color=yellow]行星速度越快撞击伤害越高[/color]。
|
||||
行星的速度太快会发生[color=red]逃逸[/color],
|
||||
撞上恒星后会[color=red]坠毁[/color]。
|
||||
|
||||
恒星质量:[color=cyan]10000.00[/color],行星质量:[color=cyan]1.00[/color],
|
||||
圆周运动初始半径:[color=yellow]100[/color],
|
||||
万有引力常数:[color=cyan]114514.00[/color]。[/center]"
|
||||
|
||||
[node name="tease" parent="container" parent_id_path=PackedInt32Array(575698869) index="3" unique_id=689277044]
|
||||
text = "“告诉我,逃逸速度是多少?!”"
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) --><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="103.81768798828125" height="50.49799346923828" viewBox="20.464786529541016 46.81999969482422 103.81768798828125 50.49799346923828" enable-background="new 0 0 144 144" xml:space="preserve">
|
||||
<g>
|
||||
<ellipse fill="#726658" cx="71.46" cy="72.069" rx="27.896" ry="24.749" stroke-width="1"/>
|
||||
<ellipse fill="none" stroke="#FFFFFF" stroke-width="0.5" cx="71.46" cy="72.069" rx="27.896" ry="24.749"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M98.382,78.593c-8.294,2.043-18.515,2.229-29.204,0.084 c-9.879-1.982-18.621-5.643-25.307-10.199"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M96.493,82.835c-4.839,2.38-10.489,3.136-16.073,2.142"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M52.58,83.15c-2.098-0.047-4.24-0.262-6.4-0.655"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M76.729,84.412c-4.852,4.18-12.408,6.924-21.363,7.812"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M75.436,79.681c-4.857,5.245-13.574,8.622-24.102,9.478"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M84.229,80.198c-1.912,3.812-5.406,6.505-9.789,7.968"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M78.578,80.138C75.844,87.344,71.57,93.111,66.6,96.469"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M83.324,94.48c-2.742-1.16-5.434-2.717-7.975-4.674 c-0.426-0.326-0.842-0.662-1.248-1.002"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M89.414,91.113c-4.016-0.525-8.152-1.91-12.082-4.152"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M57.074,88.383c-4.992-4.451-8.496-10.644-9.637-17.669"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M99.237,75.265c-8.79,1.621-19.452-1.547-28.046-9.209 c-5.418-4.832-9.156-10.686-11.025-16.588"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M85.422,50.515c1.139,2.387,1.783,5.111,1.783,8.004 c0,5.693-2.498,10.736-6.34,13.836"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M56.004,74.878c-0.221-1.098-0.336-2.227-0.336-3.383 c0-10.314,9.186-18.676,20.518-18.676c11.33,0,20.517,8.361,20.517,18.676c0,1.43-0.178,2.82-0.512,4.156"/>
|
||||
<g>
|
||||
<path opacity="0.8" fill="#F9ED32" d="M97.405,81.255c16.201-4.055,26.936-9.635,26.355-14.543 c-0.826-7.023-24.502-10.014-52.882-6.674c-28.381,3.34-50.717,11.74-49.891,18.764c0.568,4.815,11.873,7.733,28.07,8.017 c0,0-1.033-1.225-1.332-1.578s-0.861-1.412-0.861-1.412c-7.277-0.725-11.941-2.388-12.225-4.802 c-0.559-4.74,15.979-10.58,36.938-13.045c20.958-2.467,38.399-0.623,38.958,4.117c0.301,2.553-4.361,5.426-12.004,7.92 c0,0-0.361,1.219-0.496,1.6C97.899,79.997,97.405,81.255,97.405,81.255z" stroke-width="1"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M98.532,78.019c7.643-2.494,12.305-5.367,12.004-7.92 c-0.559-4.74-18-6.584-38.958-4.117c-20.959,2.465-37.496,8.305-36.938,13.045c0.283,2.414,4.947,4.077,12.225,4.802"/>
|
||||
<path fill="none" stroke="#C2B59B" stroke-width="0.5" d="M97.405,81.255c16.201-4.055,26.936-9.635,26.355-14.543 c-0.826-7.023-24.502-10.014-52.882-6.674c-28.381,3.34-50.717,11.74-49.891,18.764c0.568,4.815,11.873,7.733,28.07,8.017"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg><!--rotationCenter:72:72-->
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dbbd5ljkfvof8"
|
||||
path="res://.godot/imported/gravity-source.svg-4080192372fa7c00781334c13cd9a26a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/weapons/gravity-source.svg"
|
||||
dest_files=["res://.godot/imported/gravity-source.svg-4080192372fa7c00781334c13cd9a26a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
svg/scale=1.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
@@ -61,7 +61,7 @@ static var WAVE_MOWING = [
|
||||
]
|
||||
static var WAVE_EMPTY = []
|
||||
static var waveReleaseConfig = [WAVE_TESTBOSS_ALL, 1]
|
||||
static var waveDebugConfig = [WAVE_JUSTJOKE, 1]
|
||||
static var waveDebugConfig = [WAVE_MOWING, 1]
|
||||
|
||||
static var current: int = startWith(waveReleaseConfig[1]) if WorldManager.isRelease() else startWith(waveDebugConfig[1])
|
||||
static var data = waveReleaseConfig[0] if WorldManager.isRelease() else waveDebugConfig[0]
|
||||
|
||||
Reference in New Issue
Block a user