Create UI scene
This commit is contained in:
parent
db3f281b82
commit
25578d4268
84
game/ui/ui.tscn
Normal file
84
game/ui/ui.tscn
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
[gd_scene format=3 uid="uid://di22cs2qposdm"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://7hglx6nfu063" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="1_4xhdt"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_uyiaf"]
|
||||
|
||||
[sub_resource type="Texture2D" id="Texture2D_3agn1"]
|
||||
resource_local_to_scene = false
|
||||
resource_name = ""
|
||||
script = ExtResource("1_4xhdt")
|
||||
path = "player_jump"
|
||||
metadata/_custom_type_script = "uid://7hglx6nfu063"
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_3agn1"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_0fvdv"]
|
||||
|
||||
[sub_resource type="Texture2D" id="Texture2D_4xhdt"]
|
||||
resource_local_to_scene = false
|
||||
resource_name = ""
|
||||
script = ExtResource("1_4xhdt")
|
||||
path = "ui_accept"
|
||||
metadata/_custom_type_script = "uid://7hglx6nfu063"
|
||||
|
||||
[node name="Ui" type="CanvasLayer" unique_id=1492671226]
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=38584238]
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -274.0
|
||||
offset_top = -50.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
theme_override_constants/margin_right = 10
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer" unique_id=1235437041]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PanelContainer2" type="PanelContainer" parent="MarginContainer/HBoxContainer" unique_id=429339024]
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_uyiaf")
|
||||
|
||||
[node name="HFlowContainer3" type="HFlowContainer" parent="MarginContainer/HBoxContainer/PanelContainer2" unique_id=165290387]
|
||||
custom_minimum_size = Vector2(130, -1)
|
||||
layout_mode = 2
|
||||
alignment = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/PanelContainer2/HFlowContainer3" unique_id=895869050]
|
||||
custom_minimum_size = Vector2(40, 40)
|
||||
custom_maximum_size = Vector2(40, 40)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
texture = SubResource("Texture2D_3agn1")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/PanelContainer2/HFlowContainer3" unique_id=1494282096]
|
||||
layout_mode = 2
|
||||
text = "Sauter"
|
||||
label_settings = SubResource("LabelSettings_3agn1")
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="MarginContainer/HBoxContainer" unique_id=525836706]
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_0fvdv")
|
||||
|
||||
[node name="HFlowContainer2" type="HFlowContainer" parent="MarginContainer/HBoxContainer/PanelContainer" unique_id=534508482]
|
||||
custom_minimum_size = Vector2(130, -1)
|
||||
layout_mode = 2
|
||||
alignment = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/PanelContainer/HFlowContainer2" unique_id=729252705]
|
||||
custom_minimum_size = Vector2(40, 40)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
texture = SubResource("Texture2D_4xhdt")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/PanelContainer/HFlowContainer2" unique_id=701166371]
|
||||
layout_mode = 2
|
||||
text = "Accepter"
|
||||
label_settings = SubResource("LabelSettings_3agn1")
|
||||
Loading…
Reference in a new issue