Hi there, this student’s game is supposed to add 1 life when player overlaps the mushroom kind of life but instead it adds a random number of lives each time. I’ve tried adding in a pause block which seemed to work the first time, but when the game ends and restarts it’s back to adding a random number of lives. Any help n this is much appreciated.
1 Like
Hi @jaturn68 ! Try following please:
change “place mushroom on top of random tile”:
to “place mushroom on top of value”:
The random life number comes from multi mushroom were placed in the same place.
The random placing may not cover the current “value” (red tile). And there are many red tiles in your map, so some mushroom could be choosen multi times, while some never.
Hope it helps.
2 Likes
That was it… Thank you so much!!!
2 Likes