You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.8 KiB
Plaintext
88 lines
2.8 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://b2iq5inxeoe82"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dedauf4ntkthu" path="res://icon.svg" id="1_d15px"]
|
|
[ext_resource type="Script" path="res://Test Scenes/Player.gd" id="2_8b3bs"]
|
|
[ext_resource type="PackedScene" uid="uid://cl5d768roh8ir" path="res://Systems/UI/Menu System/battle_menu.tscn" id="3_ubnwv"]
|
|
[ext_resource type="Texture2D" uid="uid://dqf1p1mfki3vc" path="res://assets/art/ui/bar_under.png" id="4_afpwe"]
|
|
[ext_resource type="PackedScene" uid="uid://ch1sc85jxy1r7" path="res://Systems/Combat/Combatant.tscn" id="4_w3vb5"]
|
|
[ext_resource type="Texture2D" uid="uid://bnp5t7o26kb0c" path="res://assets/art/ui/bar_over.png" id="5_5mhew"]
|
|
[ext_resource type="PackedScene" uid="uid://bbbyup8pp6uam" path="res://Systems/Combat/Actions/Standard Actions/attack.tscn" id="5_17k7n"]
|
|
[ext_resource type="Script" path="res://Systems/Combat/Scripts/combat_stats.gd" id="7_ynhjd"]
|
|
|
|
[sub_resource type="Resource" id="Resource_28c5l"]
|
|
script = ExtResource("7_ynhjd")
|
|
MaxHP = 10
|
|
MaxPhysicalStamina = 10
|
|
MaxMentalStamina = 10
|
|
Strength = 1
|
|
Wisdom = 1
|
|
Constitution = 1
|
|
Willpower = 1
|
|
Speed = 1
|
|
Focus = 1
|
|
Accuracy = 1
|
|
Agility = 1
|
|
|
|
[node name="Player" type="Sprite2D"]
|
|
position = Vector2(553, 219)
|
|
texture = ExtResource("1_d15px")
|
|
script = ExtResource("2_8b3bs")
|
|
|
|
[node name="battle_menu" parent="." instance=ExtResource("3_ubnwv")]
|
|
offset_left = -49.0
|
|
offset_top = 126.0
|
|
offset_right = -49.0
|
|
offset_bottom = 103.0
|
|
|
|
[node name="ATB" type="TextureProgressBar" parent="battle_menu"]
|
|
layout_mode = 0
|
|
offset_left = -36.0
|
|
offset_top = -57.575
|
|
offset_right = 234.0
|
|
offset_bottom = -7.575
|
|
scale = Vector2(0.63, 0.403)
|
|
value = 50.0
|
|
texture_under = ExtResource("4_afpwe")
|
|
texture_progress = ExtResource("5_5mhew")
|
|
texture_progress_offset = Vector2(16, 8)
|
|
|
|
[node name="ActionPanel" type="Panel" parent="battle_menu"]
|
|
layout_mode = 1
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -36.0
|
|
offset_top = 93.0
|
|
offset_right = 6.0
|
|
offset_bottom = 119.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
|
|
[node name="ActionState" type="Label" parent="battle_menu/ActionPanel"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -85.0
|
|
offset_top = -13.0
|
|
offset_right = 85.0
|
|
offset_bottom = 13.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_font_sizes/font_size = 10
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Combatant" parent="." instance=ExtResource("4_w3vb5")]
|
|
Stats = SubResource("Resource_28c5l")
|
|
|
|
[node name="Actions" type="Node" parent="Combatant"]
|
|
|
|
[node name="attack" parent="Combatant/Actions" instance=ExtResource("5_17k7n")]
|
|
|
|
[connection signal="action_selected" from="battle_menu" to="." method="do_action"]
|
|
[connection signal="action_finished" from="Combatant/Actions/attack" to="." method="action_done"]
|