summaryrefslogtreecommitdiff
path: root/hello_world/demo/Main.tscn
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuya@meta.com>2023-07-02 16:36:16 -0700
committerFredia Huya-Kouadio <fhuya@meta.com>2023-07-02 16:36:16 -0700
commitf6a336cf56d5d653b05c12fb7f71b5da595e49d4 (patch)
tree0c92274b81918a3442aab23f51524ed29ce90b21 /hello_world/demo/Main.tscn
parent8a50b716f5d335d0c060eb096032fc2d214dc635 (diff)
downloadgodot-android-samples-f6a336cf56d5d653b05c12fb7f71b5da595e49d4.tar.gz
godot-android-samples-f6a336cf56d5d653b05c12fb7f71b5da595e49d4.tar.bz2
godot-android-samples-f6a336cf56d5d653b05c12fb7f71b5da595e49d4.zip
Update the 'Hello World' Android plugin to match the new Godot 4.2 format
See https://github.com/godotengine/godot/pull/78958 for reference.
Diffstat (limited to 'hello_world/demo/Main.tscn')
-rw-r--r--hello_world/demo/Main.tscn19
1 files changed, 9 insertions, 10 deletions
diff --git a/hello_world/demo/Main.tscn b/hello_world/demo/Main.tscn
index bcb42ad..57d3eb0 100644
--- a/hello_world/demo/Main.tscn
+++ b/hello_world/demo/Main.tscn
@@ -1,20 +1,19 @@
-[gd_scene load_steps=2 format=2]
+[gd_scene load_steps=2 format=3 uid="uid://bgtr75kiyu5fh"]
-[ext_resource path="res://Main.gd" type="Script" id=1]
+[ext_resource type="Script" path="res://Main.gd" id="1"]
[node name="Main" type="Node2D"]
-script = ExtResource( 1 )
+script = ExtResource("1")
[node name="Button" type="Button" parent="."]
+anchors_preset = 14
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
+offset_left = 40.0
+offset_top = 250.0
+offset_right = 320.0
+offset_bottom = 312.0
text = "Hello World"
-__meta__ = {
-"_edit_use_anchors_": true
-}
+
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]