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

#1 2012-12-15 21:31:59

roger74
Scratcher
Registered: 2012-02-05
Posts: 4

New Operator Blocks(click Here)

you know about the "and" and "or" blocks have you?


well they should have "xor" and "nor" gates


<<> xor <>>

<<> nor <>>
:cool

Offline

 

#2 2012-12-15 21:46:41

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: New Operator Blocks(click Here)

Many mods have them, but I don't see many applications for them in Scratch. There are workarounds if you really want them.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#3 2012-12-15 22:16:54

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: New Operator Blocks(click Here)

workaround for xor:

if <<(in1) or (in2)> and <not <(in1) = (in2)>>>
return <true>
else
return <false>
end
for nor, its as easy as
<not <(in1) or (in2)>>

Last edited by SJRCS_011 (2012-12-15 22:17:17)


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#4 2012-12-15 22:36:04

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: New Operator Blocks(click Here)

SJRCS_011 wrote:

for nor, its as easy as

If my Family and Consumer Science teacher was saying that, I'd have to say 1... 2... 3...

Ugh. That class is so annoying. STOP MAKING ME SEW!

Anyways, SJRCS is right.

Offline

 

#5 2012-12-15 22:46:07

fillergames
Scratcher
Registered: 2012-10-15
Posts: 1000+

Re: New Operator Blocks(click Here)

ImagineIt wrote:

SJRCS_011 wrote:

for nor, its as easy as

If my Family and Consumer Science teacher was saying that, I'd have to say 1... 2... 3...

Ugh. That class is so annoying. STOP MAKING ME SEW!

Anyways, SJRCS is right.

In my tech class the kids scream like babys and are not smart. Somtimes i wonder why im in that class.


http://i50.tinypic.com/2ufvxc5_th.gif Grammer? Whats grammar?

Offline

 

#6 2012-12-16 12:14:03

eveadelekitty
Scratcher
Registered: 2012-12-05
Posts: 100+

Re: New Operator Blocks(click Here)

Sounds cool! I'd like something that could go like:

if chat=true
open messageblock
open chattable
if chat=false
close messageblock
close chattable
when [sprite1] clicked
set chat to true
when key [spacebar] pressed
set chat to false
Sorry if it didn't work.
So you use that combination to make a chat box open on the scratch project. It's kind of like the ask thing but you open the chat thing and can talk on a scratch project and make a  scratch collab easier by working on one project, and you know it can let you talk to others on the same project! Then you can make the same version to see your idea to edit the project.

Offline

 

#7 2012-12-17 01:29:03

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: New Operator Blocks(click Here)

eveadelekitty wrote:

Sounds cool! I'd like something that could go like:

if chat=true
open messageblock
open chattable
if chat=false
close messageblock
close chattable
when [sprite1] clicked
set chat to true
when key [spacebar] pressed
set chat to false
Sorry if it didn't work.
So you use that combination to make a chat box open on the scratch project. It's kind of like the ask thing but you open the chat thing and can talk on a scratch project and make a  scratch collab easier by working on one project, and you know it can let you talk to others on the same project! Then you can make the same version to see your idea to edit the project.

That is irrelevant to the topic. Create your own instead.


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#8 2012-12-17 10:38:23

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: New Operator Blocks(click Here)

eveadelekitty wrote:

Sounds cool! I'd like something that could go like:

if chat=true
open messageblock
open chattable
if chat=false
close messageblock
close chattable
when [sprite1] clicked
set chat to true
when key [spacebar] pressed
set chat to false
Sorry if it didn't work.
So you use that combination to make a chat box open on the scratch project. It's kind of like the ask thing but you open the chat thing and can talk on a scratch project and make a  scratch collab easier by working on one project, and you know it can let you talk to others on the same project! Then you can make the same version to see your idea to edit the project.

You can script that.   wink
This is rather irrelevant.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#9 2012-12-17 16:25:34

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

Re: New Operator Blocks(click Here)

SJRCS_011 wrote:

workaround for xor:

if <<(in1) or (in2)> and <not <(in1) = (in2)>>>
return <true>
else
return <false>
end
for nor, its as easy as
<not <(in1) or (in2)>>

xor:

<not <(in1) = (in2)>>


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

 

#10 2012-12-17 16:39:54

eveadelekitty
Scratcher
Registered: 2012-12-05
Posts: 100+

Re: New Operator Blocks(click Here)

Firedrake969 wrote:

You can script that.   wink

Well, to make it easier for newbies. Like, you don't want a guy like UGH HOW DO I MAKE THIS COLLAB EASIER TO MAKE...right?

Offline

 

#11 2012-12-17 18:49:30

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: New Operator Blocks(click Here)

eveadelekitty wrote:

Firedrake969 wrote:

You can script that.   wink

Well, to make it easier for newbies. Like, you don't want a guy like UGH HOW DO I MAKE THIS COLLAB EASIER TO MAKE...right?

No.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#12 2012-12-18 00:44:01

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

Re: New Operator Blocks(click Here)

eveadelekitty wrote:

Firedrake969 wrote:

You can script that.   wink

Well, to make it easier for newbies. Like, you don't want a guy like UGH HOW DO I MAKE THIS COLLAB EASIER TO MAKE...right?

If a project is too hard to make, you should consider doing an easier one first. In life, you don't just get to skip to the hard stuff, you have to start with the easy stuff so you know how to do it.

Offline

 

#13 2012-12-18 08:06:20

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: New Operator Blocks(click Here)

fillergames wrote:

ImagineIt wrote:

SJRCS_011 wrote:

for nor, its as easy as

If my Family and Consumer Science teacher was saying that, I'd have to say 1... 2... 3...

Ugh. That class is so annoying. STOP MAKING ME SEW!

Anyways, SJRCS is right.

In my tech class the kids scream like babys and are not smart. Somtimes i wonder why im in that class.

i'm glad i'm not in tech
everyone would be coming up to me saying "WAT DO I DOOOOOOOOOOOOOOOO" and i'd have to help them and i'd never get any work done


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#14 2012-12-18 10:34:34

texjdsimon
Scratcher
Registered: 2010-08-22
Posts: 91

Re: New Operator Blocks(click Here)

I like it  tongue


Please click the Dragons love you :c
http://dragcave.net/image/UYJsJ.gif http://dragcave.net/image/1Dgaa.gif http://dragcave.net/image/qh2Nk.gif

Offline

 

#15 2012-12-18 14:11:43

Necromaster
Scratcher
Registered: 2010-04-07
Posts: 1000+

Re: New Operator Blocks(click Here)

Maybe. But with clever scripting you can do it yourself.

Actually, the scripting isn't even that clever.

Offline

 

Board footer