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

68 lines
1.8 KiB
Text
Raw Normal View History

2021-04-09 11:19:10 +02:00
[gd_scene load_steps=4 format=2]
2021-04-09 10:27:35 +02:00
[ext_resource path="res://images/pause.png" type="Texture" id=1]
2021-04-09 11:19:10 +02:00
[ext_resource path="res://scenes/PauseMenu.tscn" type="PackedScene" id=2]
[ext_resource path="res://scenes/UI.gd" type="Script" id=3]
2021-03-27 10:53:28 +01:00
[node name="UI" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
2021-04-09 10:27:35 +02:00
margin_top = -0.471939
margin_bottom = -0.471924
2021-03-27 10:53:28 +01:00
mouse_filter = 2
2021-04-09 11:19:10 +02:00
script = ExtResource( 3 )
2021-03-27 10:53:28 +01:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-04-09 10:27:35 +02:00
[node name="MarginContainer" type="MarginContainer" parent="."]
2021-03-27 10:53:28 +01:00
anchor_right = 1.0
2021-04-09 10:27:35 +02:00
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
2021-04-09 11:19:10 +02:00
margin_bottom = 74.0
2021-04-09 10:27:35 +02:00
hint_tooltip = "Mettre en pause"
size_flags_horizontal = 3
2021-03-27 10:53:28 +01:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-04-09 10:27:35 +02:00
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer"]
2021-04-09 11:19:10 +02:00
margin_right = 1832.0
2021-04-09 10:27:35 +02:00
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"]
2021-04-09 11:19:10 +02:00
margin_left = 1836.0
2021-04-09 10:27:35 +02:00
margin_right = 1900.0
2021-04-09 11:19:10 +02:00
margin_bottom = 64.0
2021-04-09 10:27:35 +02:00
texture_normal = ExtResource( 1 )
2021-04-09 11:19:10 +02:00
[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"]