Goal:
We’ve now completed the core mechanic of this game! However, we still don’t have any ratings yet to show our player how well they’ve done.
Let’s add the first rating when the power is less than 50.
Steps:
- Select the “Sprite1” sprite
- From Events place a “when I receive” block
- Change the message to be “PumpkinSmashed!”
- From Control place an if then block
- From Operators place a < (less than) block inside the if then block
- From Data place “Power:” inside the left side of the < block
- Type in 50 on the right side of the < block
- From Looks place a show block inside the if then block