#3 | 19-07-24 | Spawning Targets


Hello!

Today's task is creating the target spawning mechanic!

So far, the spawning is very rudimentary. One spawn point, one target type.

To create the basic spawning script, I used a coroutine with a while true loop to make the targets spawn continuously with a changeable delay.

The target movement script is virtually identical to the projectile movement script. I like to use simple stuff that works.

And with that, the basic target spawning mechanic is finished! Next up will be making the targets and projectiles self destruct after they leave the camera's field of view.

Thanks for reading!

Get Hit That Target!

Leave a comment

Log in with itch.io to leave a comment.