From 0f518727c28d3204415db14c7ca0e4f7cb653677 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Thu, 9 Dec 2021 00:52:59 +0100 Subject: working --- scenes/gui.tscn | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 scenes/gui.tscn (limited to 'scenes/gui.tscn') diff --git a/scenes/gui.tscn b/scenes/gui.tscn new file mode 100644 index 0000000..cde9dce --- /dev/null +++ b/scenes/gui.tscn @@ -0,0 +1,55 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://scripts/gui.gd" type="Script" id=1] +[ext_resource path="res://scripts/debug.gd" type="Script" id=2] + +[node name="gui" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Panel" type="Panel" parent="."] +margin_left = 10.0 +margin_top = 11.0 +margin_right = 133.0 +margin_bottom = 124.0 +script = ExtResource( 2 ) + +[node name="Button" type="Button" parent="Panel"] +margin_left = 8.0 +margin_top = 4.0 +margin_right = 98.0 +margin_bottom = 37.0 +text = "spawn" + +[node name="Button2" type="Button" parent="Panel"] +margin_left = 5.0 +margin_top = 57.0 +margin_right = 80.0 +margin_bottom = 93.0 +text = "compute path" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Panel2" type="Panel" parent="."] +margin_left = 21.0 +margin_top = 544.0 +margin_right = 101.0 +margin_bottom = 573.0 +script = ExtResource( 1 ) + +[node name="Label" type="Label" parent="Panel2"] +margin_left = 6.0 +margin_top = 6.0 +margin_right = 55.0 +margin_bottom = 20.0 +text = "aawfawf" +__meta__ = { +"_edit_use_anchors_": false +} + +[connection signal="button_down" from="Panel/Button" to="Panel" method="_on_Button_button_down"] +[connection signal="button_down" from="Panel/Button2" to="Panel" method="_on_Button2_button_down"] -- cgit v1.2.3-54-g00ecf