Game enemies

The space pirates are vicious, diving in and firing randomly. Our player needs to be alert and quick to survive. The programming for the enemy needs to handle spawning, flying about and firing. We can borrow some concepts from player.ts, but most of them will require new code.

Get hands-on with 1200+ tech skills courses.