Skip to content

Commit 36f035d

Browse files
committed
Update images on first script page
1 parent d2c5133 commit 36f035d

8 files changed

+3
-7
lines changed
Binary file not shown.
5.48 KB
Loading
Binary file not shown.
5.14 KB
Loading
Binary file not shown.
Binary file not shown.
5.87 KB
Loading

getting_started/step_by_step/scripting_first_script.rst

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
:article_outdated: True
2-
31
..
42
Intention:
53
@@ -44,7 +42,7 @@ icon, which we often use for prototyping in the community.
4442
We need to create a Sprite2D node to display it in the game. In the Scene dock,
4543
click the Other Node button.
4644

47-
.. image:: img/scripting_first_script_click_other_node.png
45+
.. image:: img/scripting_first_script_click_other_node.webp
4846

4947
Type "Sprite2D" in the search bar to filter nodes and double-click on Sprite2D
5048
to create the node.
@@ -67,11 +65,9 @@ slot.
6765
You can create Sprite2D nodes automatically by dragging and dropping images
6866
on the viewport.
6967

70-
.. image:: img/scripting_first_script_dragging_sprite.png
71-
7268
Then, click and drag the icon in the viewport to center it in the game view.
7369

74-
.. image:: img/scripting_first_script_centering_sprite.png
70+
.. image:: img/scripting_first_script_centering_sprite.webp
7571

7672
Creating a new script
7773
---------------------
@@ -163,7 +159,7 @@ Save the scene as ``sprite_2d.tscn`` if you haven't already, then press :kbd:`F6
163159
to run it. Look at the **Output** bottom panel that expands.
164160
It should display "Hello, world!".
165161

166-
.. image:: img/scripting_first_script_print_hello_world.png
162+
.. image:: img/scripting_first_script_print_hello_world.webp
167163

168164
Delete the ``_init()`` function, so you're only left with the line ``extends
169165
Sprite2D``.

0 commit comments

Comments
 (0)