69 lines
1.9 KiB
Text
69 lines
1.9 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://dqb5o8w7u50hc"]
|
|
|
|
[ext_resource type="Script" uid="uid://dyhtr6g7kd1g2" path="res://UI/gui_button.gd" id="1_snobr"]
|
|
[ext_resource type="Script" uid="uid://blnmjxmusrsa7" path="res://UI/GameStyleBoxFlat.gd" id="2_enkiu"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_i47ne"]
|
|
bg_color = Color(0.921569, 0.890196, 0.415686, 1)
|
|
script = ExtResource("2_enkiu")
|
|
color = 1
|
|
metadata/_custom_type_script = "uid://blnmjxmusrsa7"
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_snobr"]
|
|
bg_color = Color(1, 1, 1, 0.3)
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_snobr"]
|
|
font_size = 26
|
|
font_color = Color(1, 0.843137, 0, 1)
|
|
outline_size = 3
|
|
outline_color = Color(0, 0, 0, 1)
|
|
|
|
[node name="TowerButton" type="Button"]
|
|
custom_minimum_size = Vector2(80, 80)
|
|
offset_right = 80.0
|
|
offset_bottom = 80.0
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
tooltip_text = "Sélectionner Pierre"
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 2
|
|
script = ExtResource("1_snobr")
|
|
metadata/_custom_type_script = "uid://dyhtr6g7kd1g2"
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
expand_mode = 1
|
|
|
|
[node name="EnergyBar" type="ProgressBar" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_top = 70.0
|
|
offset_right = 80.0
|
|
offset_bottom = 80.0
|
|
mouse_filter = 1
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_i47ne")
|
|
show_percentage = false
|
|
|
|
[node name="LeFond" type="PanelContainer" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -36.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
mouse_filter = 1
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_snobr")
|
|
|
|
[node name="Label" type="Label" parent="LeFond"]
|
|
layout_mode = 2
|
|
mouse_filter = 1
|
|
label_settings = SubResource("LabelSettings_snobr")
|
|
horizontal_alignment = 1
|