Sometimes I feel it would be convenient to place an "unless" block in scratch, for example in this scenario
--
-When green flag clicked-
|
-Forever if <touching enemy sprite>-
-unless <invincibility> = <1>-
--say "lose" <2> seconds --
--stop all--
--
See how convenient?
Oh yes, and
--
-When green flag clicked-
-if touching red-
-unless (background) = (red)-
--stop all--
Offline
That would be awesome! I support this idea.
Offline
But this would make stuff easy without even a simple workaround. So this would be kinda cool.
Offline
I know, but . . . Um . . . still! There are more situations that I'm too lazy to write down! And some beginners could use that!
Offline
adriangl wrote:
<if><< <not> >><9<{ invincibility }> <=> 0 )>
Imagine it even easier. The unless block.
Offline
Yes, that's exactly what I'm saying! Seriously! Make the unless block! Beginners probably don't realize that combination!
Offline
Yes! Now, everybody who agrees, put this in your signature:
"Scratch needs an unless block"
Offline
Put it in your signature! Everyone! Hurry! Hurry! We need to tell the scratch team before 1.5 comes out!
Offline
Look, if you're too lazy to make a simple workaround, than... *runs out of ideas for comebacks*. The thing is, there are bigger things, which are possible, but are extremely difficult to do. This is like...nothing. I'm not COMPLETELY against it, but there are more important suggestions at hand.
Offline
ProjectFunnyBoy wrote:
Sometimes I feel it would be convenient to place an "unless" block in scratch, for example in this scenario
--
-When green flag clicked-
|
-Forever if <touching enemy sprite>-
-unless <invincibility> = <1>-
--say "lose" <2> seconds --
--stop all--
--
See how convenient?
Oh yes, and
--
-When green flag clicked-
-if touching red-
-unless (background) = (red)-
--stop all--
Well, ProjectFunnyBoy (AKA Kenji) we won't need the "Unless" block because there is already a "If Touching" block. They both sound different, but when you really think about it... It is the same think. Thanks for trying to help!
Offline
DawnLight wrote:
ProjectFunnyBoy wrote:
Sometimes I feel it would be convenient to place an "unless" block in scratch, for example in this scenario
--
-When green flag clicked-
|
-Forever if <touching enemy sprite>-
-unless <invincibility> = <1>-
--say "lose" <2> seconds --
--stop all--
--
See how convenient?
Oh yes, and
--
-When green flag clicked-
-if touching red-
-unless (background) = (red)-
--stop all--Well, ProjectFunnyBoy (AKA Kenji) we won't need the "Unless" block because there is already a "If Touching" block. They both sound different, but when you really think about it... It is the same think. Thanks for trying to help!
An if touching block? I think you meant to say "Because there is already the combination of an "If" block and a "Not" block".
Offline
Zelda123 wrote:
The unLESS block is a useLESS block.
In fact, it would have a negative effect. It is a block that can be replaced with such an easy substitute and in return shall slow down Scratch even more.
Lol yeah.
Offline
ProjectFunnyBoy wrote:
Sometimes I feel it would be convenient to place an "unless" block in scratch, for example in this scenario
--
-When green flag clicked-
|
-Forever if <touching enemy sprite>-
-unless <invincibility> = <1>-
--say "lose" <2> seconds --
--stop all--
--
See how convenient?
Oh yes, and
--
-When green flag clicked-
-if touching red-
-unless (background) = (red)-
--stop all--
You could just use the IF Block in the command section! =p
Offline
ProjectFunnyBoy wrote:
Sometimes I feel it would be convenient to place an "unless" block in scratch, for example in this scenario
--
-When green flag clicked-
|
-Forever if <touching enemy sprite>-
-unless <invincibility> = <1>-
--say "lose" <2> seconds --
--stop all--
--
See how convenient?
Oh yes, and
--
-When green flag clicked-
-if touching red-
-unless (background) = (red)-
--stop all--
No. I agree w/ lucario621. No kidding-if u want this use the if block and not block!
Offline
ProjectFunnyBoy wrote:
Yes! Now, everybody who agrees, put this in your signature:
"Scratch needs an unless block"
I know... But i disagree Example:
If touching enemy and starman is lower than 1, Stop all
is the same as
If touching enemy unless starman is higher than 0, stop all
It is unusefull.
See? try it out.
Last edited by rdococ (2009-11-29 13:58:26)
Offline
Really, use the < block. Example:
If touching ------ and starman is lower than 1, Stop all
Offline