Godot 4 Lightgun Project - Enemy Spawning, Routines

Channel:
Subscribers:
436
Published on ● Video Link: https://www.youtube.com/watch?v=rWG9fNc2P3g



Duration: 0:24
619 views
22


Set up a system to handle conditional spawning for enemies and routines for them to follow (what sequence animations to play rather than just shooting at the player at a static interval). Once again, the shields are hidden for better visibility of each player's screen.

So far this seems to be working fine over LAN.

Behind the scenes, I added physics interpolation to the bullets and the shield, so now they move very smoothly on the screen even at framerates higher than 60, while still retaining their internal states.