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

#1 2010-12-05 10:11:29

AFYTXR
Scratcher
Registered: 2010-06-04
Posts: 6

Variables for Scripts (Sort of)

The other day I downloaded StarLogo, which is sort of like Scratch but in 3D, the few days that I played around with it before deleting it, in the tutorials I saw that you could make a Script, call it run, and then in another script you could tell the character to run by dragging a block called run, instead of having to drag all the other blocks the script run had, this would be very useful to use in Scratch.

Offline

 

#2 2010-12-05 10:25:14

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Variables for Scripts (Sort of)

Yep. I'm making a modification of Scratch that will let you do this.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#3 2010-12-05 11:04:03

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Variables for Scripts (Sort of)

This functionality will be coming in Scratch 2.0.  smile


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#4 2010-12-06 20:54:04

AFYTXR
Scratcher
Registered: 2010-06-04
Posts: 6

Re: Variables for Scripts (Sort of)

Cool.

Offline

 

#5 2010-12-06 21:24:55

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Variables for Scripts (Sort of)

Actually, you can do this with broadcasts!


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#6 2010-12-07 17:51:35

AFYTXR
Scratcher
Registered: 2010-06-04
Posts: 6

Re: Variables for Scripts (Sort of)

ScratchReallyROCKS wrote:

Actually, you can do this with broadcasts!

I know but still it would be easier if Scratch had it the way I mentioned.

Offline

 

#7 2010-12-07 19:48:46

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

Re: Variables for Scripts (Sort of)

You can do this with BYOB.

Offline

 

Board footer