Mineshafts-prototype2/engine/ui/ui.tscn

124 lines
2.8 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://engine/ui/ui.gd" type="Script" id=1]
[ext_resource path="res://game/textures/crosshair.png" type="Texture" id=2]
[ext_resource path="res://game/textures/hotbar.png" type="Texture" id=3]
[ext_resource path="res://game/textures/hotbar_slot.png" type="Texture" id=4]
[ext_resource path="res://game/textures/hotbar_select.png" type="Texture" id=5]
[node name="ui" type="Control"]
pause_mode = 2
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="crosshair" type="TextureRect" parent="."]
margin_left = 60.1041
margin_top = 207.182
margin_right = 80.1041
margin_bottom = 227.182
texture = ExtResource( 2 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="hotbar" type="TextureRect" parent="."]
margin_left = 247.0
margin_top = 514.0
margin_right = 871.0
margin_bottom = 592.0
texture = ExtResource( 3 )
stretch_mode = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="slotl" type="TextureRect" parent="hotbar"]
margin_right = 40.0
margin_bottom = 40.0
texture = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="active" type="TextureRect" parent="hotbar/slotl"]
visible = false
margin_right = 78.0
margin_bottom = 78.0
texture = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="slotr" type="TextureRect" parent="hotbar"]
margin_right = 40.0
margin_bottom = 40.0
texture = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="active" type="TextureRect" parent="hotbar/slotr"]
visible = false
margin_right = 78.0
margin_bottom = 78.0
texture = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="manu" type="ColorRect" parent="."]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = 1024.0
margin_bottom = 600.0
color = Color( 0.2, 0.2, 0.2, 0.5 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="back" type="ColorRect" parent="manu"]
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -128.0
margin_top = 106.0
margin_right = 128.0
margin_bottom = -86.0
color = Color( 0.2, 0.2, 0.2, 0.4 )
[node name="main" type="Button" parent="manu/back"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -64.0
margin_top = -118.0
margin_right = 65.0
margin_bottom = -68.0
text = "Quit to main manu"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="quit" type="Button" parent="manu/back"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -64.0
margin_top = 10.0
margin_right = 65.0
margin_bottom = 60.0
text = "Quit Game"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="manu/back/main" to="." method="quit_to_main"]
[connection signal="pressed" from="manu/back/quit" to="." method="quit_game"]