UI Changes
This commit is contained in:
@@ -1,16 +1,12 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://dq1gtd55p04do"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://dq1gtd55p04do"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/StageGUI.cs" id="1_wr2m0"]
|
||||
[ext_resource type="Texture2D" uid="uid://2vog2nty4qrj" path="res://Textures/wheel.png" id="4_3jyfi"]
|
||||
[ext_resource type="Script" path="res://Scripts/CharacterSelectUpdateService.cs" id="3_5iw21"]
|
||||
[ext_resource type="Texture2D" uid="uid://5fnvx1dxl85g" path="res://Textures/Portraits/cap-bg.png" id="3_o2fah"]
|
||||
[ext_resource type="Texture2D" uid="uid://d237k682uasn0" path="res://Textures/Portraits/pisces-bg.png" id="4_df6a8"]
|
||||
[ext_resource type="Texture2D" uid="uid://fqmkmpmackem" path="res://Textures/Portraits/character-BACKGROUND-ONLY.png" id="4_xa2n6"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ptfpl"]
|
||||
resource_name = "Rollover"
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_05shj"]
|
||||
_data = {
|
||||
"Rollover": SubResource("Animation_ptfpl")
|
||||
}
|
||||
[ext_resource type="Texture2D" uid="uid://dqukqw3vwfrog" path="res://Textures/Portraits/sag-bg.png" id="5_k6b7h"]
|
||||
[ext_resource type="Texture2D" uid="uid://d0yx2qyi7dfkp" path="res://Textures/Portraits/scorpio-bg.png" id="6_vgqeh"]
|
||||
|
||||
[node name="StageGUI" type="Control"]
|
||||
process_mode = 3
|
||||
@@ -18,10 +14,6 @@ layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -59.0
|
||||
offset_top = -36.0
|
||||
offset_right = -59.0
|
||||
offset_bottom = -36.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_wr2m0")
|
||||
@@ -37,9 +29,8 @@ offset_right = 420.0
|
||||
offset_bottom = 540.0
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("4_xa2n6")
|
||||
stretch_mode = 2
|
||||
|
||||
[node name="SidebarLeft2" type="TextureRect" parent="."]
|
||||
[node name="SidebarRight" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
@@ -54,34 +45,155 @@ grow_vertical = 2
|
||||
texture = ExtResource("4_xa2n6")
|
||||
|
||||
[node name="CharacterSelect" type="Control" parent="."]
|
||||
process_mode = 3
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("3_5iw21")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="CharacterSelect"]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_05shj")
|
||||
}
|
||||
[node name="P1" type="Control" parent="CharacterSelect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 4
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_top = -20.0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 20.0
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Wheel" type="TextureRect" parent="CharacterSelect"]
|
||||
[node name="CapBG" type="TextureRect" parent="CharacterSelect/P1"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 48.0
|
||||
offset_top = 71.0
|
||||
offset_right = 349.0
|
||||
offset_bottom = 386.0
|
||||
texture = ExtResource("4_3jyfi")
|
||||
expand_mode = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 4
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_top = -540.0
|
||||
offset_right = 420.0
|
||||
offset_bottom = 540.0
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("3_o2fah")
|
||||
stretch_mode = 2
|
||||
|
||||
[node name="Wheel2" type="TextureRect" parent="CharacterSelect"]
|
||||
[node name="PiscesBG" type="TextureRect" parent="CharacterSelect/P1"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 1570.0
|
||||
offset_top = 84.0
|
||||
offset_right = 1871.0
|
||||
offset_bottom = 399.0
|
||||
texture = ExtResource("4_3jyfi")
|
||||
expand_mode = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 4
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_top = -540.0
|
||||
offset_right = 420.0
|
||||
offset_bottom = 540.0
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("4_df6a8")
|
||||
stretch_mode = 2
|
||||
|
||||
[node name="SagBG" type="TextureRect" parent="CharacterSelect/P1"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 4
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_top = -540.0
|
||||
offset_right = 420.0
|
||||
offset_bottom = 540.0
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("5_k6b7h")
|
||||
stretch_mode = 2
|
||||
|
||||
[node name="ScorpioBG" type="TextureRect" parent="CharacterSelect/P1"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 4
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_top = -540.0
|
||||
offset_right = 420.0
|
||||
offset_bottom = 540.0
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("6_vgqeh")
|
||||
stretch_mode = 2
|
||||
|
||||
[node name="P2" type="Control" parent="CharacterSelect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -40.0
|
||||
offset_top = -20.0
|
||||
offset_bottom = 20.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="CapBG" type="TextureRect" parent="CharacterSelect/P2"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -420.0
|
||||
offset_top = -540.0
|
||||
offset_bottom = 540.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("3_o2fah")
|
||||
|
||||
[node name="PiscesBG" type="TextureRect" parent="CharacterSelect/P2"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -420.0
|
||||
offset_top = -540.0
|
||||
offset_bottom = 540.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("4_df6a8")
|
||||
|
||||
[node name="SagBG" type="TextureRect" parent="CharacterSelect/P2"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -420.0
|
||||
offset_top = -540.0
|
||||
offset_bottom = 540.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("5_k6b7h")
|
||||
|
||||
[node name="ScorpioBG" type="TextureRect" parent="CharacterSelect/P2"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -420.0
|
||||
offset_top = -540.0
|
||||
offset_bottom = 540.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("6_vgqeh")
|
||||
|
||||
[connection signal="CapricornP1Selected" from="." to="CharacterSelect" method="OnCapricornP1Selected"]
|
||||
[connection signal="CapricornP2Selected" from="." to="CharacterSelect" method="OnCapricornP2Selected"]
|
||||
[connection signal="PiscesP1Selected" from="." to="CharacterSelect" method="OnPiscesP1Selected"]
|
||||
[connection signal="PiscesP2Selected" from="." to="CharacterSelect" method="OnPiscesP2Selected"]
|
||||
[connection signal="SagP1Selected" from="." to="CharacterSelect" method="OnSagP1Selected"]
|
||||
[connection signal="SagP2Selected" from="." to="CharacterSelect" method="OnSagP2Selected"]
|
||||
[connection signal="ScorpioP1Selected" from="." to="CharacterSelect" method="OnScorpioP1Selected"]
|
||||
[connection signal="ScorpioP2Selected" from="." to="CharacterSelect" method="OnScorpioP2Selected"]
|
||||
|
||||
Reference in New Issue
Block a user