ScratchData LogoScratchData
Back to gregatku's profile

Cloud Leaderboard

GRgregatku•Created December 30, 2023
Cloud Leaderboard
7
3
123 views
View on Scratch

Instructions

Cloud Leaderboard (Champs Cup) button toggles Leaderboard display. [New Score] asks how many games you played and how many of those games you won. You need at least 1 win to get on the Leaderboard. If you're already on the Leaderboard for things to change you must get a higher score than previously. That's all folks. It is very much geared towards a couple of projects I want to use it in, namely Gobblet and WORD Mastermind, so it probably wont be of any use to any use to anybody else. The initial Leaderboard here was actually my current 8 slot Gobblet one, so it'll be a good test for using it therein. This project does nothing other than provide a Sprite "Cloud Leaderboard" which I will later incorporate into a number of projects, which at present have an 8 person Leaderboard which I created by using @BoltBait's plug-in. Because you can no longer (See Data) for Cloud Variables, those leaderboards no longer suit my purposes, so I decided to build one myself that I actually understand how it works. I've never been able to fully get my head around some of the amazing Leaderboards I've seen built by fellow Scratchers. It uses 8 Cloud Variables called Cloud-Data1/2/3/4/5/6/7 & 8, which, at 5 entries per Cloud Variable, will save up to 40 score-username pairs. If you are planning to use this Leaderboard Sprite in your own projects you will probably find this alternative version that just works on high scores up to 8 digits long (don't need to complete a min number of games), more useful ... "Cloud Leaderboard (n digit score)" - https://scratch.mit.edu/projects/946168221/

Description

Created by @gregatku for ... well gregatku mainly. NOTE: The Maximum Integer Length of a Cloud Variable is 256 characters so if they were all 20-letter usernames I would need 8 for the score (my game Scores are often 8 digits) + 40 (2 digits per letter) + 2 for the "00" end of username delimiter = 50 characters for each entry, so since 50 x 5 (entries per Cloud Var) = 250, it can't break.

Project Details

Project ID945309587
CreatedDecember 30, 2023
Last ModifiedApril 1, 2024
SharedFebruary 15, 2024
Visibilityvisible
CommentsAllowed