1.4 KiB
1.4 KiB
Section 03 - Lesson 02 | Game Scene
Notes
create
- Forward for advanced desktop graphics
- Mobile standard tablets, phones, etc
-
Compatibility
- if your computer doesn't have a "vulcan renderer" you'll need the compatibility mode
- sometimes if parallax doesn't work, use compatibility mode
nodes
starts with a root node, and adds child nodes
start it up
- go to the left panel and click 2D Scene
- CMD+S to save the scene
- if you have assets, you can drag and drop the folder into the lower left pane
add a sprite node
- Go to ScenePane, click the '+', select Sprite2D node
- select the Sprite2D node
- from the assets folder in the FileSystem pane, pick a graphic and move it to Inspector-Sprite2D-Texture
modify the texture image
- to scale the node, go to Inspector-Node2D-Transform-Scale
change which is the default scene run
- you can set the default scene by hitting run and choosing a scene
- Propect-Project Settings-Run and choose there