mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
feat: 添加新武器彩虹旗和紫水晶簇,调整饲料属性和数值
refactor: 重构子弹生成逻辑,支持分裂和折射效果 fix: 修复掉落物拾取范围和碰撞检测问题 style: 优化UI显示,添加武器品质和类型标签 docs: 更新字段描述,调整部分饲料名称和分类 perf: 优化数学工具函数,添加随机数处理工具 test: 调整波次生成逻辑,添加新敌人类型 build: 添加新资源文件和相关导入配置
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user