diff options
Diffstat (limited to 'hello_world/demo/Main.tscn')
-rw-r--r-- | hello_world/demo/Main.tscn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/hello_world/demo/Main.tscn b/hello_world/demo/Main.tscn new file mode 100644 index 0000000..bcb42ad --- /dev/null +++ b/hello_world/demo/Main.tscn @@ -0,0 +1,20 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://Main.gd" type="Script" id=1] + +[node name="Main" type="Node2D"] +script = ExtResource( 1 ) + +[node name="Button" type="Button" parent="."] +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +margin_left = 40.0 +margin_top = 250.0 +margin_right = 320.0 +margin_bottom = 312.0 +text = "Hello World" +__meta__ = { +"_edit_use_anchors_": true +} +[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"] |