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

#426 2010-05-25 14:04:34

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

nXIII wrote:

LS97 wrote:

Joeman592 wrote:

Just eplain how to get to the place where you make a catagory and what to do tere. PLEASE

well, i can get there fine and do all of the stuff nXIII says to do, but if i try to open a new scratch window it says key not found

then you didn't add the items to the ScratchSkin....

yes i did. i wrote the script you showed and did it. i mean, clicked do it

Offline

 

#427 2010-05-25 14:08:09

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

ok never mind, it works. it might have been just some stupid error.

Offline

 

#428 2010-05-25 19:00:42

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Cool custom blocks in Scratch

I Need Some Help, I Can't Figure Out How To Make The

<color [ color ] is touching [ sprites, edge, etc. ] ?>

It Reports If The Selected Color Is Touching A Sprite, The Edge, Or The Mouse Pointer.
If Anyone Knows How To Make It, Please Tell Me!  smile

Offline

 

#429 2010-05-25 19:01:39

Joeman592
Scratcher
Registered: 2010-01-23
Posts: 100+

Re: Cool custom blocks in Scratch

nXIII, could you PLEASE give a better catagory explanation?


http://i.imgur.com/HcAj1.png
http://i.imgur.com/gss7S.gifhttp://i.imgur.com/kbcKt.gifhttp://i.imgur.com/0LteM.gif

Offline

 

#430 2010-05-26 03:03:16

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Cool custom blocks in Scratch

how do you make a signature?


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#431 2010-05-26 06:40:56

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Cool custom blocks in Scratch

comp500 wrote:

how do you make a signature?

You have to read this.


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#432 2010-05-26 11:00:36

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Cool custom blocks in Scratch

henley wrote:

comp500 wrote:

how do you make a signature?

You have to read this.

Thanks


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#433 2010-05-26 14:42:46

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

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

LS97 wrote:

Joeman592 wrote:


please?

PLEASE TOO!
nXIII, you're the best one in squeak

I've been messing around with scratch and panther source code and I think you have to add some extra keys to the ScratchSkinXO dictionary with the names #(yournewcategory), #(yournewcategory)Over and #(yournewcategory)Pressed. These should have the value ColorForm(13x17x8). Get this by right clicking an existing block category, clicking copy name, right-click paste where you want it and right-click accept. Then you go into ScratchUIPanes, ScratchViewerMorph, initialization, rebuildCategorySelectors and add your blocks at the top. Set language to English, and your categories should be there. I presume you know how to add blocks to these. REMEMBER TO SAVE IMAGE FOR END USER!!!

(Works sometimes)

Sorry everybody who found this didn't work. My fault. Instead of ScratchSkinXO use ScratchSkin.


/* No comment */

Offline

 

#434 2010-05-26 15:04:24

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

Re: Cool custom blocks in Scratch

nXIII, can I join Panther please?


/* No comment */

Offline

 

#435 2010-05-26 15:19:55

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: Cool custom blocks in Scratch

