[23] Let’s Make a Godot Space Shooter: Bouncing Enemy
Vložit
- čas přidán 8. 05. 2021
- We create a horizontal moving bouncing 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
In Godot 4, since _physics_process of BouncerEnemy will overload the _physics_process function of the SlowShooter class, you'll have to add the y-motion again: position.y += verticalSpeed * delta
CodeNMore 2016: I think I should quit yt. :(
CodeNMore 2021: I'm on 🔥
Would I have to change the type of object of the entire Enemy class (i.e., to a CollisionBody2D) if I wanted to make the various enemy objects have to collide and reverse direction/bounce away when they collide with a tilemap/collisionshape2d? Thank you for these amazing tutorials!
Hey , why not boss enemies??