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!
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:
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
ScratchFrameMorph new fillScreenOff
like this:
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?
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:
open >> workspace
Put this in:
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
open >> browser
Happy hacking!
Last edited by Jwosty (2010-07-28 22:48:38)
Offline
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!
Offline
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
Offline
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
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...
Offline
or:
right click any block, click edit elements, then right click the [] := [] 'block', click evaluate, will open syntax error. then click on the shown bar (the one on top), then click 'browse full' this opens the browser.
Offline