pir-serious-game-ethics/scenes/UI.tscn

69 lines
1.8 KiB
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://images/pause.png" type="Texture" id=1]
[ext_resource path="res://scenes/PauseMenu.tscn" type="PackedScene" id=2]
[ext_resource path="res://scenes/UI.gd" type="Script" id=3]
[node name="UI" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -0.471939
margin_bottom = -0.471924
mouse_filter = 2
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MarginContainer" type="MarginContainer" parent="."]
anchor_right = 1.0
margin_bottom = 52.0
custom_constants/margin_right = 10
custom_constants/margin_top = 10
custom_constants/margin_left = 10
custom_constants/margin_bottom = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
margin_left = 10.0
margin_top = 10.0
margin_right = 1910.0
margin_bottom = 74.0
hint_tooltip = "Mettre en pause"
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer"]
margin_right = 1832.0
margin_bottom = 14.0
size_flags_horizontal = 3
size_flags_vertical = 0
text = "Serious Game on Ethics v0.1"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureButton" type="TextureButton" parent="MarginContainer/HBoxContainer"]
margin_left = 1836.0
margin_right = 1900.0
margin_bottom = 64.0
focus_mode = 0
enabled_focus_mode = 0
texture_normal = ExtResource( 1 )
[node name="ColorRect" type="ColorRect" parent="MarginContainer/HBoxContainer/TextureButton"]
show_behind_parent = true
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
color = Color( 0, 0, 0, 0.231373 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PauseMenu" parent="." instance=ExtResource( 2 )]
[connection signal="pressed" from="MarginContainer/HBoxContainer/TextureButton" to="." method="_on_TextureButton_pressed"]