Is it possible to have a live clock on scratch.
I want to be able to have a clock running in real time whilst the user is playing a game.
Any help would be appreciated.
Thanks
Offline
It is almost impossible unless you ask the player to set the time. Some Scratch Modifications do have the"get time/date" block like in Panther, though I have downloaded it but not tried it.
Offline
Yes, but, if you want it to match the "real world", you have to ask for the user to input the time, as Scratch doesn't let you connect a real clock directly.
To keep track of how much time has passed, just use the built-in timer block (under sensing).
Offline
There isn't a Scratch block that can read the time on your computer, but there is a timer variable that will automatically keep track of the seconds.
Scratch Wiki article on the Timer
Lolol two posts in the time it took me to write my own post
Last edited by Jonathanpb (2012-05-17 07:11:55)
Offline
Thanks, is it possible to link it to a rss feed, or is it worth trying to do a time and getting it to add a second every second for example
Offline
jeeves1982 wrote:
Thanks, is it possible to link it to a rss feed, or is it worth trying to do a time and getting it to add a second every second for example
I have limited experience hacking into Scratch; I can say that, if you don't want to edit the Scratch source code, it is impossible.
Offline