udpate
This commit is contained in:
parent
de5549fc3e
commit
9cfd177142
4 changed files with 46 additions and 0 deletions
BIN
_share/media/img/section04/lesson04/EX01.png
Normal file
BIN
_share/media/img/section04/lesson04/EX01.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 117 KiB |
BIN
_share/media/img/section04/lesson04/EX02.png
Normal file
BIN
_share/media/img/section04/lesson04/EX02.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 91 KiB |
BIN
_share/media/img/section04/lesson04/EX03.png
Normal file
BIN
_share/media/img/section04/lesson04/EX03.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 65 KiB |
|
|
@ -7,3 +7,49 @@
|
|||
- [[https://www.udemy.com/course/jumpstart-to-2d-game-development-godot-4-for-beginners/learn/lecture/45069803#overview][S04:L49.04 - video]]
|
||||
|
||||
* Notes
|
||||
** create plane scene
|
||||
- create a scene 'plane'
|
||||
- CharacterBody2D as root node
|
||||
- change the node name to "Plane" (unnecessary but why not)
|
||||
|
||||
** character body 2D plane node
|
||||
- Sprite to animate the 3 frames
|
||||
- CollisionShape2D for physics
|
||||
- AnimationPlayer to animate the rotation of the plane
|
||||
- EngineSound (audio? node?)
|
||||
|
||||
** animated sprite 2D
|
||||
- add it
|
||||
- rename it to Sprite
|
||||
|
||||
*** create a sprite frames resource
|
||||
- go to Inspector->AnimatedSprite2D->Animation
|
||||
- click on sprite frames drop down and select "new Sprite Frames"
|
||||
- go back to drop down, and click on the sprite frame box
|
||||
#+attr_html: :width 200px
|
||||
file:../../_share/media/img/section04/lesson04/EX01.png
|
||||
|
||||
- this will open up the following window
|
||||
|
||||
#+attr_html: :width 600px
|
||||
file:../../_share/media/img/section04/lesson04/EX02.png
|
||||
|
||||
- notice
|
||||
- 'spriteframes' tab is selected
|
||||
- "default" animation
|
||||
- 5 frames per second
|
||||
- set to loop continuously
|
||||
|
||||
*** animation frame editor
|
||||
**** buttons
|
||||
1. playback controls
|
||||
2. buttons to add in frames
|
||||
- individually
|
||||
- by sprite sheet
|
||||
3. copy and paste frames
|
||||
4. insert empty frames
|
||||
5. move frames around
|
||||
6. delete frames
|
||||
|
||||
#+attr_html: :width 600px
|
||||
file:../../_share/media/img/section04/lesson04/EX03.png
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue