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:
please vote for this as it would be very useful! thanks!
Last edited by Thenuclearduck (2011-02-08 11:49:27)
Offline
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!thanks!
Not strictly needed..
Anyway, Bingo has that: http://bingoprogramming.weebly.com/
Offline
that is a good idea actually.
Offline
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
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
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.
Offline
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!
Offline
thats a good idea i have it by hacking scratch
<hidden?> block is cool
Offline
Chrischb wrote:
I'd rather have it without the need to edit Scratch's insides
![]()
I support!
Thank you!
Offline
it is in BYOB
Offline
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!!!
Offline
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
Sounds great... what about something like ([ghost effect] of [sprite 1])?
I support btw
Offline