For loop

Step 6: Main Loop

Setting up a Main Loop

You may have noticed that the penguins fly off into the distance after a while.

Step 3: Creating Objects

spawnTarget Function

Lets go ahead and add stuff to our scene now.
As a first step lets spawn some targets to shoot at with a new function called spawnTarget.