mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-26 21:42:29 +08:00
feat(游戏结束): 添加失败音效并调整游戏平衡
添加失败音效并在游戏结束时播放 调整小鸡角色的攻击概率和伤害值 恢复初始波次配置为母鸡和小鸡的组合
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://beo6s1kudbbve"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://beo6s1kudbbve"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://d3qojeqa3difn" path="res://components/Abstracts/FullscreenPanelBase.tscn" id="1_u2ynr"]
|
||||
[ext_resource type="Script" path="res://scripts/Contents/Panels/GameOver.gd" id="2_6cd45"]
|
||||
[ext_resource type="AudioStream" uid="uid://dbso1w8hvgilg" path="res://resources/sounds/effect/Lose.wav" id="3_n4aax"]
|
||||
[ext_resource type="FontFile" uid="uid://db2jl4bq8idec" path="res://resources/fonts/swyc.ttf" id="3_oynlg"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7gbuu"]
|
||||
@@ -11,6 +13,8 @@ font = ExtResource("3_oynlg")
|
||||
font_size = 50
|
||||
|
||||
[node name="GameOver" instance=ExtResource("1_u2ynr")]
|
||||
visible = false
|
||||
script = ExtResource("2_6cd45")
|
||||
|
||||
[node name="wrapper" parent="content" index="0"]
|
||||
theme_override_constants/separation = 50
|
||||
@@ -25,3 +29,7 @@ layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
text = "败北"
|
||||
label_settings = SubResource("LabelSettings_17i5j")
|
||||
|
||||
[node name="audio" type="AudioStreamPlayer2D" parent="." index="2"]
|
||||
unique_name_in_owner = true
|
||||
stream = ExtResource("3_n4aax")
|
||||
|
||||
Reference in New Issue
Block a user