Leaderboard in game

so how do i make it so that I’m doing a racing map, how to put username of players in text who reach finish zone.

it should be in order of players who went to zone so like

  1. first place
  2. 2nd place
    3.3rd place
  3. 4th place
    etc

and once all players arrived then broadcast on finish-level-1.

dude I automaticly does it for you

Like this?


@scottgimer, they mean a different one.

No he means like a leaderboard that updates during the game, whoever is in front during the race is #1, etc, etc…

1 Like

ooooh thank @Gaming-Phoenix now i now

yeah 1. i don’t understand the guide
2. i don’t think that’s the leader oard i want

no pictures btw

probably because no pictures
You all probably have to explain it all yourself, since I don’t see any other guides that can help (I could be wrong).

1 Like

Is your racing game a top down game?

1 Like

srty i gtg to class ill check answers in 20 minutes

yes its a top down game

@Jhan ? its a top down

Yes?
I was just asking because I had an idea to use the player coordinates device.

No because it would have only worked on a platformer map, ill think of smth else.

will that help with making what i want?

When the round starts, have a relay broadcast as all players to 2 global counters with both a target and starting value of 0.

Place a property. We’ll name it Bob, but you can call it anything. Bob is a globally scoped number property with a default value of 0.
Copy and paste Bob. This new property will be called Tom.
Set one of the counters to update Tom.
Set the other counter to decrement when a player enters the zone. When the target is reached on this counter, broadcast on finish-level-1. Have the counter update Bob. Set Bob to broadcast on new_finisher when it is updated.

You’ll need another property. Let’s call the property Jeremy, but you can name it anything. Jeremy is a global scoped text property with a default value of absolutely nothing.
Put this block in the text device and have it run when recieving on new_finisher.

Your text device should now have a leaderboard! Unfortunately, having multiple lines in a text device doesn’t work, so we’re stuck with the whole leaderboard on one line. Hope this helps though!

1 Like