So, you defeated all your enemies and now find yourself without enemies to defeat. This gets boring fast; so, let's find a way to get more enemies to whack. To do this, we are going to create enemy spawn points in the form of nifty rotating vortexes and have them spit out enemies whenever we kill other enemies. It shall be glorious, and we'll never be without friends to give gifts—and by gifts, we mean bullets.
First things first. We need to make a cool-looking vortex. This vortex will be a stacked, animated visual FX object that is built for a 2D world. Don't worry, we've got you covered on textures, so please go through the following steps:
Import the ones in the assets folder under
Sprites\Vortex
.Create a new GameObject called
Vortex
and add all three of theVortex
sprites in it, with each of their Position values set toX:0
,Y:0
, andZ:0
.Adjust their Order in Layer values so that the Vortex_Back child is set to
10
, Vortex_Center is set to11
, and Vortex_Front is set...