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

#26 2009-11-30 04:29:03

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

Re: Make an "unless" block in scratch

keikij wrote:

if not invincibility = 1

is the exact same thing as

unless invincibility = 1

It's a pointless block, like forever if.

Totally agree.

Offline

 

#27 2009-11-30 04:39:53

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

Re: Make an "unless" block in scratch

Um... can't you just use this?

-When green flag clicked-
|
-Forever if <touching enemy sprite>-
-if not <invincibility> = <1>-
--say "lose" <2> seconds --
--stop all--


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

 

#28 2009-11-30 18:18:46

illusionist
Retired Community Moderator
Registered: 2008-07-02
Posts: 1000+

Re: Make an "unless" block in scratch

http://i48.tinypic.com/16lwsxj.gif

Like this?  smile

There are many ways around this, but it would save time.


http://i.imgur.com/8LX1NrV.png

Offline

 

#29 2009-11-30 23:33:06

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

Re: Make an "unless" block in scratch

Yes, that's an interesting picture - but it's just not neccessary.

It won't kill you if you use a <not <function> piece.


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

 

Board footer