Creating enemies
We will quickly create an enemy sprite to make use of the background we just drew. These enemies will follow the path drawn in the background. Because the background image is fixed, we can determine exactly where the turns are. We will use a simple movement script that sends the enemies along the path from one end of the stage to the other. Like with the targets in the previous project, we will use a base object that creates clones of itself that will actually show up on stage.
Prepare for lift off
We will first draw an enemy sprite. Let's keep this simple for now. We can always add to the visual design later. The steps to draw it are as follows:
Click on the paintbrush icon to create a new sprite.
Choose a red color and draw a circle. Make sure the circle is a proper size compared to the path in the background.
Fill the circle with the same color.
We name the new sprite
enemy1
.
That's all for now! We will add more to the appearance of the enemy sprite later. The enemy sprite appears...