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

#1 2010-08-27 17:04:37

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

A better online/offline sensor

You all have your own online/offline sensor, but heres one that doesnt stop the script, good for 1s1s'ers.

set online to < 0 = 0 >
if <(round(online) ) = 1
|set online to false
|______________________


You can now reach me on Twitter @johnnydean1_

Offline

 

#3 2010-08-28 07:00:16

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: A better online/offline sensor

bump


You can now reach me on Twitter @johnnydean1_

Offline

 

#5 2010-08-28 12:02:15

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: A better online/offline sensor

I made a block like this in BYOB. But I am sure it would return false each time.  hmm

Last edited by rdococ (2010-08-28 12:02:29)

Offline

 

#6 2010-08-28 13:42:10

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: A better online/offline sensor

rdococ wrote:

I made a block like this in BYOB. But I am sure it would return false each time.  hmm

of course. that's because you can't play it in java  smile

Offline

 

#7 2010-08-28 15:50:55

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: A better online/offline sensor

LS97 wrote:

rdococ wrote:

I made a block like this in BYOB. But I am sure it would return false each time.  hmm

of course. that's because you can't play it in java  smile

True. But possible, and not always report false in Scatch.

Offline

 

#8 2010-08-28 19:09:59

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

Re: A better online/offline sensor

Ooh, cool!  big_smile


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

Offline

 

#9 2010-08-30 02:29:25

fanhost
New Scratcher
Registered: 2010-08-19
Posts: 12

Re: A better online/offline sensor

It's really very amazing..

Offline

 

Board footer