Scoreboards - Comparing the differences in value

Ready currently has no blocks to compare a score or counters value with another score or counters value.
I made this video to show how to find the exact difference in value between 2 scores.

The scoreboard in the middle of the screen shows how much greater/less or equal the green blobs score is, compared to the black stars score.

Comparing scores/counters has a lot of uses.

Like in an Agario type game, where you want the NPC to chase the players sprite if the NPC’s score is higher than the players score, and want the NPC to move away from the players sprite if the players score is higher than the NPC’s


Cool method, Thanks @Suzzy-Grey, I think it will be useful in many cases :+1::+1::+1:

1 Like