Create Your First Godot 4 Game
Lesson 5: Spawning the platforms
Video Notes
Now it’s time to spawn the platforms for your raptor to jump on.
Remember, if you get stuck, compare your code to the code here: https://github.com/quiver-dev/raptor-run. If that still doesn’t help, feel free to leave a comment.
Lessons
- Lesson 1: Getting started with Godot 4
- Lesson 2: Overview of the Godot interface
- Lesson 3: Setting up the level
- Lesson 4: Creating the player
- Lesson 5: Spawning the platforms
- Lesson 6: Creating a collectible
- Lesson 7: Creating an enemy
- Lesson 8: Handling player death
- Lesson 9: Creating the player projectile
- Lesson 10: Adding the final touches
- Lesson 11: Exporting your game and wrapping up
fusion2k
Nov. 4, 2022 at 2:20 p.m.Minor quibble, I am running Godot 4 beta 3 and I can’t quite figure out how to get the editor to add the _ready() and _process(delta) functions and comments via one click as shown in the video. It could be helpful to know the shortcut to add boilerplate functions like that for folks new to the engine (like myself).
Great series though, I love the pacing and find myself not needing to run at 1,5x like I do with other similar tutorials!
amit
Nov. 4, 2022 at 2:43 p.m.I believe in this particular case, Tom is just copying and pasting the
_ready()
and_process()
functions from somewhere else, but you can also use “Default” template in the Attach Script dialog to achieve the same thing. Hope that helps and glad you’re enjoying the pacing - we spent a lot of time trying to get that right!fusion2k
Nov. 4, 2022 at 4:39 p.m.That makes sense, also using the default template is specificied in the next session so I just needed to keep going :)
I just had thought I missed a cool keyboard shortcut, thanks!