ok, you know how when u right click on a block, and hit help and a menu pops up. how do i do that with blockspecs?
i tried the scratch skin folder. and nothing works. my block specs are
pi^2, e^pi, e^2, e, pi, [shuffle][thing], letter () of alphabet, quit, report error, pause, go to url [] prefix included? <>, if touching sprite [|], bounce, change stretch by (), set stretch to (), stretch amount, pen size, and pen shade.
.
Last edited by poemon1 (2011-07-26 21:01:58)
Offline
poemon1 wrote:
ok, you know how when u right click on a block, and hit help and a menu pops up. how do i do that with blockspecs?
i tried the scratch skin folder. and nothing works. my block specs areCode:
pi^2, e^pi, e^2, e, pi, [shuffle][thing], letter () of alphabet, quit, report error, pause, go to url [] prefix included? <>, if touching sprite [|], bounce, change stretch by (), set stretch to (), stretch amount, pen size, and pen shade..
DOES ANYONE HAVE A REPLY TO THIS!?!?!?!?
please reply
Offline
Baderous wrote:
I don't understand what you want to do, please provide a clearer explanation.
ok, you know when u have a block and right click it and click help? i made some blocks and i want to know how to get a help menu on the blocks i made
Offline
If you mean a BYOB they don't have help since they didn't exist before you made them...Only normal Scratch blocks have help.
Last edited by LordSydney (2011-07-18 19:54:45)
Offline
Take a look at BlockMorph>>presentHelpScreen. It calls ScratchFrameMorph>>presentHelpScreen: passing a string as the argument that is the name of the image file under Scratch/Help/en (or folder for other language, if it exists) that contains the help for the block. In short, the help is an image that you have to load from that folder, so you will have to create an help image somehow, add it to that folder, and then add some code in the helpScreenName of the type of block you're creating in order to create a match for your filename.
Offline
Baderous wrote:
Take a look at BlockMorph>>presentHelpScreen. It calls ScratchFrameMorph>>presentHelpScreen: passing a string as the argument that is the name of the image file under Scratch/Help/en (or folder for other language, if it exists) that contains the help for the block. In short, the help is an image that you have to load from that folder, so you will have to create an help image somehow, add it to that folder, and then add some code in the helpScreenName of the type of block you're creating in order to create a match for your filename.
sorry late reply... THXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... many more "thx" later ps why do i always reply VERY late?
Offline