Fix image and code in signals introduction

This commit is contained in:
skyace65
2024-01-27 13:31:48 -05:00
parent 67b17958ca
commit e3eed1325d
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@@ -442,7 +442,7 @@ reaches 0.
Your signals work the same way as built-in ones: they appear in the Node tab and
you can connect to them like any other.
.. image:: img/signals_17_custom_signal.png
.. image:: img/signals_17_custom_signal.webp
To emit a signal in your scripts, call ``emit()`` on the signal.
@@ -472,7 +472,7 @@ names between parentheses:
.. tabs::
.. code-tab:: gdscript GDScript
extends Node
extends Node2D
signal health_changed(old_value, new_value)