You can use this project to find out how long scratchers are playing your game. ––––––––––––––––––––––––––––––––––––––––– How to use To test it out, press the green flag and after a few seconds press the stop sign. Then open the cloud log by going to this link: https://scratch.mit.edu/cloudmonitor/717777959/ You should see how long you played it for there. ––––––––––––––––––––––––––––––––––––––––– How to set up If you want to use this in your own project, click see inside, then file then save to your computer. Next, upload it into a new blank project using file then load to your computer. Then rename the "Seconds Played" cloud variable, to anything you want. This has to be done because of a scratch bug. Lastly delete the thumbnail sprite, and then you can code your game! ––––––––––––––––––––––––––––––––––––––––– Notes 1. This will not work at all for new scratchers, and they cannot put it in their game. The scratch team disables cloud variables for new scratchers. 2. If the user switches tab, opens a new window or puts their computer to sleep, the timer pauses. This is also due to scratch's limitations. 3. Due to a bug in the code, if the person runs the project for more than 9.9 seconds, e.g 15.7 seconds, it will show up in the cloud log as "15.". If they run it for more than 99.9 seconds, e.g 678.9 seconds, you will only see "678" in the cloud log and so on. I will try to fix this soon TL;DR for note 3: In the cloud log, you will only see the first 3 characters of the time. I will fix this soon. 4. If you liked this project, love and fave so more people will notice it and use it, and if you found it really useful, follow @applejuiceproduc for more awesome project. 5. If you read the entire instructions (it's very long!) then comment "I read it all!" ––––––––––––––––––––––––––––––––––––––––– Tags: #all #games #trending (it kinda is lol)
Thanks to @Infinite_Code for the stop sign detector. Tags: #all #games #trending #tools #helpful #stopsign #time #played #detector #apple #juice #applejuice #applejuicepro #applejuiceproduc #spyware (it kinda is lol) #analytics #tutorials #cloud #cloudvariables #variables #cloudlog