Game Development Reference
In-Depth Information
Let's add a time interval of 2.0 seconds in the Parameters for System: Every X
seconds dialog box, as shown in the following screenshot. This will spawn an enemy at
each spawner location every 2 seconds.
Add an action to this event by navigating to Add action | Spawner | Spawn another ob-
ject . We want to spawn the enemy, so we select Enemy in the Parameters for Spawner:
Spawn another object dialog box. This is shown in the following screenshot:
Your project should look like the following screenshot when you click on Done :
What we need to do now is add some logic for when the enemy hits the player. For this,
we will restart the layout.
Search WWH ::




Custom Search