The Custom Blocks Don't Work!!!
Offline
HockeyPlayerJon wrote:
The Custom Blocks Don't Work!!!
http://scratch.mit.edu/forums/post.php?tid=34152&qid=410291
Uh, the majority of them do.
Some of them don't though........
Offline
TheSuccessor wrote:
Jahava wrote:
Can these custom blocks be uploaded in projects?
Also, can you show me how to create the (sprite name) block?(sprite name) block:
Add this to Scratch-Objects > ScratchSpriteMorph (click 'class' at this point) > BlockSpecs > BlockSpecs:Code:
('sprite name' #r #spriteName)Click 'instance' then sensing ops > hideQuestion.
Replace hideQuestion with spriteName and self with objName.
Right-click and click 'accept'.
also, there is ('sprite name' #r #objName)
Offline
Joeman592 wrote:
can anyone please make me black catagory pics(x, xover, xpressed)? if not can you tell me how to make them?
Why can't you make them yourself?
Offline
How do you create a custom event handler (script starter)?
Offline
pointColor: t1 World activeHand showTemporaryCursor: ((Form extent: 5 @ 5 depth: 32) fillColor: t1)
Put this in a custom block spec with a color picker in it. You'll see it works, but when you use it in full screen (but not in normal) and click it makes nasty grey squares come up on the stage. Can anybody fix it?
Last edited by TheSuccessor (2010-06-05 15:55:21)
Offline
TheSuccessor wrote:
Code:
pointColor: t1 World activeHand showTemporaryCursor: ((Form extent: 5 @ 5 depth: 32) fillColor: t1)Put this in a custom block spec with a color picker in it. You'll see it works, but when you use it in full screen (but not in normal) and click it makes nasty grey squares come up on the stage. Can anybody fix it?
Yes, the presenter detects damage done and limits redrawing to that area, the cursor may be messing that up; I also find that temporary cursors are deleted when clicking a ScratchPresenterMorph.
Offline
nXIII wrote:
TheSuccessor wrote:
Code:
pointColor: t1 World activeHand showTemporaryCursor: ((Form extent: 5 @ 5 depth: 32) fillColor: t1)Put this in a custom block spec with a color picker in it. You'll see it works, but when you use it in full screen (but not in normal) and click it makes nasty grey squares come up on the stage. Can anybody fix it?
Yes, the presenter detects damage done and limits redrawing to that area, the cursor may be messing that up; I also find that temporary cursors are deleted when clicking a ScratchPresenterMorph.
what is this supposed to do
______________________________
type in [color=(put name lof color here(example: blue red green gold lime orange brown))]type text here[/color] and you'll have your color writing!
Offline
Joeman592 wrote:
nXIII wrote:
TheSuccessor wrote:
Code:
pointColor: t1 World activeHand showTemporaryCursor: ((Form extent: 5 @ 5 depth: 32) fillColor: t1)Put this in a custom block spec with a color picker in it. You'll see it works, but when you use it in full screen (but not in normal) and click it makes nasty grey squares come up on the stage. Can anybody fix it?
Yes, the presenter detects damage done and limits redrawing to that area, the cursor may be messing that up; I also find that temporary cursors are deleted when clicking a ScratchPresenterMorph.
what is this supposed to do
make the cursor turn into a [insert color here] 5x5 square.
Offline
Anyone know if it's possible to convert a project made with a mod of Scratch into a .exe and have the mod's extra blocks work? (and if so, how?) I haven't tried, but I assume Jens' Scratch2Exe doesn't work on projects made with mods?
Offline
Zorbak42 wrote:
Anyone know if it's possible to convert a project made with a mod of Scratch into a .exe and have the mod's extra blocks work? (and if so, how?) I haven't tried, but I assume Jens' Scratch2Exe doesn't work on projects made with mods?
I actually think it might if it is a smalltalk compiler instead of a Scratch Compiler.
Offline
nXIII wrote:
Joeman592 wrote:
nXIII wrote:
Yes, the presenter detects damage done and limits redrawing to that area, the cursor may be messing that up; I also find that temporary cursors are deleted when clicking a ScratchPresenterMorph.what is this supposed to do
make the cursor turn into a [insert color here] 5x5 square.
cool
Offline
is there a way to take a screenshot picture?
Offline
TheSuccessor wrote:
How do you create a custom event handler (script starter)?
Tell me, pleeeaaassseee.
Offline
To get a custom title when you open the system browser, choose:
Tools-Browser > Browser > (class) > instance creation > openBrowser.
Then it should be obvious.
Last edited by TheSuccessor (2010-06-06 11:27:10)
Offline
Joeman592 wrote:
another catagory tutorial please. just tell me how to get the skin to go on my mod, then how to make a new catagory. please?
anyone?
please?
red blue green yellow orange purple lime brown grey silver gold white teal turquoise aqua pink chartreuse
Offline
Joeman592 wrote:
TheSuccessor wrote:
TheSuccessor wrote:
How do you create a custom event handler (script starter)?
Tell me, pleeeaaassseee.
well... try something that broadcasts Scratch-StartClicked
That's a green flag hack, but how can I do something new? Copy green flag smalltalk but change activation message?
Offline
How can you do the opposite of (ascii for []) i.e. (from ascii [])?
Offline
need a tutorial please. just need to know how to get my skin to hook up with my mod, then how to create a new catagory. Ive got everyting made. Please tell me
red blue green yellow orange purple lime brown grey silver gold white teal turquoise aqua pink chartreuse
Last edited by Joeman592 (2010-06-06 12:29:31)
Offline
nXIII wrote:
OK, fine, here is the entire tutorial:
[replace (something) with your category name throughout this entire tutorial]
1. Add (something).gif, (something)Over.gif, and (something)Pressed.gif to the ScratchSkin folder IN THE ROOT DIRECTORY (wherever the VM is).
2. In the VM, open a new workspace (World menu -> open... -> workspace) and typeScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: 'ScratchSkin')
(if this doesn't work your ScratchSkin directory isn't in the right place or isn't named ScratchSkin)
3. Go to ScratchViewerMorph's rebuildCategorySelectors method and add (something) to the end of the small array definition (which looks like this:)catList _ #(
motion control
looks sensing
sound operators
pen variables
(something)).Note: In order for the extent (size) of the category buttons to be correctly calculated, I have slightly modified the line that assigns to catButtonsExtent (the ugly arithmetic-looking one):
catButtonsExtent _ ((2 * maxExtent x) + (3 * pad)) @ ((((catList size / 2) rounded) * (maxExtent y + 6)) + 25).
How do i add a gif to it there is no option anywhere in that folder for that
Offline
TheSuccessor wrote:
How can you do the opposite of (ascii for []) i.e. (from ascii [])?
Important. xCubed 1.0.0 is nearly finished, and I want this block in it. Also, how do you publish your own version of Scratch?
Offline
nXIII wrote:
TheSuccessor wrote:
Code:
pointColor: t1 World activeHand showTemporaryCursor: ((Form extent: 5 @ 5 depth: 32) fillColor: t1)Put this in a custom block spec with a color picker in it. You'll see it works, but when you use it in full screen (but not in normal) and click it makes nasty grey squares come up on the stage. Can anybody fix it?
Yes, the presenter detects damage done and limits redrawing to that area, the cursor may be messing that up; I also find that temporary cursors are deleted when clicking a ScratchPresenterMorph.
I found it works if you give the stage this script:
when stage clicked
set pointer color to [ ].
How would you code this into the method?
Offline