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

#1 2009-08-19 02:29:25

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Time Sensors

I think it would be handy if Scratch could know what day and time it was. It would help because you wouldn't have to input one, or program it randomly.


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#2 2009-08-19 04:25:28

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Time Sensors

Yeah, I would like that as well.  You could have projects that could remind you of a schedule...or show different looks for day and night.  Lot's of possibilities!


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2009-08-19 10:01:36

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: Time Sensors

Also you could make a computer and the clock would be right instead of the user having to put in the time or something like that.

Offline

 

#4 2009-08-19 12:26:15

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Time Sensors

Well, it can be done with remote sensors and simple python file.


Converting my Scratch projects to Python!

Offline

 

#5 2009-08-19 12:49:34

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Time Sensors

Yeah...and the project could detect the users' system time.


Hai.

Offline

 

#6 2009-08-21 03:14:46

cowper-jt
Scratcher
Registered: 2008-09-22
Posts: 100+

Re: Time Sensors

filo5 wrote:

Well, it can be done with remote sensors and simple python file.

How?


http://internetometer.com/image/4696.png

Offline

 

#7 2009-08-21 09:34:03

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

Re: Time Sensors

yeah...but you need to learn python...


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

 

#8 2009-08-21 09:45:50

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: Time Sensors

in net scratch you could do this !

Offline

 

#9 2009-08-21 11:49:48

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

Re: Time Sensors

NetScratch has been cancled...


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

 

#10 2009-08-22 02:51:49

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Time Sensors

I would really like to see this!

You know how there's the time variable thingy? They should make one of those things for the time sensor. You could make things like [set variable to <time>] or If < [variable] = [time].

This idea is great!


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#11 2009-08-22 03:02:03

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Time Sensors

You don't need to use any online features for this to work. The program would just use the local system time.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#12 2009-08-22 03:06:25

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Time Sensors

archmage wrote:

You don't need to use any online features for this to work. The program would just use the local system time.

How would you get the right time for use in Scratch right now?


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#13 2009-08-22 11:29:23

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

Re: Time Sensors

that wouldn't work, you would have to set it at the begining of the program.


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

 

#14 2009-08-22 12:49:15

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Time Sensors

Jonathanpb wrote:

archmage wrote:

You don't need to use any online features for this to work. The program would just use the local system time.

How would you get the right time for use in Scratch right now?

Ok, there are many people that do this. You computer keeps track of the time. Many programs will look for the time on the local system and use that in the program. Scratch could do the same.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#15 2009-08-22 12:59:45

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: Time Sensors

markyparky56 wrote:

NetScratch has been cancled...

i have netscratch !

Offline

 

#16 2009-08-22 14:19:31

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: Time Sensors

dav09 wrote:

markyparky56 wrote:

NetScratch has been cancled...

i have netscratch !

You have a beta version of it.

Offline

 

#17 2009-08-22 19:05:53

cowper-jt
Scratcher
Registered: 2008-09-22
Posts: 100+

Re: Time Sensors

dav09 wrote:

in net scratch you could do this !

What is NetScratch?


http://internetometer.com/image/4696.png

Offline

 

#18 2009-08-22 20:27:58

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: Time Sensors

cowper-jt wrote:

dav09 wrote:

in net scratch you could do this !

What is NetScratch?

It was going to be like Scratch but you could also do it with other people online or something, but they canceled it

Offline

 

#19 2009-08-22 23:34:14

cowper-jt
Scratcher
Registered: 2008-09-22
Posts: 100+

Re: Time Sensors

BWOG wrote:

cowper-jt wrote:

dav09 wrote:

in net scratch you could do this !

What is NetScratch?

It was going to be like Scratch but you could also do it with other people online or something, but they canceled it

Thanks.


http://internetometer.com/image/4696.png

Offline

 

#20 2009-08-24 03:51:16

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Time Sensors

archmage wrote:

Jonathanpb wrote:

archmage wrote:

You don't need to use any online features for this to work. The program would just use the local system time.

How would you get the right time for use in Scratch right now?

Ok, there are many people that do this. You computer keeps track of the time. Many programs will look for the time on the local system and use that in the program. Scratch could do the same.

I now realize how silly I am. It shouldn't be too hard for Scratch to sense the time, that's true...


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#21 2009-08-25 15:19:19

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

Re: Time Sensors

wouldn't you need python or something like that for scratch to sense it, for i have no idea how scratch could do it. Anyone know how?


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

 

#22 2009-08-27 16:24:35

treeko90097
Scratcher
Registered: 2008-03-03
Posts: 36

Re: Time Sensors

Paddle2See wrote:

Yeah, I would like that as well.  You could have projects that could remind you of a schedule...or show different looks for day and night.  Lot's of possibilities!

I found out how to make the time blocks-- since i want paddle2see to see this, i will post it here, although i am making a tutorial.
in scratchsource, go to:
scratch-objects, scratchstagemorph: instances: sensing ops:
then add one of the following:
^ Time now (seconds, minutes, hours,)
^ Date today (month, dayOfMonth, day, monthName, year)
and put it in a block, and it will be able to use! please consider this, scratch team!

Last edited by treeko90097 (2009-08-28 02:59:25)


http://i196.photobucket.com/albums/aa242/treeko90097/squirtlealakazam.gifhttp://i196.photobucket.com/albums/aa242/treeko90097/slowpokeponyta.gifhttp://i196.photobucket.com/albums/aa242/treeko90097/slowkingwobbufett.gif
my best pokemorphs

Offline

 

#23 2009-08-28 11:03:02

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

Re: Time Sensors

treeko90097 wrote:

Paddle2See wrote:

Yeah, I would like that as well.  You could have projects that could remind you of a schedule...or show different looks for day and night.  Lot's of possibilities!

I found out how to make the time blocks-- since i want paddle2see to see this, i will post it here, although i am making a tutorial.
in scratchsource, go to:
scratch-objects, scratchstagemorph: instances: sensing ops:
then add one of the following:
^ Time now (seconds, minutes, hours,)
^ Date today (month, dayOfMonth, day, monthName, year)
and put it in a block, and it will be able to use! please consider this, scratch team!

Scratch source? whats that?


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

 

#24 2009-08-30 00:27:57

treeko90097
Scratcher
Registered: 2008-03-03
Posts: 36

Re: Time Sensors

markyparky56 wrote:

treeko90097 wrote:

Paddle2See wrote:

Yeah, I would like that as well.  You could have projects that could remind you of a schedule...or show different looks for day and night.  Lot's of possibilities!

I found out how to make the time blocks-- since i want paddle2see to see this, i will post it here, although i am making a tutorial.
in scratchsource, go to:
scratch-objects, scratchstagemorph: instances: sensing ops:
then add one of the following:
^ Time now (seconds, minutes, hours,)
^ Date today (month, dayOfMonth, day, monthName, year)
and put it in a block, and it will be able to use! please consider this, scratch team!

Scratch source? whats that?

Scratch source code... i call it scratchsource for short lol


http://i196.photobucket.com/albums/aa242/treeko90097/squirtlealakazam.gifhttp://i196.photobucket.com/albums/aa242/treeko90097/slowpokeponyta.gifhttp://i196.photobucket.com/albums/aa242/treeko90097/slowkingwobbufett.gif
my best pokemorphs

Offline

 

#25 2009-08-30 02:47:32

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Time Sensors

Get back to the topic, please.


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

Board footer