diff options
| author | J08nY | 2017-04-23 02:11:28 +0200 |
|---|---|---|
| committer | J08nY | 2017-04-23 02:11:28 +0200 |
| commit | 04a7806aafe210aeefcd80f74d78c8d4420c54e2 (patch) | |
| tree | 4cd9935e74661e8308b0071219b601dab704cd6d /hud.tscn | |
| parent | dd857ee3bb9fb07c260f51ab4669944d48324eea (diff) | |
| download | ld38-04a7806aafe210aeefcd80f74d78c8d4420c54e2.tar.gz ld38-04a7806aafe210aeefcd80f74d78c8d4420c54e2.tar.zst ld38-04a7806aafe210aeefcd80f74d78c8d4420c54e2.zip | |
Diffstat (limited to 'hud.tscn')
| -rw-r--r-- | hud.tscn | 242 |
1 files changed, 242 insertions, 0 deletions
diff --git a/hud.tscn b/hud.tscn new file mode 100644 index 0000000..0972314 --- /dev/null +++ b/hud.tscn @@ -0,0 +1,242 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://scripts/hud.gd" type="Script" id=1] +[ext_resource path="res://scripts/multiverse_shop.gd" type="Script" id=2] + +[node name="HUD" type="Node"] + +script = ExtResource( 1 ) + +[node name="ms_button" type="Button" parent="."] + +margin_left = 620.0 +margin_top = 30.0 +margin_right = 752.0 +margin_bottom = 55.0 +rect_clip_content = false +hint_tooltip = "The best resources in the whole multi-verse!" +mouse_filter = 0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +group = null +text = "Multiverse Shop" +flat = false + +[node name="ms" type="Control" parent="."] + +rect_clip_content = false +mouse_filter = 0 +script = ExtResource( 2 ) + +[node name="tabs" type="TabContainer" parent="ms"] + +margin_left = 620.0 +margin_top = 56.0 +margin_right = 893.0 +margin_bottom = 486.0 +rect_clip_content = false +mouse_filter = 0 +tab_align = 0 +tabs_visible = true + +[node name="*" type="Tabs" parent="ms/tabs"] + +editor/display_folded = true +anchor_right = 1 +anchor_bottom = 1 +margin_left = 4.0 +margin_top = 32.0 +margin_right = 4.0 +margin_bottom = 4.0 +rect_clip_content = false +mouse_filter = 0 + +[node name="items" type="Tree" parent="ms/tabs/*"] + +anchor_right = 1 +anchor_bottom = 1 +margin_left = 5.0 +margin_top = 5.0 +margin_right = 3.0 +margin_bottom = 31.0 +mouse_filter = 0 + +[node name="**" type="Tabs" parent="ms/tabs"] + +editor/display_folded = true +visible = false +anchor_right = 1 +anchor_bottom = 1 +margin_left = 4.0 +margin_top = 32.0 +margin_right = 4.0 +margin_bottom = 4.0 +rect_clip_content = false +mouse_filter = 0 + +[node name="items" type="Tree" parent="ms/tabs/**"] + +anchor_right = 1 +anchor_bottom = 1 +margin_left = 5.0 +margin_top = 5.0 +margin_right = 3.0 +margin_bottom = 31.0 +mouse_filter = 0 + +[node name="***" type="Tabs" parent="ms/tabs"] + +editor/display_folded = true +visible = false +anchor_right = 1 +anchor_bottom = 1 +margin_left = 4.0 +margin_top = 32.0 +margin_right = 4.0 +margin_bottom = 4.0 +rect_clip_content = false +mouse_filter = 0 + +[node name="items" type="Tree" parent="ms/tabs/***"] + +anchor_right = 1 +anchor_bottom = 1 +margin_left = 5.0 +margin_top = 5.0 +margin_right = 3.0 +margin_bottom = 31.0 +mouse_filter = 0 + +[node name="other" type="Tabs" parent="ms/tabs"] + +editor/display_folded = true +visible = false +anchor_right = 1 +anchor_bottom = 1 +margin_left = 4.0 +margin_top = 32.0 +margin_right = 4.0 +margin_bottom = 4.0 +rect_clip_content = false +mouse_filter = 0 + +[node name="items" type="Tree" parent="ms/tabs/other"] + +anchor_right = 1 +anchor_bottom = 1 +margin_left = 5.0 +margin_top = 5.0 +margin_right = 3.0 +margin_bottom = 31.0 +mouse_filter = 0 + +[node name="panel" type="Panel" parent="ms"] + +margin_left = 895.0 +margin_top = 80.0 +margin_right = 990.0 +margin_bottom = 485.0 +rect_clip_content = false +mouse_filter = 0 + +[node name="buy" type="Button" parent="ms/panel"] + +anchor_right = 1 +anchor_bottom = 1 +margin_left = 9.0 +margin_top = 353.0 +margin_right = 10.0 +margin_bottom = 11.0 +rect_clip_content = false +mouse_filter = 0 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +text = "Buy" +flat = false + +[node name="storage_button" type="Button" parent="."] + +margin_left = 755.0 +margin_top = 30.0 +margin_right = 814.0 +margin_bottom = 55.0 +rect_clip_content = false +mouse_filter = 0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +group = null +text = "Storage" +flat = false + +[node name="storage" type="Control" parent="."] + +visible = false +rect_clip_content = false +mouse_filter = 0 + +[node name="panel" type="Panel" parent="storage"] + +margin_left = 755.0 +margin_top = 55.0 +margin_right = 990.0 +margin_bottom = 485.0 +rect_clip_content = false +mouse_filter = 0 + +[node name="items" type="Tree" parent="storage/panel"] + +margin_left = 15.0 +margin_top = 10.0 +margin_right = 220.0 +margin_bottom = 410.0 +mouse_filter = 0 + +[node name="funds" type="PanelContainer" parent="."] + +margin_left = 815.0 +margin_top = 28.0 +margin_right = 946.0 +margin_bottom = 57.0 +rect_clip_content = false +mouse_filter = 0 + +[node name="label" type="Label" parent="funds"] + +margin_left = 7.0 +margin_top = 7.0 +margin_right = 124.0 +margin_bottom = 21.0 +rect_clip_content = false +mouse_filter = 2 +size_flags_vertical = 0 +text = "Funds:" +valign = 1 +percent_visible = 1.0 +lines_skipped = 0 +max_lines_visible = -1 + +[node name="cash" type="Label" parent="funds"] + +margin_left = 65.0 +margin_top = 7.0 +margin_right = 65.0 +margin_bottom = 21.0 +rect_clip_content = false +mouse_filter = 2 +size_flags_horizontal = 0 +size_flags_vertical = 0 +percent_visible = 1.0 +lines_skipped = 0 +max_lines_visible = -1 + +[connection signal="pressed" from="ms_button" to="." method="_on_ms_button_pressed"] + +[connection signal="pressed" from="ms/panel/buy" to="ms" method="_on_buy_pressed"] + +[connection signal="pressed" from="storage_button" to="." method="_on_storage_button_pressed"] + + |
