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

#26 2010-07-15 16:24:10

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Add Your Block Code Here!

lol


You can now reach me on Twitter @johnnydean1_

Offline

 

#27 2010-07-15 16:26:02

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Add Your Block Code Here!

gryffn wrote:

distructo wrote:

i know!
its a [blocks]<(saying [)>[/blocks] block!
code:('saying %w' report if saying anything
but im warning you, it might not work

it works partly when you put it in this way  ('saying %w' #report #if #saying #anything)

  hmm

Uh... Putting # before every word doesn't do anything...


http://i46.tinypic.com/dw7zft.png

Offline

 

#28 2010-07-15 17:52:01

gryffn
Scratcher
Registered: 2009-07-20
Posts: 7

Re: Add Your Block Code Here!

SeptimusHeap wrote:

gryffn wrote:

distructo wrote:

i know!
its a [blocks]<(saying [)>[/blocks] block!
code:('saying %w' report if saying anything
but im warning you, it might not work

it works partly when you put it in this way  ('saying %w' #report #if #saying #anything)

  hmm

Uh... Putting # before every word doesn't do anything...

ok then ill fix it

Offline

 

#29 2010-07-15 18:58:40

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Add Your Block Code Here!

nXIII wrote:

abootflock wrote:

I'll Make a version of scratch with all of these.

*AHEM* that's not a very original idea, is it now?

yeah really, that's what 90% of all mods are.


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#30 2010-07-15 20:34:42

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Add Your Block Code Here!

abootflock wrote:

I'll Make a version of scratch with all of these.

That's a really bold statement. Doing that isn't suggested at all, in fact, people will yell at you if you do. When you make a mod, you're supposed to come up with your own blocks. You can use some other blocks if you really don't know how to make them, but GIVE CREDIT! That's really important.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#31 2011-03-27 17:44:32

shrucis1
Scratcher
Registered: 2010-08-06
Posts: 4

Re: Add Your Block Code Here!

do any of these actually work without errors?

Offline

 

#32 2011-03-27 18:59:16

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Add Your Block Code Here!

I think the most important thing with releasing a modified version of Scratch is that you bring the community something new. An idea or style no other mod has thought of yet, otherwise no one will be particularly interested in it. Credit is very important, it's important to work hard on a modification but don't claim others' hard work as your own  smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#33 2011-08-18 16:22:40

tpaley
Scratcher
Registered: 2011-05-22
Posts: 100+

Re: Add Your Block Code Here!

<{ how do you make the code for custom blocks}>


http://i49.tinypic.com/2z82h3d.gif

Offline

 

#34 2011-12-24 10:51:42

cristalcat
New Scratcher
Registered: 2011-12-24
Posts: 1

Re: Add Your Block Code Here!

:cool<move(  )steps><move(  )steps><move(  )steps><move(  )steps><move(  )steps><move(  )steps>

Offline

 

#35 2011-12-24 11:07:45

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: Add Your Block Code Here!


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#36 2011-12-25 21:28:11

samtwheels
Scratcher
Registered: 2011-03-20
Posts: 1000+

Re: Add Your Block Code Here!

this already exists. its called the block library.

Offline

 

#37 2011-12-26 06:53:34

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Add Your Block Code Here!

This got pulled up again after 4 months of inactivity? Please avoid necroposting unless you have something to contribute, guys  smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#38 2012-03-10 15:37:30

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

Re: Add Your Block Code Here!

block specs:
            ('%s as boolean'                    b    booleen: 'true’)
other ops:
booleen: t1
    | t2 |
    t2 _ t1 asString.
    (t2 = '0'
        or: [t2 = '' or: [t2 = 'false']])
        ifTrue: [^ false].
    ^ true

<[] as boolean>

Last edited by PencilFactory (2012-03-10 15:41:33)


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

Offline

 

#39 2012-03-10 16:55:27

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: Add Your Block Code Here!

sparks wrote:

This got pulled up again after 4 months of inactivity? Please avoid necroposting unless you have something to contribute, guys  smile

And again > sad


http://i.imgur.com/zeIZW.png

Offline

 

#40 2013-01-12 22:31:47

WIlliam7777
Scratcher
Registered: 2012-07-21
Posts: 41

Re: Add Your Block Code Here!

block spec:('set color of %v to %c)

variables method:

Code:

setColorOfVar: t1 to: t2 
    | t4 t5 t6 t7 |
    t6 _ self ownerThatIsA: ScratchFrameMorph.
    t6
        ifNil: 
            [(t5 _ self ownerThatIsA: OffscreenWorldMorph) ifNil: [^ self].
            t6 _ t5 frame].
    (self varNames includes: t1)
        ifFalse: 
            [t7 _ t6 workPane.
            (t7 varNames includes: t1)
                ifTrue: [^ t7 setColorOfVar: t1 to: t2]].
    t4 _ VariableBlockMorph new commandSpec: t1;
             receiver: self blockReceiver.
    t5 _ t6 watcherForBlock: t4.
    t5 ifNotNil: [t5 setCategoryColor: t2]

Last edited by WIlliam7777 (2013-01-12 22:32:25)

Offline

 

Board footer