Halloween Game (Coding The Backdrops)

Backdrops –

  1. Instructions
  2. Where we play
  3. You Lose
  4. You Win

Steps –

  1. Click on the Backdrop under where it says stage.
  2. Go to the events tab and drag “when the green flag is clicked” to the code window.
  3. Go to the looks tab and connect “switch backdrop to woods” to the code. Go to the control tab and connect “wait 3 secs” to it.
  4. Go to the looks tab and connect “switch backdrop to woods 2” to the code. Go to the control tab and connect the forever loop.
  5. Go to the sound tab and put “play sound cave” inside the forever loop.
  6. Go to the control tab and connect “wait 8 secs” to the previous code
  7. Go to the events tab and drag “when I receive lose” to the code area. Go to the control tab and connect “wait 0.5 sec” to it. Go to the looks tab and connect “Switch backdrop to woods 3”to it. Go to the control tab and connect “stop all” to it.
  8. Go to the events tab and drag “when I receive win” to the code area. Go to the control tab and connect “wait 0.5 sec” to it. Go to the looks tab and connect “Switch backdrop to win backdrop” to it. Go to the control tab and connect “stop all” to it.

9. I Just remembered we have to connect wait 3 sec before the zombie and the bats start their movement so that they don’t move when instructions are being displayed.

a) Zombie- Add “wait 3 sec” before forever loop.

b) Bat1- Add “wait 3 sec” before forever loop.

c) Bat2- As we had already added “wait 2 sec” previously so we are going to change it to “wait 5 secs”.

10. Congratulations! Your game is complete. Enjoy playing it and if you find any error try to rectify it.