Step 7: Enemy Spawn Point

Goal:


Let’s start coding the clones of the enemy sprite.

First we need to make sure it is in front of all the other sprites so it doesn’t look like the player slides over the front of it and instead its onto and behind it.

Then we need to place the enemy sprites to spawn at the point just off the right side of the game screen.

Steps:

  1. From Control, place a when I start as clone block.
  2. From Looks, place a go to front layer block.
  3. From Motion place a go to x/y block.
  4. Set X to 460 and Y to -85.

Code: