[21] Let’s Make a Godot Space Shooter: Fast Enemy
Vložit
- čas přidán 20. 06. 2024
- We make a simple fast-moving enemy! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game!
See my website (source code link available per-episode!): codenmore.github.io/
Follow me on Twitter - @CodeNMore - / codenmore
Teaching to understand all subjects to the fullest extent!
Thumbnail: Godot Logo (C) Andrea Calabró Distributed under the terms of the Creative Commons Attribution License version 3.0 (CC-BY 3.0). creativecommons.org/licenses/.... - Jak na to + styl
LMAO so I've been following this series and oh boy this is the most helpful tutorials by far. And so accessible too! In fact, while you've been doing a Meteor I was creating a Rocket, because this is what I needed for my game. And I have to change a lot of code and sprites for this. Even searched for other tutorials. And here I am on episode 21 (!) and you creating exactly what I needed but already did. I hope there is no scrolling BG in this series.... Tbh customizing code and building your own unique game and not just copy a tutorial is a really amazing experience. Thank You!
It seems in Godot 4, the _process function of FastEnemy actually does overwrite the _process function of the Enemy object. Also calling the process function again won't help, because Godot 4 appears to interpret this as a recursive call to the function. I don't know how to deal with that except for rewriting the full _process function in FastEnemey.
This has indeed been changed since this tutorial series has been released on CZcams. You can add `super(delta)` to the FastEnemy's _process(delta) function to call the Enemy's _process function as well. I guess they've made it more similar to how other programming languages handle this. For func _physics_process, it still works as described in the tutorial.
@@ThomasMetten Well, not sure if they changed it yet again, but I had to add super ._physics_process(delta) to the FastEnemy's function. From what I can tell, some superseding is occurring.
What happened to the java game series?