This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#76 2012-09-29 22:11:25

PencilFactory
Scratcher
Registered: 2011-11-11
Posts: 100+

Re: Developing BLOCK files.

dreamod wrote:

PencilFactory wrote:

control
spec:

(‘Press green flag’ #- #PressGreenFlag)

code:

pressGreenFlag
    self broadcast: 'Scratch-StartClicked' withArgument: 0

how 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)


PencilFactory is http://blocks.scratchr.org/API.php?user=PencilFactory&action=onlineStatus&type=text, see my computerhttp://mag.racked.eu/cimage/i9002/Achievement+get%21/Computer+crashed/mca.png

Offline

 

#77 2012-09-29 22:23:10

PencilFactory
Scratcher
Registered: 2011-11-11
Posts: 100+

Re: Developing BLOCK files.

'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)


PencilFactory is http://blocks.scratchr.org/API.php?user=PencilFactory&action=onlineStatus&type=text, see my computerhttp://mag.racked.eu/cimage/i9002/Achievement+get%21/Computer+crashed/mca.png

Offline

 

#78 2012-09-29 22:25:38

PencilFactory
Scratcher
Registered: 2011-11-11
Posts: 100+

Re: Developing BLOCK files.

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)


PencilFactory is http://blocks.scratchr.org/API.php?user=PencilFactory&action=onlineStatus&type=text, see my computerhttp://mag.racked.eu/cimage/i9002/Achievement+get%21/Computer+crashed/mca.png

Offline

 

#79 2012-09-30 05:10:34

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Developing BLOCK files.

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

 

#80 2012-10-07 22:08:00

PencilFactory
Scratcher
Registered: 2011-11-11
Posts: 100+

Re: Developing BLOCK files.

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


PencilFactory is http://blocks.scratchr.org/API.php?user=PencilFactory&action=onlineStatus&type=text, see my computerhttp://mag.racked.eu/cimage/i9002/Achievement+get%21/Computer+crashed/mca.png

Offline

 

#81 2012-10-08 10:20:55

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Developing BLOCK files.

PencilFactory wrote:

dreamod wrote:

PencilFactory wrote:

pressFlag.block code:

Do you like the block importer?

yes, but it’s buggy

yeah, I know, I'm thinking of remaking it.

Offline

 

#82 2012-10-21 18:03:03

machinespray
Scratcher
Registered: 2012-05-09
Posts: 93

Re: Developing BLOCK files.

How can I help?

Last edited by machinespray (2012-10-21 18:03:16)


I am made a mod for Scratch. If you have any ideas for the mod please post it on this forum page.http://scratch.mit.edu/forums/viewtopic.php?id=108265http://internetometer.com/image/38591.png
I am http://blocks.scratchr.org/API.php?action=onlineStatus&type=text&user=machinespray

Offline

 

#83 2012-10-22 11:38:21

Edwardscrach
Scratcher
Registered: 2012-07-14
Posts: 64

Re: Developing BLOCK files.

witch way do you put it? like is it name it the blokspeks and put the code in?
please will someone tell me


http://mag.racked.eu/mcimage/i6000/Achievement+got%21/edwardscrach+is+cool%21%21%21/mca.pnghttp://mag.racked.eu/mcimage/i46/Achievement+got%21/This+text+is+random.../mca.pnghttp://mag.racked.eu/mcimage/i6001/Achievement+got%21/Zombies%21%21%21/mca.pnghttp://mag.racked.eu/mcimage/i94/Achievement+got%21/I+love+Minecraft%21/mca.png

Offline

 

#84 2012-10-22 13:10:01

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: Developing BLOCK files.

how do I make .block files ?


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#85 2012-10-23 08:32:19

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: Developing BLOCK files.

dvd4 wrote:

how do I make .block files ?


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#86 2012-10-23 09:56:53

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: Developing BLOCK files.

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.


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#87 2012-10-24 21:13:15

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: Developing BLOCK files.

dvd4 wrote:

how do I make .block files ?


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#88 2012-10-24 22:09:31

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Developing BLOCK files.

dvd4 wrote:

dvd4 wrote:

how do I make .block files ?

Documentation on this thread.

See dreamod's first project for the code.

Offline

 

#89 2013-01-22 11:22:58

RalphDavid4
Scratcher
Registered: 2012-06-09
Posts: 86

Re: Developing BLOCK files.

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


http://mag.racked.eu/cimage/i327/Achievement+get%21/Drink+a+Lava/mca.png
http://mag.racked.eu/cimage/i264/Achievement+get%21/Boombay+na+may+Diamonds/mca.png

Offline

 

Board footer