upd
This commit is contained in:
commit
c286271083
13 files changed
+1134
No files matched your search
@@ -0,0 +1,69 @@
|
||||
[gd_scene format=3 uid="uid://bsrphp6130ptb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dq85ubii8cfid" path="res://Core/Battle/Actions/BattleActionMachine.cs" id="BattleActionMachineScript"]
|
||||
[ext_resource type="Script" uid="uid://c1rwrejr5aoc0" path="res://Core/Battle/BattleSceneContext.cs" id="BattleSceneContextScript"]
|
||||
[ext_resource type="Script" path="src/BattleSpeedControl.cs" id="BattleSpeedControlScript"]
|
||||
[ext_resource type="PackedScene" uid="uid://bjhtml8ujba7p" path="res://scenes/battle/deadground.tscn" id="DeadgroundScene"]
|
||||
[ext_resource type="Script" uid="uid://icsu2hv2c68r" path="res://Core/UI/Lights/UiLightController.cs" id="UiLightControllerScript"]
|
||||
[ext_resource type="PackedScene" uid="uid://b3yq032kqhtn4" path="res://scenes/battle/winground.tscn" id="WingroundScene"]
|
||||
|
||||
[node name="BattleScene" type="Control" unique_id=760066045]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("BattleSceneContextScript")
|
||||
|
||||
[node name="BattleBg" type="TextureRect" parent="." unique_id=1553515841]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Panel" type="Control" parent="." unique_id=1818202398]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="ToolPanel" type="Control" parent="." unique_id=16130515]
|
||||
layout_mode = 1
|
||||
anchor_top = 0.9
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="BattleActionMachine" type="Node" parent="ToolPanel" unique_id=459578957]
|
||||
script = ExtResource("BattleActionMachineScript")
|
||||
|
||||
[node name="BattleSpeedControl" type="Control" parent="."]
|
||||
layout_mode = 0
|
||||
script = ExtResource("BattleSpeedControlScript")
|
||||
|
||||
[node name="Deadground" parent="." unique_id=2064995106 instance=ExtResource("DeadgroundScene")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
|
||||
[node name="Winground" parent="." unique_id=652178152 instance=ExtResource("WingroundScene")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
|
||||
[node name="Lights" type="Control" parent="." unique_id=1021519456]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
script = ExtResource("UiLightControllerScript")
|
||||
@@ -0,0 +1,77 @@
|
||||
[gd_scene format=3 uid="uid://cdln7efykbahy"]
|
||||
|
||||
[ext_resource type="Script" path="src/DeadgroundBehaviour.cs" id="DeadgroundBehaviourController"]
|
||||
|
||||
[node name="Deadground" type="Control" unique_id=1769284696]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("DeadgroundBehaviourController")
|
||||
|
||||
[node name="TransitionBg" type="TextureRect" parent="." unique_id=2003806831]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Content" type="Control" parent="." unique_id=516317159]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="DimBg" type="ColorRect" parent="Content" unique_id=1040388089]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0, 0, 0, 0.7)
|
||||
|
||||
[node name="CenterPanel" type="VBoxContainer" parent="Content" unique_id=695019244]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -200.0
|
||||
offset_top = -100.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 100.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="Content/CenterPanel" unique_id=1047371679]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_colors/font_color = Color(1, 0.3, 0.3, 1)
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "ui/battle/defeat"
|
||||
horizontal_alignment = 1
|
||||
auto_translate = true
|
||||
|
||||
[node name="Spacer" type="Control" parent="Content/CenterPanel" unique_id=1145465550]
|
||||
custom_minimum_size = Vector2(0, 20)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MainMenuButton" type="Button" parent="Content/CenterPanel" unique_id=1265108975]
|
||||
custom_minimum_size = Vector2(0, 50)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "ui/battle/endgame/to_main_menu"
|
||||
auto_translate = true
|
||||
|
||||
[connection signal="pressed" from="Content/CenterPanel/MainMenuButton" to="." method="ToMainMenuClick"]
|
||||
@@ -0,0 +1,44 @@
|
||||
[gd_scene format=3 uid="uid://dx40qu1dj80in"]
|
||||
|
||||
[ext_resource type="Script" path="src/ExpReportCard.cs" id="ExpReportCardScript"]
|
||||
|
||||
[node name="ExpReportCard" type="Control" unique_id=223866085]
|
||||
custom_minimum_size = Vector2(130, 130)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
script = ExtResource("ExpReportCardScript")
|
||||
icon = NodePath("Panel/Icon")
|
||||
nameLabel = NodePath("Panel/NameLabel")
|
||||
expLabel = NodePath("Panel/ExpLabel")
|
||||
|
||||
[node name="Panel" type="VBoxContainer" parent="." unique_id=284918240]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 4
|
||||
alignment = 1
|
||||
|
||||
[node name="Icon" type="TextureRect" parent="Panel" unique_id=149388562]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="NameLabel" type="Label" parent="Panel" unique_id=555712225]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ExpLabel" type="Label" parent="Panel" unique_id=1019918817]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.5, 1, 0.5, 1)
|
||||
theme_override_font_sizes/font_size = 22
|
||||
horizontal_alignment = 1
|
||||
@@ -0,0 +1,40 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/LootReportItem.cs" id="loot_script"]
|
||||
|
||||
[node name="LootReportItem" type="Control"]
|
||||
custom_minimum_size = Vector2(80, 100)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
script = ExtResource("loot_script")
|
||||
icon = NodePath("Panel/Icon")
|
||||
countLabel = NodePath("Panel/CountLabel")
|
||||
|
||||
[node name="Panel" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 2
|
||||
alignment = 1
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Icon" type="TextureRect" parent="Panel"]
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="CountLabel" type="Label" parent="Panel"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
horizontal_alignment = 1
|
||||
mouse_filter = 2
|
||||
@@ -0,0 +1,124 @@
|
||||
[gd_scene format=3 uid="uid://cpfjgflxria5i"]
|
||||
|
||||
[ext_resource type="Script" path="src/WingroundBehaviour.cs" id="1_win"]
|
||||
|
||||
[node name="Winground" type="Control" unique_id=1812297436 node_paths=PackedStringArray("lootTitle")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_win")
|
||||
lootTitle = NodePath("Content/LootTitle")
|
||||
|
||||
[node name="TransitionBg" type="TextureRect" parent="." unique_id=1411801503]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Content" type="Control" parent="." unique_id=865412688]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="DimBg" type="ColorRect" parent="Content" unique_id=1956777181]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0, 0, 0, 0.7)
|
||||
|
||||
[node name="CharExpContainer" type="HBoxContainer" parent="Content" unique_id=1416765042]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.03
|
||||
anchor_top = 0.05
|
||||
anchor_right = 0.42100003
|
||||
anchor_bottom = 0.344
|
||||
offset_right = -0.32006836
|
||||
offset_bottom = -0.25601196
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 20
|
||||
alignment = 1
|
||||
|
||||
[node name="LootTitle" type="Label" parent="Content" unique_id=2075960163]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.65400004
|
||||
anchor_top = 0.544
|
||||
anchor_right = 0.95100003
|
||||
anchor_bottom = 0.58400005
|
||||
offset_left = -0.6800537
|
||||
offset_top = -0.056030273
|
||||
offset_right = -0.92004395
|
||||
offset_bottom = -0.016052246
|
||||
text = "ui/battle/victory/loot_title"
|
||||
|
||||
[node name="LootScrollContainer" type="ScrollContainer" parent="Content" unique_id=2098696418]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.65400004
|
||||
anchor_top = 0.544
|
||||
anchor_right = 0.96000004
|
||||
anchor_bottom = 0.94200003
|
||||
offset_left = -0.6800537
|
||||
offset_top = -0.056030273
|
||||
offset_right = -0.20007324
|
||||
offset_bottom = 0.39196777
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
horizontal_scroll_mode = 3
|
||||
|
||||
[node name="LootContent" type="Control" parent="Content/LootScrollContainer" unique_id=969489928]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="CenterPanel" type="VBoxContainer" parent="Content" unique_id=385679072]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.31800002
|
||||
anchor_top = 0.26000002
|
||||
anchor_right = 0.68200004
|
||||
anchor_bottom = 0.55200005
|
||||
offset_left = -0.5600586
|
||||
offset_top = -0.24002075
|
||||
offset_right = 0.5599365
|
||||
offset_bottom = -0.24804688
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="Content/CenterPanel" unique_id=583298800]
|
||||
auto_translate_mode = 1
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_colors/font_color = Color(0.3, 1, 0.3, 1)
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "ui/battle/victory"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Spacer" type="Control" parent="Content/CenterPanel" unique_id=1854105230]
|
||||
custom_minimum_size = Vector2(0, 20)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ContinueButton" type="Button" parent="Content/CenterPanel" unique_id=1307713785]
|
||||
auto_translate_mode = 1
|
||||
custom_minimum_size = Vector2(0, 50)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "ui/battle/victory/return"
|
||||
|
||||
[connection signal="pressed" from="Content/CenterPanel/ContinueButton" to="." method="ToReturnScene"]
|
||||
Reference in new issue
Block a user