I’m wondering if I should make the winner based on how many knockouts they get or how long they survived. I already have it to where the game ends with one person left, now I’m just stuck wondering if it’s more fair for someone to have bragging rights for the amount of knockouts they got, over being the last alive.
Is there a way to display two things at the end of a game, or would this require blocks and my separate coding?
(BTW: I’m like 1 week old to all this gimkit creative stuff)
To set the leaderboard at the end to knockouts, just go into settings, score, and set it to knockouts.
Yes, you can display two things at the end of a game, using end of game widgets. Here’s a topic that might help you out:
So you want to display them both.
For time survived, use glowingturtle’s solution, and go to map options, set the score to the property “Seconds Survived” as shown.
For knockouts, we will display who had the most knockouts, and how many knockouts they had.
Place a counter, set its scope to player. Place a lifecycle, set to when player knocks out (not knocked out), and wire that to the counter. (lifecycle thing → increment counter). This will keep track of each player’s knockouts individually.
Place a property device, name it knockouts, make it a number property. Its initial value should be zero, and it should have a scope of player. Set it so when property value changes, broadcast on “ko check”.
Go back to your counter, set it to update property “knockouts”. Place a new property named “most knockouts”, number property, value 0, scope global this time. Place another property named “MVP”, text, also global scoped.
Place a trigger that receives on “ko check”. Add a block with the following code.
Now to display at the end of the game, place an end of game widget. Set it to display property MVP, and set the label to “MVP”. Place another, set it to display property “most knockouts” and set the label to “MVP KOs” or something similar.
If you need any more clarification or more pictures, feel free to ask.