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

#1 2012-01-15 12:27:51

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

BYOB Feature Online

You'll need antidote to view this. This is a simple alternative

Article 1
This "text" shows you how you could possibly make custom blocks for online use using the broadcast features. This is a very similar equivalent feature compared to BYOB, the only thing being is that it needs a little more work.

Article 2
Ok, open up Scratch. Don't delete or change anything. Add the following scripts.

http://dl.dropbox.com/u/41073707/BYOB/1.gif

See how using broadcasts we can achieve custom blocks?

Article 3
Say you wanted user input, simple!

http://dl.dropbox.com/u/41073707/BYOB/2.gif


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#2 2012-01-15 12:32:44

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: BYOB Feature Online

Servine wrote:

You'll need antidote to view this. This is a simple alternative

Article 1
This "text" shows you how you could possibly make custom blocks for online use using the broadcast features. This is a very similar equivalent feature compared to BYOB, the only thing being is that it needs a little more work.

Article 2
Ok, open up Scratch. Don't delete or change anything. Add the following scripts.

http://dl.dropbox.com/u/41073707/BYOB/1.gif

See how using broadcasts we can achieve custom blocks?

Article 3
Say you wanted user input, simple!

http://dl.dropbox.com/u/41073707/BYOB/2.gif

yep i've used this method in PHPoison(for splitting strings like bingo does)
maybe you should explain how to do returning?


http://i.imgur.com/1QqnHxQ.png

Offline

 

#3 2012-01-15 12:35:36

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: BYOB Feature Online

I'm not sure whether or not this would belong in AT...


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#4 2012-01-15 13:13:39

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: BYOB Feature Online

Why "Online"? It works offline, too!


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#5 2012-01-15 13:16:31

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: BYOB Feature Online

Yeah, I know about this.

Offline

 

#6 2012-01-15 13:19:10

ZeroLuck
Scratcher
Registered: 2010-02-23
Posts: 500+

Re: BYOB Feature Online

But this doesn't work recursive.


http://3.bp.blogspot.com/-oL2Atzp0Byw/T465vIQ36dI/AAAAAAAAADo/1vqL4PvhkM0/s1600/scratchdachwiki.png

Offline

 

#7 2012-01-15 13:19:55

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: BYOB Feature Online

ZeroLuck wrote:

But this doesn't work recursive.


http://i.imgur.com/1QqnHxQ.png

Offline

 

#8 2012-01-15 13:21:55

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: BYOB Feature Online

Why not? I'm able to have a broadcast broadcast it self.

Last edited by bobbybee (2012-01-15 13:22:07)


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#9 2012-01-15 14:02:19

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB Feature Online

bobbybee wrote:

Why not? I'm able to have a broadcast broadcast it self.

It never returns because it stops the thread, so you can only do tail recursion.


nXIII

Offline

 

#10 2012-01-15 14:18:32

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: BYOB Feature Online

That makes a lot more sense. However, you could organize every section of the program into names, and then to return from a broadcast you would broadcast the name of the program section that you would receive from a variable.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

Board footer