This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-06-07 07:20:01

AlGoreRhythm
Scratcher
Registered: 2007-06-07
Posts: 1

Time and I/O

Hi, I'm new here, just been browsing the help and forums. I like what I see and am looking forward to spending a couple of days playing around wih Scratch. I could not find any topics on these two items. Please respond kindly just in case I have missed something  smile

Time/clock - would this be a good idea, but kept simple (local time) so that the projects can be aware of day/night/lunchtime, also dates. Surely kids and adults alike would make use of functions time and date aware?

I/O - there already is ScratchBoard but I would love to be able to help add hooks to the outside world. Perhaps if there was a simple published API, some programmers could build simple drivers for say, temperature sensors, and perhaps simple mechanism to feed data in or out. I would mash-up some data from a database or website, school lesson schedule, canteen menu, and surely many more ideas...

I am not advocating anything overly complicated, but from past experiences allowing some responsibly developed add-ons and a simple I/O mechanism so that a project can be aware of the outside world would be a winner in my book.

Offline

 

#2 2007-07-02 10:13:16

tammy
Scratcher
Registered: 2007-03-07
Posts: 57

Re: Time and I/O

Hi AlGoreRhythm,

Thanks for your suggestions.  We are actually thinking about features similar to the ones you request.  There's some more information about it here.
http://web.media.mit.edu/~tstern/netscratch/

Are these the same ideas you are requesting?

Thanks again!
-Tammy

Offline

 

#3 2007-07-02 12:13:39

DrJim
Scratcher
Registered: 2007-05-26
Posts: 100+

Re: Time and I/O

Regarding clocks:
Do a search of the project area on "clock" or "clocks" and you will get a couple of examples.  I particularly like the options in http://scratch.mit.edu/projects/Dylanpdx/17089 .  (Added note - I also agree with Kevin_Karplus that the analog clock he cites is a better example of a finished product.)

You will have to do a bit of programming to make it do exactly what you want and I don't see anyway to initially set the clock automatically from the OS (despite the little text reference) so you'll have to do that manually.

Last edited by DrJim (2007-07-02 18:39:37)

Offline

 

#4 2007-07-02 12:32:07

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Time and I/O

I think that Graham's clock
http://scratch.mit.edu/projects/Graham/7266
is a better example of a clock, but it does need a "get wallclock time" block to do the right thing.

Offline

 

#5 2011-05-26 16:12:16

nuckelavee
Scratcher
Registered: 2011-05-18
Posts: 79

Re: Time and I/O

Even though this is old, I like these suggestions.


Scratch 2.0- announced April 19, 2010, and now in alpha!  It looks cool, and finally has cloning  smile  Yay.

Offline

 

#6 2011-05-26 16:16:25

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Time and I/O

nuckelavee wrote:

Even though this is old, I like these suggestions.

I think this is a pretty big necropost?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

Board footer