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
ok never mind, it works. it might have been just some stupid error.
Offline
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!
Offline
TheSuccessor wrote:
LS97 wrote:
Joeman592 wrote:
please?PLEASE TOO!
nXIII, you're the best one in squeakI'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.
Offline
nXIII, can I join Panther please?
Offline
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 )y
Offline
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 )y [/blocks]
What are you trying to do? I don't understand
Offline
markyparky56 wrote:
What are you trying to do? I don't understand
Basically when you use the <glide( )secs to x )y 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
Offline
RUMCHEERYPOOPOO wrote:
markyparky56 wrote:
What are you trying to do? I don't understand
Basically when you use the <glide( )secs to x )y 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 (( <x position> <+> )) )y (( <y position> <+> ))
Last edited by Billybob-Mario (2010-05-26 17:13:49)
Offline
oh yeah I'm so stupid sometimes
Offline
lol i was about to suggest that too
Offline
If on edge, teleport 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
Offline
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!
Hello? Anybody?
Offline
I really need the link to block!!! Cause I wanna do annotations on scratch!
Offline
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
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
Offline
Solarbuddy wrote:
I really need the link to block!!! Cause I wanna do annotations on scratch!
it should be somewhere on page 5, i think.
Offline
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!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
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