Godot 4 Lightgun Project - 2P LAN Retest
Re-testing LAN functionality with two players after an almost complete rewrite of enemies, and bug fixes for triggers and events. Seems to be working fine. The shield on P1's screen has been hidden for better visibility in this video.
Due to the new state machine functionality, enemies can now have more solid behavior and additional features such as health, shown here with the machine gunners, who require multiple shots to take down and replenish machine gun ammunition when defeated. Some features haven't been implemented yet, though, which is why the basic soldier doesn't award any points.
Before this, there was just one big "enemy.gd" which handled every aspect of all enemies. Now, it's been cut down to only process the bare basics shared among all types and everything else is done via additional components on a type by type basis.