please reply how do I get to 'block specs' in the 1.4 source code?
Offline
How can you make [eraser down], [eraser up], <if broadcasting>, (pi), and [show dialog box titled ________ with text ___________]?
Offline
Update: I made the (last received) block. It involved making a new variable, editing an existing block, and the normal stuff.
Last edited by Billybob-Mario (2010-05-01 10:34:56)
Offline
billyedward wrote:
If I am correct, you use Jens' method:
Find a bug, type Preferences enableProgrammerFacilities into the walkback, etc.
And, the problem in 1.4 is, you can't find any bugs, right!
Well, here's what I use:
In the default cat sprite, make another costume to be a single pixel (the colour doesn't matter).
Then, set the sprite to be 54000% in size.
Now, just switch to the cat costume...
You will see a red walkback window entitled 'space is low'
Be sure to delete that offending cat sprite and then set it to 100% soon; those errors are there for a reason.
If by chance it causes a squeak memory dump (denounced by an unflattering text-filled white rectangle in the top left corner) then try it again with a smaller size. (ie: 2000%, etc. 54000 is the largest it will allow for a single pixel)
Please do not advertise this method outside this forum, because if the scratch team gets wind of it, they will be sure to fix it. And we all know how precious these bugs can be.
Or you can shift+click in the loop of the R in the Scratch logo.
Offline
Fiat500 wrote:
... Or you can shift+click in the loop of the R in the Scratch logo.
SHHH!! Don't tell the Scratch Team!!
Offline
Lol... I guess I'm a nerd.
Do you know how to add another category (like control, motion, looks, sensing, sound, operators, pen, and variables)? If so, can you tell me how please? Thanks!
Offline
Zorbak42 wrote:
Lol... I guess I'm a nerd.
Do you know how to add another category (like control, motion, looks, sensing, sound, operators, pen, and variables)? If so, can you tell me how please? Thanks!
You edit the 'rebuildCategorySelectors' message in ScratchViewerMorph. Just add something to the 'catList' temporary variable, but remember that it floors the length for the extent, meaning you need an even number of categories.
Last edited by nXIII (2010-04-26 16:48:36)
Offline
here's a question. if you edit names of folders and things like that, does the source need to call a specific name of folder or would it still work? like could I change the name of a file to ILikePie.dll?
Offline
nXIII wrote:
Zorbak42 wrote:
Lol... I guess I'm a nerd.
Do you know how to add another category (like control, motion, looks, sensing, sound, operators, pen, and variables)? If so, can you tell me how please? Thanks!
You edit the 'rebuildCategorySelectors' message in ScratchViewerMorph. Just add something to the 'catList' temporary variable, but remember that it floors the length for the extent, meaning you need an even number of categories.
OK. I'm in rebuildCategorySelectors. Where do I find the catList? Is it the list near the top with all the category names? I tried adding something there, but it didn't show up, I tried adding 2 things, they didn't show up, I tried added blocks to them in blockSpecs, still nothing. Do I have to design a picture for them before they show up or something? If so, how? Thanks.
Offline
Zorbak42 wrote:
nXIII wrote:
Zorbak42 wrote:
Lol... I guess I'm a nerd.
Do you know how to add another category (like control, motion, looks, sensing, sound, operators, pen, and variables)? If so, can you tell me how please? Thanks!
You edit the 'rebuildCategorySelectors' message in ScratchViewerMorph. Just add something to the 'catList' temporary variable, but remember that it floors the length for the extent, meaning you need an even number of categories.
OK. I'm in rebuildCategorySelectors. Where do I find the catList? Is it the list near the top with all the category names? I tried adding something there, but it didn't show up, I tried adding 2 things, they didn't show up, I tried added blocks to them in blockSpecs, still nothing. Do I have to design a picture for them before they show up or something? If so, how? Thanks.
![]()
Never mind, I got it.
Offline
hi billyedward, I have now officially created a mod. I have to ask to questions:
1. How do I compile it into an exe
2. How can I make an <i recive []> block?
Offline
I am working on Peck 1.2 and I want to know how to make new categories using the ACTUAL source code that they let you download. All of the other ways to make new categories just don't seem to work for me.
Offline
Hi All:
I have done a fair amount of work hacking the source to suit my needs. I started from scratch (no pun intended) and learned SmallTalk on the way. As I went, I documented everything I did as best I could here:
http://www.richardgoyette.com/ItchBotsHardDesignDetails.html
http://www.richardgoyette.com/ItchBotsSoftMain.html
If you are interested in modifying Scratch, you might find something interesting there.
Rich goyette
Offline
Would a hide list block work like finding the ScratchListMorph to hide and then deleting the morph?
Offline