dreamod wrote:
PencilFactory wrote:
control
spec:(‘Press green flag’ #- #PressGreenFlag)
code:
pressGreenFlag
self broadcast: 'Scratch-StartClicked' withArgument: 0how do I make that into a block file?
try my block importer here http://www.mediafire.com/?bjdyg9wd965onla
it can help you create block files.
you go to Blocks and select 'create block'
It’s too bugy.
It just says error
Last edited by PencilFactory (2012-09-29 22:19:14)
Offline
'From MIT Squeak 0.9.4 (June 1, 2003) [No updates present.] on 28 April 2012 at 6:44:44 pm'!
!ScratchSpriteMorph methodsFor: 'motion'!
blocks
|var1|
place code here
! !
!CustomBlockSpecsDictionary class methodsFor: 'blocks'!
getNewestBlock
^ #('Sprites' 'control' ('name' #- #code))! !
templete
Last edited by PencilFactory (2012-09-29 22:23:22)
Offline
pressFlag.block code:
mr. squeak guy wrote:
'From MIT Squeak 0.9.4 (June 1, 2003) [No updates present.] on 28 April 2012 at 6:44:44 pm'!
!ScratchSpriteMorph methodsFor: 'motion'!
pressGreenFlag
self broadcast: 'Scratch-StartClicked' withArgument: 0
! !
!CustomBlockSpecsDictionary class methodsFor: 'blocks'!
getNewestBlock
^ #('Sprites' 'control' ('Press green flag' #- #PressGreenFlag))! !
Last edited by PencilFactory (2012-10-07 22:08:54)
Offline
PencilFactory wrote:
pressFlag.block code:
'From MIT Squeak 0.9.4 (June 1, 2003) [No updates present.] on 28 April 2012 at 6:44:44 pm'!
!ScratchSpriteMorph methodsFor: 'motion'!
pressGreenFlag
self broadcast: 'Scratch-StartClicked' withArgument: 0
! !
!CustomBlockSpecsDictionary class methodsFor: 'blocks'!
getNewestBlock
^ #('Sprites' 'control' ('Press green flag' #- #PressGreenFlag))! !
Do you like the block importer?
Offline
dreamod wrote:
PencilFactory wrote:
pressFlag.block code:
'From MIT Squeak 0.9.4 (June 1, 2003) [No updates present.] on 28 April 2012 at 6:44:44 pm'!
!ScratchSpriteMorph methodsFor: 'motion'!
pressGreenFlag
self broadcast: 'Scratch-StartClicked' withArgument: 0
! !
!CustomBlockSpecsDictionary class methodsFor: 'blocks'!
getNewestBlock
^ #('Sprites' 'control' ('Press green flag' #- #PressGreenFlag))! !Do you like the block importer?
yes, but it’s buggy
Offline
How can I help?
Last edited by machinespray (2012-10-21 18:03:16)
Offline
witch way do you put it? like is it name it the blokspeks and put the code in?
please will someone tell me
Offline
So how would I add a block file?
I have downloaded the "Import Block" addon, how do I use it? When I click on it, all it shows is the file screen, but I do not know where to get blocks from.
Offline
dvd4 wrote:
dvd4 wrote:
how do I make .block files ?
Documentation on this thread.
See dreamod's first project for the code.
Offline
Well, i don't know.
when gf clicked set [thinking v] to [i don't know] think [i think..... i do not know.] forever and ever end think [Scripts in your posts!] for (3) secs
Offline