This video shows how to use JavaScripts to:
Form enemies in groups
Spawn enemies in timed waves
Make enemies follow a certain path (according to any equation)
Passing parameters to a function to Instantiate an enemy
This video is part of an ongoing series of Brett's Game Dev blog. Watch the progress on this arcade shooter on brettsgamedev.strategerygames.com.