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

#1 2011-02-08 11:49:13

Thenuclearduck
Scratcher
Registered: 2010-10-17
Posts: 100+

A new Scratch block: <hidden?>

Hello Scratchers! I have come up with an idea for a great new Scratch block. It is called the 'Hidden?' block and it would judge whether the sprite is hidden or not. Here is what the block would look like:
http://www.scratchersweb.yolasite.com/resources/hidden%20block.gif
please vote for this as it would be very useful!  wink  thanks!

Last edited by Thenuclearduck (2011-02-08 11:49:27)


http://blocks.scratchr.org/API.php?user=Thenuclearduck&amp;action=projects&amp;type=newest&amp;return=text&amp;num=1 is my newest project! It has http://blocks.scratchr.org/API.php?user=Thenuclearduck&amp;action=projects&amp;type=newest&amp;return=views&amp;num=1 views!

Offline

 

#2 2011-02-08 12:35:52

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

Re: A new Scratch block: <hidden?>

Thenuclearduck wrote:

Hello Scratchers! I have come up with an idea for a great new Scratch block. It is called the 'Hidden?' block and it would judge whether the sprite is hidden or not. Here is what the block would look like:
http://www.scratchersweb.yolasite.com/r … 0block.gif
please vote for this as it would be very useful!  wink  thanks!

Not strictly needed..  wink
Anyway, Bingo has that: http://bingoprogramming.weebly.com/

Offline

 

#3 2011-02-08 12:41:56

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: A new Scratch block: <hidden?>

that is a good idea actually.

Offline

 

#4 2011-02-08 15:13:43

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

Re: A new Scratch block: <hidden?>

scimonster wrote:

that is a good idea actually.

since sprites rarely decide to hide themselves, using a variable coupled with every single hide/show block for the needed sprite should work just as well!

Offline

 

#5 2011-02-08 17:43:27

OldWheezerGeezer
Scratcher
Registered: 2010-06-04
Posts: 500+

Re: A new Scratch block: <hidden?>

Make a variable called (hidden?).

whenever you have a [Hide] block, put [Set hidden to hidden]

whenever you have a [Show] block, put [Set hidden to showing]

Than put <hidden=hidden?> where you would put the new <hidden?> block.

Offline

 

#6 2011-02-09 05:12:20

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: A new Scratch block: <hidden?>

OldWheezerGeezer wrote:

Make a variable called (hidden?).

whenever you have a [Hide] block, put [Set hidden to hidden]

whenever you have a [Show] block, put [Set hidden to showing]

Than put <hidden=hidden?> where you would put the new <hidden?> block.

Of course that's one workaround, but Scratch is all about easier programming.  tongue

Offline

 

#7 2011-02-12 16:27:07

Thenuclearduck
Scratcher
Registered: 2010-10-17
Posts: 100+

Re: A new Scratch block: <hidden?>

Here is an example: You have a game where lots of different things show and hide, and if you just made a variable for each there would be an awful lot of variables which are not technically needed which will just add more lag to your project.
Also, rainbooowwwwww!


http://blocks.scratchr.org/API.php?user=Thenuclearduck&amp;action=projects&amp;type=newest&amp;return=text&amp;num=1 is my newest project! It has http://blocks.scratchr.org/API.php?user=Thenuclearduck&amp;action=projects&amp;type=newest&amp;return=views&amp;num=1 views!

Offline

 

#8 2011-02-13 11:58:31

timetravelernick
Scratcher
Registered: 2010-11-26
Posts: 27

Re: A new Scratch block: <hidden?>

thats a good idea i have it by hacking scratch

<hidden?> block is cool

Offline

 

#9 2011-02-13 23:08:44

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

Re: A new Scratch block: <hidden?>

I'd rather have it without the need to edit Scratch's insides  smile

I support!


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

 

#10 2011-08-12 08:00:23

Thenuclearduck
Scratcher
Registered: 2010-10-17
Posts: 100+

Re: A new Scratch block: <hidden?>

Chrischb wrote:

I'd rather have it without the need to edit Scratch's insides  smile

I support!

Thank you!


http://blocks.scratchr.org/API.php?user=Thenuclearduck&amp;action=projects&amp;type=newest&amp;return=text&amp;num=1 is my newest project! It has http://blocks.scratchr.org/API.php?user=Thenuclearduck&amp;action=projects&amp;type=newest&amp;return=views&amp;num=1 views!

Offline

 

#11 2011-08-12 09:03:41

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

Re: A new Scratch block: <hidden?>

it is in BYOB


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

 

#12 2011-08-14 19:28:48

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: A new Scratch block: <hidden?>

joefarebrother wrote:

it is in BYOB

But not in Scratch.

Offline

 

#13 2011-08-15 00:21:13

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

Re: A new Scratch block: <hidden?>

kayybee wrote:

joefarebrother wrote:

it is in BYOB

But not in Scratch.

yes but the scratch team are planning to implement some BYOB stuff in scratch 2.0 and maybe the attribute block (that includes hidden) will be in there!!!


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

 

#14 2011-08-15 00:30:58

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: A new Scratch block: <hidden?>

joefarebrother wrote:

kayybee wrote:

joefarebrother wrote:

it is in BYOB

But not in Scratch.

yes but the scratch team are planning to implement some BYOB stuff in scratch 2.0 and maybe the attribute block (that includes hidden) will be in there!!!

Yes, but that is not related to my post.

I was just saying that your post was off-topic.

We've already established the fact it's possible.

Last edited by kayybee (2011-08-15 00:31:12)

Offline

 

#15 2011-08-15 03:43:06

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

Re: A new Scratch block: <hidden?>

Sounds great... what about something like ([ghost effect] of [sprite 1])?

I support btw  wink


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

Offline

 

Board footer