Set Score

Revision as of 13:42, 20 May 2024 by -u ndefined- (talk | contribs) (Use infobox, move and merge information to Notes, link blocks)

Sets the score and/or coins.

Set Score
Set_Score.png
TypeScript block
ColliderNone
FolderGame
Ports
Inputs Before
Score
Coins
Outputs After

Notes

There is a setting that determines which score to consider as better one:

  • Most Points: the more points the better
  • Fewest Points: the less points the better

You also can provide time score, just make sure that the input is a total amount of seconds and you selected one of these options:

  • Fastest Time: the faster the better
  • Longest Time: the longer the better

Setting a negative score removes the score.

If the mode of the score is set to Most Points or Longest Time, the Lose block will act the same as the Win block (showing confetti and registering the level as complete).

When there are multiple Set Scores with different comparisons for which is better, the new score is compared to your Personal Best by the comparison in the block that set it (e.g. Least Points).

If it is better, the old personal best is completely discarded. Time is also compared to points in seconds.

In Fancade 1.6, a third input is made available to set the amount of Coins the player can get playing a game.

Example

File:Set Score example.png

Touching the screen gives you 30 points.