Galaxy Shooter — Phase II: Core Programming
May 13, 2021
Day 46 — Aspiring Game Creator
2D Game Dev: Galaxy Shooter
Objective: Smart Enemy Type: Create an enemy type that knows when it’s behind the player (BELOW) and FIRES a WEAPON Backwards.
Making use again of the FOV, this one at the rear of the enemy, once the enemy has passed a particular Y-threshold, the rear Field-Of-View is enabled, if the Player is spotted, the enemy launches a heat seeking Retro Rocket, destroying itself, but chasing the player until destroyed or exploding.