Step 14: TIE-Bomber Start Code 1

Goal:


With one enemy done, we now need to code our second enemy, the TIE-Bomber.

The TIE-Bomber will be very similar to the TIE-Fighter, but this enemy will spawn less often and can only be destroyed by the Time-Bomb.

First let’s focus on what happens to the TIE-Bomber when we first start our game.

Steps:

  1. From the sprite menu, select the TIE_Bomber sprite.
  2. From Events, place a when green flag is clicked block.
  3. From Looks, place a hide block.
  4. From Looks, place a switch costume block, and set it to Bomber.
  5. From Looks, place a go to front layer block.

Code:


Click to replay