I want to let every player have a player number, a player property “player” so that I can save their coordinates in a public property. I wrote these blocks but the player property doesn’t seem to be working. can anyone tell me what is wrong?
why are there so many properties?
If you want to save their coordinates get 2 properties with a player scope: “x” and “y”
Then get a 3rd property with a player scope: “player coordinates”; This would be the score on the leaderboard.
use the player position detector device to broadcast on channel “update” when player coordinates change and it updates the “x” and “y” properties.
get a trigger that triggers when receiving on channel “update”
give the trigger these blocks:
set property “player coordinates”
value create text with get property “x”
--------------------------------------------------------", "
----------------------------------- get property “y”