diff options
author | Jonas Bernard <public.jbernard@web.de> | 2021-04-24 22:45:45 +0200 |
---|---|---|
committer | Jonas Bernard <public.jbernard@web.de> | 2021-04-24 22:45:45 +0200 |
commit | 945c4166bae70399eb9060ce4b5e2de0b44f70ce (patch) | |
tree | 8749452e90d5d35cf3a38299b9a0c83905036ee5 /components | |
parent | 6ac1f6bba0b2607f5293323b26ed5a9230320791 (diff) | |
download | ldjam48-945c4166bae70399eb9060ce4b5e2de0b44f70ce.tar.gz ldjam48-945c4166bae70399eb9060ce4b5e2de0b44f70ce.tar.bz2 ldjam48-945c4166bae70399eb9060ce4b5e2de0b44f70ce.zip |
Menu scene
Diffstat (limited to 'components')
-rw-r--r-- | components/button.tscn | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/button.tscn b/components/button.tscn index 0071746..6248b45 100644 --- a/components/button.tscn +++ b/components/button.tscn @@ -16,7 +16,7 @@ default_font = SubResource( 1 ) [sub_resource type="RectangleShape2D" id=3] extents = Vector2( 10, 32 ) -[node name="ButtonTest" type="Area2D"] +[node name="Button" type="Area2D"] script = ExtResource( 5 ) [node name="Left" type="Sprite" parent="."] @@ -48,7 +48,6 @@ __meta__ = { [node name="Hitbox" type="CollisionShape2D" parent="."] shape = SubResource( 3 ) - [connection signal="input_event" from="." to="." method="_on_ButtonTest_input_event"] [connection signal="mouse_entered" from="." to="." method="_on_ButtonTest_mouse_entered"] [connection signal="mouse_exited" from="." to="." method="_on_ButtonTest_mouse_exited"] |