added more on scenes

This commit is contained in:
ronny abraham 2025-01-07 20:02:43 +02:00
parent 6d5d475b16
commit a29c3eb8f5
4 changed files with 22 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

View file

@ -17,3 +17,25 @@
#+attr_html: :width 300px #+attr_html: :width 300px
[[./../../_share/media/img/albert/section04/lesson-01/fig01.png]] [[./../../_share/media/img/albert/section04/lesson-01/fig01.png]]
** making the background
- you add a Sprite2D node to the Node2D
- drag the image you want from res:// to the texture property in the Sprite2D inspector
#+attr_html: :width 500px
[[./../../_share/media/img/albert/section04/lesson-01/fig02.png]]
#+attr_html: :width 500px
[[./../../_share/media/img/albert/section04/lesson-01/fig03.png]]
** set the current default run scene
there are two ways to do this
1. hit "run" and select the current scene
2. via Project Settings
1. go to Project->Project Settings
2. go to Application->Run->Main Scene
3. pick the scene you want to put in there
#+attr_html: :width 700px
[[./../../_share/media/img/albert/section04/lesson-01/fig04.png]]