how would you do a kind of <glide(  )secs to change x by:(  )y by:( ) thing so a combo of<change x by( ,<change y by( ,and<glide(  )secs to x sad   )y sad


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#436 2010-05-26 16:56:57

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

nXIII, can I join Panther please?

no.... sorrry, we're not accepting any more members. Didn't you ask Sparks?


nXIII

Offline

 

#437 2010-05-26 17:04:55

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

Re: Cool custom blocks in Scratch

RUMCHEERYPOOPOO wrote:

how would you do a kind of [blocks]<glide(  )secs to change x by:(  )y by:( )[/blocks] thing so a combo of[blocks]<change x by( ,<change y by( ,and<glide(  )secs to x sad   )y sad [/blocks]

What are you trying to do? I don't understand


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

 

#438 2010-05-26 17:09:56

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: Cool custom blocks in Scratch

markyparky56 wrote:

What are you trying to do? I don't understand

Basically when you use the <glide(  )secs to x sad   )y sad   block normally it does it as an absolute position on the stage. where as I want to do it relative t the the sprite like the<change x by( block


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#439 2010-05-26 17:13:18

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: Cool custom blocks in Scratch

RUMCHEERYPOOPOO wrote:

markyparky56 wrote:

What are you trying to do? I don't understand

Basically when you use the <glide(  )secs to x sad   )y sad   block normally it does it as an absolute position on the stage. where as I want to do it relative t the the sprite like the<change x by( block

Just do [blocks]<glide(   )secs to x sad  (( <x position> <+>   )) )y sad  (( <y position> <+>   ))

Last edited by Billybob-Mario (2010-05-26 17:13:49)

Offline

 

#440 2010-05-27 10:43:20

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: Cool custom blocks in Scratch

oh yeah  smile  I'm so stupid sometimes


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#441 2010-05-27 12:22:51

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

lol i was about to suggest that too  smile

Offline

 

#442 2010-05-27 14:02:31

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

Re: Cool custom blocks in Scratch

If on edge, teleport code:

Code:

| t1 t2 t3 t4 |
t3 _ self referencePosition x.
t4 _ self referencePosition y.
t3 abs = 240
  ifTrue:
    [t1 _ -1 * (t3 - (t3 / 240)).
    t2 _ t4]
  ifFalse:
    [t1 _ t3.
    t2 _ t4].
t4 abs = 180 ifTrue: [t2 _ -1 * (t4 - (t4 / 180))].
self referencePosition: t1 @ t2

/* No comment */

Offline

 

#443 2010-05-27 15:32:12

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Cool custom blocks in Scratch

TheGameMaster1231 wrote:

I Need Some Help, I Can't Figure Out How To Make The

<color [ color ] is touching [ sprites, edge, etc. ] ?>

It Reports If The Selected Color Is Touching A Sprite, The Edge, Or The Mouse Pointer.
If Anyone Knows How To Make It, Please Tell Me!  smile

Hello? Anybody?

Offline

 

#444 2010-05-27 15:34:54

Solarbuddy
Scratcher
Registered: 2009-04-14
Posts: 500+

Re: Cool custom blocks in Scratch

I really need the link to block!!! Cause I wanna do annotations on scratch!  smile


http://bit.ly/Vn3zid
                  View my latest project

Offline

 

#445 2010-05-27 21:10:32

Zorbak42
Scratcher
Registered: 2009-01-27
Posts: 100+

Re: Cool custom blocks in Scratch

LS97 wrote:

ok never mind, it works. it might have been just some stupid error.

How did you get it to work? I've been having the same problem.

Offline

 

#446 2010-05-27 23:12:09

Joeman592
Scratcher
Registered: 2010-01-23
Posts: 100+

Re: Cool custom blocks in Scratch

Catagory lesson PLEASE?????? ANYONE???????


http://i.imgur.com/HcAj1.png
http://i.imgur.com/gss7S.gifhttp://i.imgur.com/kbcKt.gifhttp://i.imgur.com/0LteM.gif

Offline

 

#447 2010-05-28 11:59:32

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

Zorbak42 wrote:

LS97 wrote:

ok never mind, it works. it might have been just some stupid error.

How did you get it to work? I've been having the same problem.

Joeman592 wrote:

Catagory lesson PLEASE?????? ANYONE???????

ok, one first thing, you have to be using the SOURCE CODE of scratch, NOT the normal scratch image. after that do what nXIII told you. that should solve the problem for most of you. if not:

download the ScratchSkin folder and place it in the ROOT FOLDER OF SCRATCH. normally this is c:\program files\scratch

then copy 3 images from one of the categories (i.e. looks, looksOver and looksPressed) and rename them to your new category X as X, XOver and XPressed (replace X with category).

then load the skin to the scratch image by pasting ths text into a workspace:

ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: 'ScratchSkin')

and running it by selecting it and right-clicking 'do it'.
then add your new category to RebuildCategorySelectors in Scracth-UI-Panes -> ViewerMorph.

if that didn't work, try checking if you mispelt something. if not, you might have not placed folders in the right place or havent loaded the skin correctly. otherwise, life sucks for you  tongue

Offline

 

#448 2010-05-28 12:00:33

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

Solarbuddy wrote:

I really need the link to block!!! Cause I wanna do annotations on scratch!  smile

it should be somewhere on page 5, i think.

Offline

 

#449 2010-05-28 12:07:46

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

TheGameMaster1231 wrote:

TheGameMaster1231 wrote:

I Need Some Help, I Can't Figure Out How To Make The

<color [ color ] is touching [ sprites, edge, etc. ] ?>

It Reports If The Selected Color Is Touching A Sprite, The Edge, Or The Mouse Pointer.
If Anyone Knows How To Make It, Please Tell Me!  smile

Hello? Anybody?

well, why would you even need that?
you can just add a forever loop to the concerned sprite like this:
[blocks]
<forever if><touching color[ x]>
<set{ colortouch }to( yes)>
<else>
<set{ colourtouch }to( no)>
<end>
[/blocks]
then make the other sprite say 'if colourtouch = yes' do this else do that

Offline

 

#450 2010-05-28 12:16:33

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

zorbak's sig wrote, well shouldn't really use the word wrote:

Think Scratch is 'missing' stuff? Try Zatch! zatchprogramminglanguage.webs.com

zatch is great, but i recognize a lot of blocks that i made and posted on this forum. if i am right, i would like credit for it.

Last edited by LS97 (2010-05-28 13:07:37)

Offline

 

Board footer