I am making a mod (martiscript) and want to make a new block but I don't know were in the .image the blocks would go (I am using the system browser ) answers please!
Offline
If the block is for sprites only, the blockspec would go in Scratch-Objects >> ScratchSpriteMorph class >> block specs >> blockSpecs , and the code would go in Scratch-Objects >> ScratchSpriteMorph instance >> (category of your block) ops
If the block is for the stage only, the blockspec would go in Scratch-Objects >> ScratchStageMorph class >> block specs >> blockSpecs , and the code would go in Scratch-Objects >> ScratchStageMorph instance >> (category of your block) ops
If the block is for both sprites and the stage, the blockspec would go in Scratch-Objects >> ScriptableScratchMorph class >> block specs >> blockSpecs , and the code would go in Scratch-Objects >> ScriptableScratchMorph instance >> (category of your block) ops
Offline
Click here to find the answer Well basically most of the top search answers are right
Offline
ComputerProgrammer wrote:
If the block is for sprites only, the blockspec would go in Scratch-Objects >> ScratchSpriteMorph class >> block specs >> blockSpecs , and the code would go in Scratch-Objects >> ScratchSpriteMorph instance >> (category of your block) ops
If the block is for the stage only, the blockspec would go in Scratch-Objects >> ScratchStageMorph class >> block specs >> blockSpecs , and the code would go in Scratch-Objects >> ScratchStageMorph instance >> (category of your block) ops
If the block is for both sprites and the stage, the blockspec would go in Scratch-Objects >> ScriptableScratchMorph class >> block specs >> blockSpecs , and the code would go in Scratch-Objects >> ScriptableScratchMorph instance >> (category of your block) ops
Thank you!
Offline
Did that work for you?
Offline
transparent wrote:
Did that work for you?
no.
There is not a block specs folder in scriptablescratchmorph.
Offline
I have gave up.
It seems on Linux the .image is different...
Offline
I've never used it on the linux system, so I don't think I can help you.
Offline
"block specs" is a class method category; to navigate there you would click the class category "Scratch-Objects," the class "ScriptableScratchMorph," the class methods button, the category "block specs," and finally the method selector "blockSpecs." You can also search for a method selector by entering it in a text field, selecting it, right-clicking, and selecting "more…," then "selectors containing it (W)."
Last edited by nXIII (2012-10-08 13:20:52)
Offline
Martiscratch wrote:
transparent wrote:
Did that work for you?
no.
There is not a block specs folder in scriptablescratchmorph.
Press the class button right under the box with ScriptableScratchMorph
Offline