July 2018
Beginner
484 pages
9h 36m
English
The next step is to create something for the player to shoot and destroy, which can also destroy us, namely, enemy characters. These take the form of roaming spaceships that will be spawned into the scene at regular intervals and will follow the player, drawing nearer and nearer. Essentially, each enemy represents a complex or combination of multiple behaviors working together and these should be implemented as separate scripts. Let's consider them in turn:
Health script created to handle this behavior.