diff options
author | tpart <tpart120@proton.me> | 2025-09-29 17:36:05 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2025-09-29 17:38:33 +0200 |
commit | c6efe3e4ac60db4b746dadd03fb24eed8a3720e3 (patch) | |
tree | b1eded2a4e85a3680986d48fb846bb03452aa990 /client/test.tscn | |
parent | 5a692db99a07cfa340e57f6a812bde347b8adc17 (diff) | |
download | hurrycurry-c6efe3e4ac60db4b746dadd03fb24eed8a3720e3.tar hurrycurry-c6efe3e4ac60db4b746dadd03fb24eed8a3720e3.tar.bz2 hurrycurry-c6efe3e4ac60db4b746dadd03fb24eed8a3720e3.tar.zst |
Remove old hint system (#427)
Diffstat (limited to 'client/test.tscn')
-rw-r--r-- | client/test.tscn | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/client/test.tscn b/client/test.tscn new file mode 100644 index 00000000..57f7e13a --- /dev/null +++ b/client/test.tscn @@ -0,0 +1,30 @@ +[gd_scene load_steps=2 format=3 uid="uid://d3cvepu7803x8"] + +[sub_resource type="GDScript" id="GDScript_mf4mk"] +script/source = "extends Button + + +func _on_pressed() -> void: + if Rect2(Vector2(), size).has_point(get_local_mouse_position()): + print(\"release\") + release_focus() +" + +[node name="Control" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="Button" type="Button" parent="."] +layout_mode = 0 +offset_left = 590.0 +offset_top = 271.0 +offset_right = 838.0 +offset_bottom = 396.0 +text = "Hello" +script = SubResource("GDScript_mf4mk") + +[connection signal="pressed" from="Button" to="Button" method="_on_pressed"] |