When I making the game, I found an issue with the score block, I place many nuclear in a map but I can’t really get the point by pressing B, I don’t know how to fix that (I’m newbie to makecode arcade)
I really appreciate any comment or help.
This is the link of the game: https://arcade.makecode.com/S66470-23868-57707-59036
3 Likes
The reason why it doesn’t work is because you’re checking if the player is overlapping with One Specific nuclear plant:
To fix that, you can use the overlap block instead like this:
This way, the game checks if the player presses B whenever they overlap a nuclear plant and if they do, they get the point!
I hope this helps
2 Likes