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

#1 2011-06-17 21:49:41

pokemongardevoir
Scratcher
Registered: 2009-10-18
Posts: 1000+

Serious Need of help!

Yeah... i suck at custom blocks but i really want a block that can link to a website.
Any way to help me?


http://i48.tinypic.com/n50dt.gifhttp://tiny.cc/oj6plwhttp://tiny.cc/creepforum
My website has been approved by the Scratch Team.  (^_^)

Offline

 

#2 2011-06-17 23:00:39

TheBajeebas
Scratcher
Registered: 2010-04-26
Posts: 1000+

Re: Serious Need of help!

no clue, sorry

Last edited by TheBajeebas (2011-06-18 10:49:55)


http://i.imgur.com/jOkeD.jpg

Offline

 

#3 2011-06-18 05:28:33

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Serious Need of help!

Look in the Block Library!


/* No comment */

Offline

 

#4 2011-06-18 09:25:50

pokemongardevoir
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Serious Need of help!

TheSuccessor wrote:

Look in the Block Library!

I tried, but i cant figure out how to add the code.


http://i48.tinypic.com/n50dt.gifhttp://tiny.cc/oj6plwhttp://tiny.cc/creepforum
My website has been approved by the Scratch Team.  (^_^)

Offline

 

#5 2011-06-18 10:01:52

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: Serious Need of help!

pokemongardevoir wrote:

TheSuccessor wrote:

Look in the Block Library!

I tried, but i cant figure out how to add the code.

code goes in scratch-Objects->scratchSpriteMorph->(instance)sensing ops.

blockspecs go in scratch-Objects->scratchSpriteMorph->(class)blockSpecs->blockspecs

hope that helped!


the the the the the

Offline

 

#6 2011-06-18 11:17:15

pokemongardevoir
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Serious Need of help!

jslomba wrote:

pokemongardevoir wrote:

TheSuccessor wrote:

Look in the Block Library!

I tried, but i cant figure out how to add the code.

code goes in scratch-Objects->scratchSpriteMorph->(instance)sensing ops.

blockspecs go in scratch-Objects->scratchSpriteMorph->(class)blockSpecs->blockspecs

hope that helped!

The thing is, when i go to scratchobjects-Scriptablescratchmorph, i don't have blockspecs!


http://i48.tinypic.com/n50dt.gifhttp://tiny.cc/oj6plwhttp://tiny.cc/creepforum
My website has been approved by the Scratch Team.  (^_^)

Offline

 

#7 2011-06-18 11:30:56

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: Serious Need of help!

pokemongardevoir wrote:

jslomba wrote:

pokemongardevoir wrote:

I tried, but i cant figure out how to add the code.

code goes in scratch-Objects->scratchSpriteMorph->(instance)sensing ops.

blockspecs go in scratch-Objects->scratchSpriteMorph->(class)blockSpecs->blockspecs

hope that helped!

The thing is, when i go to scratchobjects-Scriptablescratchmorph, i don't have blockspecs!

oh, you must be using a older version of scratch. got to scratchobjects->Scriptablescratchmorph->Scratch->blockSpecs

if that isn't the case, make sure you click the button that says 'class' when you're there, and for code, click 'instance'

Last edited by jslomba (2011-06-18 11:32:34)


the the the the the

Offline

 

#8 2011-06-18 12:30:38

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Serious Need of help!

pokemongardevoir wrote:

TheSuccessor wrote:

Look in the Block Library!

I tried, but i cant figure out how to add the code.

Open scratch>>Hack it>>open browser>>scratch objects>>scriptable-scratch-morph>>class>>block specs>>block specs. Now type (block spec) under the category name you would like the block to be displayed in>>right-click>>accept (if the edges of the browser are red after clicking accept, it means there's something wrong with the blockspec or code). Now close/minimise the browser and go to the category you inserted the block spec into, and the block should be there! Now open/maximise the browser>>scratch-objects>>scriptable-scratch-morph>>(category)-ops and type in (block code).

(block spec) =

('open a browser with url %s' #- #openWebBrowserOn: 'http://')

(block code) =

openWebBrowserOn: t1
     Cursor wait showWhile: [ScratchPlugin primOpenURL: t1]

Last edited by WindowsExplorer (2011-06-18 12:36:24)


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#9 2011-06-18 12:34:37

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Serious Need of help!

Hope this helped you!


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#10 2011-06-18 16:50:04

pokemongardevoir
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Serious Need of help!

jslomba wrote:

pokemongardevoir wrote:

jslomba wrote:


code goes in scratch-Objects->scratchSpriteMorph->(instance)sensing ops.

blockspecs go in scratch-Objects->scratchSpriteMorph->(class)blockSpecs->blockspecs

hope that helped!

The thing is, when i go to scratchobjects-Scriptablescratchmorph, i don't have blockspecs!

oh, you must be using a older version of scratch. got to scratchobjects->Scriptablescratchmorph->Scratch->blockSpecs

if that isn't the case, make sure you click the button that says 'class' when you're there, and for code, click 'instance'

Dont have scratchobjects->Scriptablescratchmorph->Scratch either!


http://i48.tinypic.com/n50dt.gifhttp://tiny.cc/oj6plwhttp://tiny.cc/creepforum
My website has been approved by the Scratch Team.  (^_^)

Offline

 

#11 2011-06-18 17:09:01

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Serious Need of help!

pokemongardevoir wrote:

jslomba wrote:

pokemongardevoir wrote:


The thing is, when i go to scratchobjects-Scriptablescratchmorph, i don't have blockspecs!

oh, you must be using a older version of scratch. got to scratchobjects->Scriptablescratchmorph->Scratch->blockSpecs

if that isn't the case, make sure you click the button that says 'class' when you're there, and for code, click 'instance'

Dont have scratchobjects->Scriptablescratchmorph->Scratch either!

Post a picture of what you do have, that might help them,


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#12 2011-06-19 03:34:52

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Serious Need of help!

pokemongardevoir wrote:

jslomba wrote:

pokemongardevoir wrote:


The thing is, when i go to scratchobjects-Scriptablescratchmorph, i don't have blockspecs!

oh, you must be using a older version of scratch. got to scratchobjects->Scriptablescratchmorph->Scratch->blockSpecs

if that isn't the case, make sure you click the button that says 'class' when you're there, and for code, click 'instance'

Dont have scratchobjects->Scriptablescratchmorph->Scratch either!

Go to Scratch-Objects>>ScriptableScratchMorph>>CLICK CLASS UNDER SCRIPTABLESCRATCHMORPH>>block specs>> block specs


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#13 2011-06-19 05:51:31

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Serious Need of help!

Don't forget to click the 'class' button under the second section!


/* No comment */

Offline

 

Board footer