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

#1 2011-09-13 09:33:13

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Blocks Disablers

Did you ever had the problem of debugging a big script that lags, while you're not sure if a block belongs in there? why not making a 'block-disablers' you can attach to blocks like comments, to help debugging?

Supporters:

roijac
owetre18
legoscratch
jji7skyline
cpumaster930
scimonster
veggieman001

Last edited by roijac (2011-09-20 12:51:00)

Offline

 

#2 2011-09-15 10:38:49

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Blocks Disablers

Bump

Offline

 

#3 2011-09-15 12:15:54

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

Re: Blocks Disablers

Support.

Offline

 

#4 2011-09-15 13:55:09

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Blocks Disablers

owetre18 wrote:

Support.

thanks!

Offline

 

#5 2011-09-16 19:48:54

legoscratch
Scratcher
Registered: 2010-06-18
Posts: 100+

Re: Blocks Disablers

I support.  Alice (alice.org) has this, and it'd be nice for Scratch.


If you are having trouble with simple counting, use the following mnemonic device: 1 comes before 2 comes before 5,280 comes before 523,860,759 comes after the square root of -153 comes before π. This will make your previous counting problems seem like no big deal.

Offline

 

#6 2011-09-16 20:42:13

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Blocks Disablers

Sounds good. In text-based languages, you would do this with multi-line comment identifiers. In Java this would be */ /*.

I support!


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#7 2011-09-16 20:43:34

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Offline

 

#8 2011-09-17 13:51:26

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Blocks Disablers

http://i.imgur.com/AQMpS.gif

This actually does nothing. And you can identify it easily. And you can just drag it in anywhere and it does its job. And you can unsnap it easily.


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#9 2011-09-17 15:16:54

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Blocks Disablers

Greatdane wrote:

http://i.imgur.com/AQMpS.gif

This actually does nothing. And you can identify it easily. And you can just drag it in anywhere and it does its job. And you can unsnap it easily.

You can unsnap it easily?! Try it when you have a 50 blocks long script inside three different C's, while your computer *only* has 2GB RAM memory...

Offline

 

#10 2011-09-17 19:51:19

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Blocks Disablers

roijac wrote:

Greatdane wrote:

http://i.imgur.com/AQMpS.gif

This actually does nothing. And you can identify it easily. And you can just drag it in anywhere and it does its job. And you can unsnap it easily.

You can unsnap it easily?! Try it when you have a 50 blocks long script inside three different C's, while your computer *only* has 2GB RAM memory...

I agree. C blocks are very taxing to RAM and CPU... Even GPU...

It used to take around a minute for the blocks to update on my chatbot when I dragged in or out C blocks simply because the script was so long  tongue


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#11 2011-09-20 11:45:10

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Blocks Disablers

bump

Offline

 

#12 2011-09-20 11:50:13

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Blocks Disablers

I know: split your script into different sections, using broadcast and wait to connect them, and simply take off the hat of the sections you want to disable. Example:
<when green flag clicked>
<forever>
<broadcast[ something ]and wait c>
<broadcast[ something else ]and wait c>
<if> somthing happens
<broadcast[ a third thing ]and wait c>


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#13 2011-09-20 12:06:23

roijac_test
Scratcher
Registered: 2011-08-31
Posts: 49

Re: Blocks Disablers

joefarebrother wrote:

I know: split your script into different sections, using broadcast and wait to connect them, and simply take off the hat of the sections you want to disable. Example:
<when green flag clicked>
<forever>
<broadcast[ something ]and wait c>
<broadcast[ something else ]and wait c>
<if> somthing happens
<broadcast[ a third thing ]and wait c>

broadcasting is pretty slow  sad
and editing 30 broadcast names is not fun/fast...


http://gigabyte.50webs.com/funnyerrormessages/work013.jpg

Offline

 

#14 2011-09-20 12:50:11

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Blocks Disablers

I agree completely.


Posts: 20000 - Show all posts

Offline

 

#15 2011-09-20 12:51:23

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Blocks Disablers

veggieman001 wrote:

I agree completely.

thx!

Offline

 

Board footer