Goal:
Our player can now win, but the victory screen will look a little weird if they do. Let’s fix this!
After this is done the game will be complete! Feel free to play with it and see how well you can do!
Steps:
- Stay on the “Player” sprite
- From Events, place a new when I receive block
- Set the message for the when I receive block to be “RaceOver!”
- From Looks, place a hide block
- From Control, place an if then block
- From Operators, place a “=” block inside the if statement
- From Variables, place a round “Winner” block on the left side of the “=” block
- Type in a 1 on the right side of the “=” block
- From Motion, place a go to x/y block inside the if then block
- Inside the go to x/y block, set X to -9 and set Y to -14
- From Looks, place a set size to block
- Inside the set size to block, type in 100
- From Looks, place a show block