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

#1 2010-07-28 22:48:00

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

BYOB Edit Code

So, ya want to edit some BYOB Smalltalk? You've come to the right place.


You can't get to the source code in BYOB the same way you can with Scratch. BYOB doesn't have a developer menu with the 'turn fill screen off' option!  yikes

You have to get in a different way. First, you right-click on any block THAT ISN'T A CUSTOM MADE ONE, and select edit elements: http://i26.tinypic.com/2mhwwi9.png

Now, drag out anything and remember to put it back after you do this. Click 'save', and a small dialog saying 'Please type your initials:'. Enter in

Code:

ScratchFrameMorph new fillScreenOff

like this: http://i26.tinypic.com/r7yo.png

Highlight all of it and on the keyboard, press command and 'd' when the mouse is inside the text area. You can now get handles/halos! Good to see them, huh?  lol
http://i31.tinypic.com/rqvz3n.png

Then, right click or alt click on the stage and you will get a halo that says 'ScratchFrameMorph' and click on the little 'X' on the top left of the screen. It will delete it. But don't worry, you can get it back! Just click anywhere on the white and follow this:

Code:

open >> workspace

Put this in:

Code:

ScratchFrameMorph new openInWorld

and do it (command-'d'). This will give you a new BYOB frame!

If you want to get to the browser, bring up a World menu and go to

Code:

open >> browser

Happy hacking!  wink

Last edited by Jwosty (2010-07-28 22:48:38)


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#2 2010-07-28 23:47:43

brantsmith
Scratcher
Registered: 2010-04-01
Posts: 21

Re: BYOB Edit Code

actually there is a hacked version of BYOB 3 that you can download that you dont have to do all that stuff. I think you can find it on the slash mod page!


http://gbryouth.webstarts.com/uploads/event2.jpg

Offline

 

#3 2010-07-29 02:12:13

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB Edit Code

Actually, in the BYOB distribution you will find a batch file named

   BYOB development.bat

if you launch that and then shift-click on the Edit menu you've got the "official" developer's menu. For Mac users there's also a little shell script doing the same thing.

No need for hacks, really  smile


Jens Mönig

Offline

 

#4 2010-07-29 16:20:14

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: BYOB Edit Code

Jens wrote:

Actually, in the BYOB distribution you will find a batch file named

   BYOB development.bat

if you launch that and then shift-click on the Edit menu you've got the "official" developer's menu. For Mac users there's also a little shell script doing the same thing.

No need for hacks, really  smile

I know, I saw your post saying the command (for Macs) that lets you open it in dev mode, but I didn't know where to put it...  hmm


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#5 2010-07-29 16:32:39

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

Re: BYOB Edit Code

Why hack BYOB when you could just use Elements?


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

Offline

 

#6 2010-07-29 18:13:43

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: BYOB Edit Code

I tried that; it didn't do anything. (Well, I am using BYOB 1.0)


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#7 2013-03-03 17:57:39

estile
Scratcher
Registered: 2013-01-26
Posts: 100+

Re: BYOB Edit Code

even so, where do you even learn how to use the elements editor


http://i45.tinypic.com/s4nvxl.png

Offline

 

#8 2013-03-03 19:30:05

omniscience
Scratcher
Registered: 2012-12-05
Posts: 26

Re: BYOB Edit Code

or:
right click any block, click edit elements, then right click the [] := [] 'block', click evaluate, will open syntax error. then click on http://oi49.tinypic.com/fvhcb9.jpg the shown bar (the one on top), then click 'browse full' this opens the browser.


http://block.site90.net/scratch.mit/text.php?t=%20DO%20NOT%20DISTURB:%20currently%20making%20a%20scratch%20mod&c=F00&s=10

Offline

 

Board footer