Ita Eng buttons

This commit is contained in:
Marco 2025-05-08 18:22:05 +02:00
commit 354772c90e
11 changed files with 216 additions and 185 deletions

View file

@ -21,9 +21,9 @@
[ext_resource type="Resource" uid="uid://byo74ews118nl" path="res://Resources/Music/No_Reason.tres" id="13_fh7cp"]
[ext_resource type="FontFile" uid="uid://cyk27h5aox1n7" path="res://fonts/sector_034.ttf" id="14_yxkem"]
[sub_resource type="AtlasTexture" id="AtlasTexture_py6u0"]
[sub_resource type="AtlasTexture" id="AtlasTexture_hbsma"]
atlas = ExtResource("9_riqfo")
region = Rect2(416, 0, 32, 16)
region = Rect2(192, 0, 32, 16)
[sub_resource type="Theme" id="Theme_c7h4d"]
@ -69,7 +69,7 @@ offset_top = 40.995
offset_right = 186.42
offset_bottom = 56.995
rotation = 3.14159
texture = SubResource("AtlasTexture_py6u0")
texture = SubResource("AtlasTexture_hbsma")
[node name="MarginContainer" type="MarginContainer" parent="."]
anchors_preset = 15
@ -187,6 +187,22 @@ stretch_mode = 2
layout_mode = 2
size_flags_vertical = 6
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/GridContainer/Options"]
layout_mode = 2
[node name="Button" type="Button" parent="MarginContainer/GridContainer/Options/HBoxContainer"]
layout_mode = 2
theme = ExtResource("4_nk7wn")
toggle_mode = true
text = "Ita"
[node name="Button2" type="Button" parent="MarginContainer/GridContainer/Options/HBoxContainer"]
layout_mode = 2
theme = ExtResource("4_nk7wn")
toggle_mode = true
button_pressed = true
text = "Eng"
[node name="OptionsButton" type="Button" parent="MarginContainer/GridContainer/Options"]
layout_mode = 2
focus_neighbor_left = NodePath("../../GameButtons/StartButton")