mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-11 14:17:13 +08:00
feat: 添加新武器彩虹旗和紫水晶簇,调整饲料属性和数值
refactor: 重构子弹生成逻辑,支持分裂和折射效果 fix: 修复掉落物拾取范围和碰撞检测问题 style: 优化UI显示,添加武器品质和类型标签 docs: 更新字段描述,调整部分饲料名称和分类 perf: 优化数学工具函数,添加随机数处理工具 test: 调整波次生成逻辑,添加新敌人类型 build: 添加新资源文件和相关导入配置
This commit is contained in:
@@ -0,0 +1,94 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://ckq2cq6m23hq3"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Structs/Weapon.gd" id="1_g802t"]
|
||||
[ext_resource type="Theme" uid="uid://dhvs6urgf6jr5" path="res://themes/main.tres" id="2_fwkd3"]
|
||||
[ext_resource type="PackedScene" uid="uid://ch81vd3awkmhk" path="res://components/UI/WeaponName.tscn" id="3_qv0b1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwwpkn4q07ja2" path="res://icon.svg" id="3_vtucy"]
|
||||
[ext_resource type="Texture2D" uid="uid://k13cte17httt" path="res://resources/items/energy.svg" id="4_6gohw"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n2ewr"]
|
||||
content_margin_left = 30.0
|
||||
content_margin_top = 20.0
|
||||
content_margin_right = 30.0
|
||||
content_margin_bottom = 20.0
|
||||
bg_color = Color(0, 0, 0, 0.5)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0, 0, 0, 0.75)
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[node name="WeaponCard" type="PanelContainer"]
|
||||
offset_right = 300.0
|
||||
offset_bottom = 304.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_n2ewr")
|
||||
script = ExtResource("1_g802t")
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="container" type="VBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="selectBtn" type="Button" parent="container"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_fwkd3")
|
||||
text = "升级"
|
||||
|
||||
[node name="info" type="VBoxContainer" parent="container"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="avatar" type="TextureRect" parent="container/info"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(75, 75)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
texture = ExtResource("3_vtucy")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="energyInfo" type="HBoxContainer" parent="container/info"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="icon" type="TextureRect" parent="container/info/energyInfo"]
|
||||
custom_minimum_size = Vector2(15, 15)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("4_6gohw")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="energy" type="Label" parent="container/info/energyInfo"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "0.0"
|
||||
|
||||
[node name="name" parent="container/info" instance=ExtResource("3_qv0b1")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
displayName = "未命名饲料"
|
||||
quality = 1
|
||||
|
||||
[node name="description" type="RichTextLabel" parent="container"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 0
|
||||
bbcode_enabled = true
|
||||
text = "造成[color=cyan]10.0[/color]点伤害。"
|
||||
fit_content = true
|
||||
|
||||
[node name="costs" type="GridContainer" parent="container"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 10
|
||||
theme_override_constants/h_separation = 10
|
||||
theme_override_constants/v_separation = 10
|
||||
columns = 2
|
||||
@@ -0,0 +1,110 @@
|
||||
[gd_scene load_steps=20 format=3 uid="uid://nys5bp6hogls"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_bnhy4"]
|
||||
[ext_resource type="Texture2D" uid="uid://d2pndtow16635" path="res://resources/bullets/lgbt-bullet/造型2.svg" id="2_cnsbx"]
|
||||
[ext_resource type="Script" path="res://scripts/Contents/Bullets/LGBTBullet.gd" id="2_iakgr"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_rdak6"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_cnsbx")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_4pjb3"]
|
||||
radius = 32.249
|
||||
|
||||
[sub_resource type="Curve" id="Curve_6bq7i"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_303mb"]
|
||||
curve = SubResource("Curve_6bq7i")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_6iu81"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_3uomf"]
|
||||
curve = SubResource("Curve_6iu81")
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_0tq38"]
|
||||
offsets = PackedFloat32Array(0, 0.16, 0.32, 0.48, 0.64, 0.8, 1)
|
||||
colors = PackedColorArray(1, 0, 0, 1, 1, 0.447059, 0, 1, 1, 0.890625, 0, 1, 0, 0.820313, 0.128174, 1, 0, 1, 0.859375, 1, 0, 0.53125, 1, 1, 0.429688, 0, 1, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_bd4id"]
|
||||
gradient = SubResource("Gradient_0tq38")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_4q0mc"]
|
||||
particle_flag_disable_z = true
|
||||
angle_min = 1.07288e-05
|
||||
angle_max = 360.0
|
||||
angle_curve = SubResource("CurveTexture_3uomf")
|
||||
direction = Vector3(-1, 0, 0)
|
||||
spread = 180.0
|
||||
initial_velocity_min = 10.0
|
||||
initial_velocity_max = 30.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
scale_min = 5.0
|
||||
scale_max = 10.0
|
||||
color_ramp = SubResource("GradientTexture1D_bd4id")
|
||||
alpha_curve = SubResource("CurveTexture_303mb")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_7mfgg"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_tnhr3"]
|
||||
curve = SubResource("Curve_7mfgg")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_ha3m1"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_snnuj"]
|
||||
curve = SubResource("Curve_ha3m1")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_p75kb"]
|
||||
_data = [Vector2(0, 0.25), 0.0, 0.0, 0, 0, Vector2(0.5, 0.75), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_cytp5"]
|
||||
curve = SubResource("Curve_p75kb")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_xktft"]
|
||||
particle_flag_disable_z = true
|
||||
angle_min = 1.07288e-05
|
||||
angle_max = 360.0
|
||||
angle_curve = SubResource("CurveTexture_snnuj")
|
||||
direction = Vector3(-1, 0, 0)
|
||||
spread = 0.0
|
||||
initial_velocity_min = 50.0
|
||||
initial_velocity_max = 100.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
scale_curve = SubResource("CurveTexture_cytp5")
|
||||
alpha_curve = SubResource("CurveTexture_tnhr3")
|
||||
|
||||
[node name="LGBTBullet" instance=ExtResource("1_bnhy4")]
|
||||
script = ExtResource("2_iakgr")
|
||||
lifeTime = 2000.0
|
||||
|
||||
[node name="texture" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_rdak6")
|
||||
|
||||
[node name="hitbox" parent="." index="1"]
|
||||
shape = SubResource("CircleShape2D_4pjb3")
|
||||
|
||||
[node name="particles" type="GPUParticles2D" parent="." index="2"]
|
||||
z_index = -1
|
||||
amount = 500
|
||||
process_material = SubResource("ParticleProcessMaterial_4q0mc")
|
||||
|
||||
[node name="particles2" type="GPUParticles2D" parent="." index="3"]
|
||||
z_index = -1
|
||||
amount = 30
|
||||
process_material = SubResource("ParticleProcessMaterial_xktft")
|
||||
texture = ExtResource("2_cnsbx")
|
||||
@@ -5,5 +5,5 @@
|
||||
[node name="FeedHasField" type="HBoxContainer"]
|
||||
theme_override_constants/separation = 0
|
||||
script = ExtResource("1_7leag")
|
||||
targetFields = Array[int]([1])
|
||||
targetFields = Array[int]([7])
|
||||
clickToRefresh = true
|
||||
|
||||
@@ -6,10 +6,11 @@
|
||||
[node name="Banana" instance=ExtResource("1_vapev")]
|
||||
avatarTexture = ExtResource("2_2mlfi")
|
||||
displayName = "香蕉"
|
||||
fields = Array[int]([0, 3])
|
||||
fieldValues = Array[float]([15.0, 0.07])
|
||||
topic = 3
|
||||
fields = Array[int]([3])
|
||||
fieldValues = Array[float]([0.04])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([100, 55])
|
||||
costCounts = Array[int]([100, 25])
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_2mlfi")
|
||||
|
||||
@@ -7,13 +7,16 @@
|
||||
avatarTexture = ExtResource("2_ijk6h")
|
||||
displayName = "生日蛋糕"
|
||||
quality = 2
|
||||
fields = Array[int]([4, 8, 15])
|
||||
fieldValues = Array[float]([0.06, 0.075, 1.0])
|
||||
costs = Array[int]([1])
|
||||
costCounts = Array[int]([125])
|
||||
topic = 4
|
||||
fields = Array[int]([4, 1])
|
||||
fieldValues = Array[float]([0.03, 0.04])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([300, 200])
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_ijk6h")
|
||||
|
||||
[node name="name" parent="container/info" index="1"]
|
||||
displayName = "生日蛋糕"
|
||||
quality = 2
|
||||
topic = 4
|
||||
|
||||
@@ -6,10 +6,11 @@
|
||||
[node name="Cupcake" instance=ExtResource("1_x5oju")]
|
||||
avatarTexture = ExtResource("2_qojf3")
|
||||
displayName = "烘焙松糕"
|
||||
fields = Array[int]([12, 2, 5])
|
||||
fieldValues = Array[float]([0.15, 0.1, 0.05])
|
||||
costs = Array[int]([0])
|
||||
costCounts = Array[int]([125])
|
||||
topic = 6
|
||||
fields = Array[int]([15, 12])
|
||||
fieldValues = Array[float]([1.0, 0.02])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([125, 50])
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_qojf3")
|
||||
|
||||
@@ -8,7 +8,7 @@ avatarTexture = ExtResource("2_ckr7l")
|
||||
displayName = "团子"
|
||||
quality = 4
|
||||
fields = Array[int]([0, 8, 9])
|
||||
fieldValues = Array[float]([30.0, 0.1, 2.0])
|
||||
fieldValues = Array[float]([15.0, 0.05, 1.0])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([500, 150])
|
||||
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
avatarTexture = ExtResource("2_lxrba")
|
||||
displayName = "团子猫"
|
||||
quality = 3
|
||||
topic = 1
|
||||
fields = Array[int]([17, 19, 10, 20])
|
||||
fieldValues = Array[float]([20.0, 0.05, 0.12, 0.1])
|
||||
fieldValues = Array[float]([20.0, 0.07, 0.04, 0.08])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([600, 400])
|
||||
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
avatarTexture = ExtResource("2_bv6j5")
|
||||
displayName = "甜甜圈"
|
||||
quality = 2
|
||||
fields = Array[int]([9, 7, 16])
|
||||
fieldValues = Array[float]([1.0, -3.0, 1.0])
|
||||
topic = 2
|
||||
fields = Array[int]([7, 22, 6])
|
||||
fieldValues = Array[float]([-1.0, 0.1, 0.04])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([500, 450])
|
||||
|
||||
|
||||
@@ -6,8 +6,9 @@
|
||||
[node name="FruitPlatter" instance=ExtResource("1_rejfg")]
|
||||
avatarTexture = ExtResource("2_6i6sp")
|
||||
displayName = "水果拼盘"
|
||||
fields = Array[int]([2, 12])
|
||||
fieldValues = Array[float]([0.05, 0.1])
|
||||
topic = 7
|
||||
fields = Array[int]([21])
|
||||
fieldValues = Array[float]([2.0])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([150, 200])
|
||||
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
avatarTexture = ExtResource("2_2oxe7")
|
||||
displayName = "水果沙拉"
|
||||
quality = 0
|
||||
fields = Array[int]([1])
|
||||
fieldValues = Array[float]([0.1])
|
||||
topic = 5
|
||||
fields = Array[int]([4, 14])
|
||||
fieldValues = Array[float]([0.04, 0.02])
|
||||
costs = Array[int]([1])
|
||||
costCounts = Array[int]([200])
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@ avatarTexture = ExtResource("2_or0st")
|
||||
displayName = "幸运签语饼"
|
||||
quality = 2
|
||||
fields = Array[int]([14, 4, 6, 18])
|
||||
fieldValues = Array[float]([0.04, 0.07, 0.06, 2.0])
|
||||
fieldValues = Array[float]([0.02, 0.03, 0.06, 1.5])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([165, 50])
|
||||
costCounts = Array[int]([400, 375])
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_or0st")
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
avatarTexture = ExtResource("2_15plv")
|
||||
displayName = "牛奶"
|
||||
quality = 2
|
||||
fields = Array[int]([13, 11, 8, 19])
|
||||
fieldValues = Array[float]([0.1, 0.24, 0.07, 0.02])
|
||||
fields = Array[int]([13, 11, 19, 4])
|
||||
fieldValues = Array[float]([0.1, 0.08, 0.02, 0.02])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([355, 200])
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ avatarTexture = ExtResource("2_l6jnq")
|
||||
displayName = "橘子"
|
||||
quality = 3
|
||||
fields = Array[int]([10, 3])
|
||||
fieldValues = Array[float]([0.15, 0.05])
|
||||
fieldValues = Array[float]([0.07, 0.05])
|
||||
costs = Array[int]([1])
|
||||
costCounts = Array[int]([275])
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
avatarTexture = ExtResource("2_o2o56")
|
||||
displayName = "草莓果酱"
|
||||
fields = Array[int]([3, 1])
|
||||
fieldValues = Array[float]([-0.08, 0.11])
|
||||
fieldValues = Array[float]([-0.05, 0.08])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([100, 50])
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
avatarTexture = ExtResource("2_eed3c")
|
||||
displayName = "塔克"
|
||||
quality = 4
|
||||
fields = Array[int]([13])
|
||||
fieldValues = Array[float]([0.36])
|
||||
fields = Array[int]([13, 3])
|
||||
fieldValues = Array[float]([0.18, 0.02])
|
||||
costs = Array[int]([1])
|
||||
costCounts = Array[int]([400])
|
||||
|
||||
@@ -17,4 +17,4 @@ texture = ExtResource("2_eed3c")
|
||||
|
||||
[node name="name" parent="container/info" index="1"]
|
||||
displayName = "塔克"
|
||||
quality = 3
|
||||
quality = 4
|
||||
|
||||
@@ -8,7 +8,7 @@ avatarTexture = ExtResource("2_gsfud")
|
||||
displayName = "水杯"
|
||||
quality = 4
|
||||
fields = Array[int]([3, 7])
|
||||
fieldValues = Array[float]([0.25, 3.0])
|
||||
fieldValues = Array[float]([0.09, 3.0])
|
||||
costs = Array[int]([1])
|
||||
costCounts = Array[int]([400])
|
||||
|
||||
|
||||
@@ -6,10 +6,11 @@
|
||||
[node name="Xigua-Full" instance=ExtResource("1_sw8vc")]
|
||||
avatarTexture = ExtResource("2_j4m35")
|
||||
displayName = "西瓜"
|
||||
quality = 3
|
||||
fields = Array[int]([2, 0, 11])
|
||||
fieldValues = Array[float]([-0.15, 30.0, 0.1])
|
||||
fieldValues = Array[float]([-0.15, 20.0, 0.1])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([100, 125])
|
||||
costCounts = Array[int]([300, 260])
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_j4m35")
|
||||
|
||||
@@ -8,9 +8,9 @@ avatarTexture = ExtResource("2_htt7g")
|
||||
displayName = "一片西瓜"
|
||||
quality = 0
|
||||
fields = Array[int]([0])
|
||||
fieldValues = Array[float]([10.0])
|
||||
costs = Array[int]([0])
|
||||
costCounts = Array[int]([50])
|
||||
fieldValues = Array[float]([5.0])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([100, 20])
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_htt7g")
|
||||
|
||||
@@ -6,8 +6,9 @@
|
||||
[node name="YellowJam" instance=ExtResource("1_evi6p")]
|
||||
avatarTexture = ExtResource("2_bea7w")
|
||||
displayName = "蜂蜜果酱"
|
||||
quality = 2
|
||||
fields = Array[int]([3, 1, 12])
|
||||
fieldValues = Array[float]([-0.11, 0.16, 0.03])
|
||||
fieldValues = Array[float]([-0.08, 0.15, 0.03])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([200, 125])
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dekcqdhrjs07u"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://d3qojeqa3difn" path="res://components/Abstracts/FullscreenPanelBase.tscn" id="1_yodmq"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0n3igy4hucrg" path="res://components/Weapons/PurpleCrystal.tscn" id="2_5r0we"]
|
||||
[ext_resource type="PackedScene" uid="uid://cxabqjo7skxev" path="res://components/Weapons/BigLaser.tscn" id="3_6xf37"]
|
||||
[ext_resource type="PackedScene" uid="uid://wl8u5m52708w" path="res://components/Weapons/LGBT.tscn" id="4_s13oq"]
|
||||
|
||||
[node name="Weapon" instance=ExtResource("1_yodmq")]
|
||||
|
||||
[node name="wrapper" parent="content" index="0"]
|
||||
theme_override_constants/separation = 50
|
||||
|
||||
[node name="box" type="HBoxContainer" parent="content/wrapper" index="0"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 20
|
||||
alignment = 1
|
||||
|
||||
[node name="PurpleCrystal" parent="content/wrapper/box" index="0" instance=ExtResource("2_5r0we")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="BigLaser" parent="content/wrapper/box" index="1" instance=ExtResource("3_6xf37")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="???" parent="content/wrapper/box" index="2" instance=ExtResource("4_s13oq")]
|
||||
layout_mode = 2
|
||||
@@ -213,9 +213,9 @@ anchors_preset = -1
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -100.0
|
||||
offset_top = -30.0
|
||||
offset_right = -40.0
|
||||
offset_bottom = 30.0
|
||||
offset_top = -82.5
|
||||
offset_right = 48.0
|
||||
offset_bottom = 82.5
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = ExtResource("11_67ghp")
|
||||
|
||||
@@ -263,9 +263,7 @@ visible = false
|
||||
layout_mode = 1
|
||||
|
||||
[node name="GameOver" parent="root/panels" instance=ExtResource("6_10ay6")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
|
||||
[node name="Pause" parent="root/panels" instance=ExtResource("12_jkm6o")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://dmxi1ikn6avig"]
|
||||
[gd_scene load_steps=10 format=3 uid="uid://dmxi1ikn6avig"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Tools/WorldManager.gd" id="1_lxsxj"]
|
||||
[ext_resource type="PackedScene" uid="uid://dfwg750a47ggx" path="res://components/Scenes/UI.tscn" id="2_04cdd"]
|
||||
[ext_resource type="PackedScene" uid="uid://bm7ymrri6pykb" path="res://components/Characters/Rooster.tscn" id="3_5ui6q"]
|
||||
[ext_resource type="Texture2D" uid="uid://dk7u1x1e8ptj7" path="res://resources/maps/Desert.png" id="4_04do5"]
|
||||
[ext_resource type="Texture2D" uid="uid://c33c8mtm4x3e3" path="res://resources/maps/Galaxy.png" id="4_oy4jj"]
|
||||
[ext_resource type="Script" path="res://scripts/Tools/CameraManager.gd" id="5_mk7bv"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ykpvi"]
|
||||
@@ -65,10 +65,7 @@ _data = {
|
||||
}
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_4hkht"]
|
||||
radius = 126.89
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_4y8st"]
|
||||
radius = 46.1736
|
||||
radius = 57.3149
|
||||
|
||||
[node name="world" type="Node2D"]
|
||||
y_sort_enabled = true
|
||||
@@ -91,20 +88,17 @@ libraries = {
|
||||
}
|
||||
|
||||
[node name="map" type="StaticBody2D" parent="." groups=["map"]]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="background" type="Sprite2D" parent="map"]
|
||||
z_index = -100
|
||||
scale = Vector2(5, 5)
|
||||
texture = ExtResource("4_04do5")
|
||||
texture = ExtResource("4_oy4jj")
|
||||
|
||||
[node name="xrz1" type="CollisionShape2D" parent="map"]
|
||||
position = Vector2(-1827, 575)
|
||||
[node name="star1" type="CollisionShape2D" parent="map"]
|
||||
position = Vector2(-2057, 1298)
|
||||
shape = SubResource("CircleShape2D_4hkht")
|
||||
|
||||
[node name="xrz2" type="CollisionShape2D" parent="map"]
|
||||
position = Vector2(251, 118)
|
||||
shape = SubResource("CircleShape2D_4y8st")
|
||||
|
||||
[node name="shan2" type="CollisionPolygon2D" parent="map"]
|
||||
polygon = PackedVector2Array(-2419, 1803, 2429, 1825, 2392, -366, 2867, -318, 2723, 2241, -2879, 2193, -2797, -2582, 2959, -2528, 2858, -347, 2420, -337, 2441, -1834, -2438, -1792)
|
||||
|
||||
|
||||
@@ -1,12 +1,16 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bt370a1djjg5p"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bt370a1djjg5p"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Statemachine/FeedName.gd" id="1_wfxme"]
|
||||
[ext_resource type="Theme" uid="uid://bje5cd08dyok7" path="res://themes/bigTextAndBold.tres" id="2_k71he"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_sby55"]
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_whetw"]
|
||||
font_size = 12
|
||||
font_color = Color(1, 0.442751, 0, 1)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_wse1t"]
|
||||
font_size = 12
|
||||
font_color = Color(1, 0, 0.585938, 1)
|
||||
|
||||
[node name="FeedName" type="HBoxContainer"]
|
||||
offset_right = 205.0
|
||||
offset_bottom = 25.0
|
||||
@@ -20,6 +24,16 @@ qualityColorMap = {
|
||||
3: Color(0.507763, 0, 1, 1),
|
||||
4: Color(1, 0.442751, 0, 1)
|
||||
}
|
||||
topicColorMap = {
|
||||
0: Color(1, 0, 0.585938, 1),
|
||||
1: Color(0, 0.414063, 1, 1),
|
||||
2: Color(0.757813, 0.497314, 0, 1),
|
||||
3: Color(0.40625, 1, 0, 1),
|
||||
4: Color(1, 0, 0, 1),
|
||||
5: Color(1, 0.421875, 0, 1),
|
||||
6: Color(1, 1, 1, 1),
|
||||
7: Color(0.449219, 0.449219, 0.449219, 1)
|
||||
}
|
||||
metadata/_edit_horizontal_guides_ = [25.0]
|
||||
|
||||
[node name="quality" type="Label" parent="."]
|
||||
@@ -27,7 +41,7 @@ unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 0
|
||||
text = "[传说]"
|
||||
label_settings = SubResource("LabelSettings_sby55")
|
||||
label_settings = SubResource("LabelSettings_whetw")
|
||||
|
||||
[node name="label" type="RichTextLabel" parent="."]
|
||||
unique_name_in_owner = true
|
||||
@@ -37,3 +51,10 @@ bbcode_enabled = true
|
||||
text = "[b]未命名饲料[/b]"
|
||||
fit_content = true
|
||||
autowrap_mode = 0
|
||||
|
||||
[node name="topic" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
text = "[生存]"
|
||||
label_settings = SubResource("LabelSettings_wse1t")
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
[gd_scene load_steps=16 format=3 uid="uid://cxcvc1rjvm8i2"]
|
||||
[gd_scene load_steps=17 format=3 uid="uid://cxcvc1rjvm8i2"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Statemachine/ItemDropped.gd" id="1_v2djl"]
|
||||
[ext_resource type="Texture2D" uid="uid://bks8jmctleina" path="res://resources/items/baseball.svg" id="2_4hl42"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_1ishj"]
|
||||
bounce = 0.5
|
||||
|
||||
[sub_resource type="Animation" id="Animation_5i70v"]
|
||||
length = 0.001
|
||||
tracks/0/type = "bezier"
|
||||
@@ -83,7 +86,7 @@ _data = {
|
||||
}
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_7lt1c"]
|
||||
radius = 2.0
|
||||
radius = 14.0357
|
||||
|
||||
[sub_resource type="Curve" id="Curve_11h7l"]
|
||||
_data = [Vector2(0, 0.5), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
@@ -130,6 +133,9 @@ alpha_curve = SubResource("CurveTexture_u4ger")
|
||||
[node name="ItemDropped" type="RigidBody2D"]
|
||||
collision_layer = 2
|
||||
collision_mask = 2
|
||||
physics_material_override = SubResource("PhysicsMaterial_1ishj")
|
||||
contact_monitor = true
|
||||
max_contacts_reported = 1
|
||||
script = ExtResource("1_v2djl")
|
||||
metadata/_edit_vertical_guides_ = [15.0, -15.0]
|
||||
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://ch81vd3awkmhk"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://bje5cd08dyok7" path="res://themes/bigTextAndBold.tres" id="2_y8dft"]
|
||||
[ext_resource type="Script" path="res://scripts/Statemachine/WeaponName.gd" id="3_g750e"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_r88ap"]
|
||||
font_size = 12
|
||||
font_color = Color(1, 0.442751, 0, 1)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_wsanh"]
|
||||
font_size = 12
|
||||
|
||||
[node name="WeaponName" type="HBoxContainer"]
|
||||
offset_right = 205.0
|
||||
offset_bottom = 25.0
|
||||
alignment = 1
|
||||
script = ExtResource("3_g750e")
|
||||
quality = 4
|
||||
qualityColorMap = {
|
||||
0: Color(0.5, 0.5, 0.5, 1),
|
||||
1: Color(1, 1, 1, 1),
|
||||
2: Color(0, 0.493446, 1, 1),
|
||||
3: Color(0.507763, 0, 1, 1),
|
||||
4: Color(1, 0.442751, 0, 1)
|
||||
}
|
||||
typeTopicColorMap = {
|
||||
0: Color(1, 1, 1, 1),
|
||||
1: Color(1, 0, 0, 1),
|
||||
2: Color(0, 1, 1, 1)
|
||||
}
|
||||
metadata/_edit_horizontal_guides_ = [25.0]
|
||||
|
||||
[node name="quality" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 0
|
||||
text = "[传说]"
|
||||
label_settings = SubResource("LabelSettings_r88ap")
|
||||
|
||||
[node name="label" type="RichTextLabel" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_y8dft")
|
||||
bbcode_enabled = true
|
||||
text = "[b]未命名武器[/b]"
|
||||
fit_content = true
|
||||
autowrap_mode = 0
|
||||
|
||||
[node name="typeTopic" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
text = "[冲击]"
|
||||
label_settings = SubResource("LabelSettings_wsanh")
|
||||
@@ -0,0 +1,32 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cxabqjo7skxev"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_wrvv5"]
|
||||
[ext_resource type="Texture2D" uid="uid://dy4op6n6vxef3" path="res://resources/bullets/laser-circle/circle.svg" id="2_qe8gb"]
|
||||
|
||||
[node name="BigLaser" instance=ExtResource("1_wrvv5")]
|
||||
avatarTexture = ExtResource("2_qe8gb")
|
||||
displayName = "湮灭激光"
|
||||
quality = 2
|
||||
typeTopic = 1
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([100, 50])
|
||||
store = {
|
||||
"atk": 35,
|
||||
"time": 0.1
|
||||
}
|
||||
descriptionTemplate = "每$time秒造成$atk点伤害。"
|
||||
needEnergy = 100.0
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_qe8gb")
|
||||
|
||||
[node name="energy" parent="container/info/energyInfo" index="1"]
|
||||
text = "50.0"
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
displayName = "湮灭激光"
|
||||
quality = 2
|
||||
typeTopic = 1
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
text = "每[color=cyan]0.1[/color]秒造成[color=cyan]35.0[/color]点伤害。"
|
||||
@@ -0,0 +1,36 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://wl8u5m52708w"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_jwtmd"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwfyi61xkt4bt" path="res://resources/weapons/lgbt.jpeg" id="2_ou6jo"]
|
||||
|
||||
[node name="LGBT" instance=ExtResource("1_jwtmd")]
|
||||
offset_right = 190.0
|
||||
offset_bottom = 324.0
|
||||
avatarTexture = ExtResource("2_ou6jo")
|
||||
displayName = "彩虹旗"
|
||||
quality = 4
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([200, 100])
|
||||
store = {
|
||||
"atk": 20,
|
||||
"count": 7.0,
|
||||
"power": 0.3,
|
||||
"trace": 2.0
|
||||
}
|
||||
descriptionTemplate = "发射$count条可追踪$trace秒,效率为$power的带状彩虹,每条造成$atk点伤害。"
|
||||
needEnergy = 150.0
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_ou6jo")
|
||||
|
||||
[node name="energy" parent="container/info/energyInfo" index="1"]
|
||||
text = "150.0"
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
displayName = "彩虹旗"
|
||||
quality = 4
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
size_flags_vertical = 3
|
||||
text = "发射[color=cyan]7.0[/color]条可追踪[color=cyan]2.0[/color]秒,效率为[color=cyan]0.3[/color]的带状彩虹,每条造成[color=cyan]20.0[/color]点伤害。"
|
||||
autowrap_mode = 2
|
||||
@@ -0,0 +1,22 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://c0n3igy4hucrg"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_hyubh"]
|
||||
[ext_resource type="Texture2D" uid="uid://16yhngg3jpun" path="res://resources/weapons/purple-crystal.svg" id="2_wgtcw"]
|
||||
|
||||
[node name="PurpleCrystal" instance=ExtResource("1_hyubh")]
|
||||
offset_right = 208.0
|
||||
offset_bottom = 280.0
|
||||
avatarTexture = ExtResource("2_wgtcw")
|
||||
displayName = "紫水晶簇"
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([50, 10])
|
||||
descriptionTemplate = "撞击造成$atk点伤害。"
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_wgtcw")
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
displayName = "紫水晶簇"
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
text = "撞击造成[color=cyan]10.0[/color]点伤害。"
|
||||
Reference in New Issue
Block a user