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

#1 2009-05-27 22:27:14

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Create Script Block

I was thinking, what if there was a block that could create Scripts.


Example:

[Create script |*1| for |*2|  ]
| Script here.
| Script here.
| Script here.
| Script here.
|-------------------|


*1:  When I Receive{Broadcast}/When {Sprite} Clicked/When {Key} Pressed
*2:  Sprite name

Offline

 

#2 2009-05-27 22:32:36

fruit
Scratcher
Registered: 2009-04-24
Posts: 1000+

Re: Create Script Block

http://scratch.mit.edu/forums/viewtopic.php?id=10887


@savi3000 | hcsmp.com

Offline

 

#3 2009-05-27 23:10:58

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Create Script Block

I know about BYOB.  smile  I meant a block like what I showed above. It will create a script while scratch is running. But if you restart it, then it will be deleted until the script that has the block in it. But now I realize that another feature I would need is a "Add to Script" block too....  hmm

Offline

 

#4 2009-05-27 23:17:57

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Create Script Block

The same thing would be accomplished if we could call other sprites:

Code:

tell(sprite1){
penDown();
}

Last edited by fullmoon (2009-05-27 23:28:11)


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#5 2009-05-28 00:03:53

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Create Script Block

Yea.

Offline

 

#6 2009-05-28 05:54:55

Mozaz
Scratcher
Registered: 2009-05-19
Posts: 500+

Re: Create Script Block

Nice idea. It goes well with the idea of dynamic sprites. (If we ever get them -.-)


http://i33.tinypic.com/15i5fmp.png

Offline

 

#7 2009-05-28 10:22:34

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Create Script Block

I'm always full of ways to get something if they say they can't do it then I show them a way that works. lol

Offline

 

Board footer