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

#476 2010-05-29 15:30:00

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

Re: Cool custom blocks in Scratch

Joeman592 wrote:

ok. i downloaded the skin, and i know what to do. but how do i edit the -, -Over, and -Pressed pics so i can m ake a new catatgory? it wont work!

first rename them, then use some program to re-colour them, then go to rebuildCategorySelectors and add that category's name. note: you HAVE TO BE USING THE SCRATCH SOURCE CODE!!!

Offline

 

#477 2010-05-29 15:52:47

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

Re: Cool custom blocks in Scratch

colors turn into black and grey when i edit them. PLEASE TELL ME HOW!!!


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

Offline

 

#478 2010-05-29 17:38:48

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: Cool custom blocks in Scratch

nXIII wrote:

waveOSBeta wrote:

@climber59

THAT WAS MY IDEA!  tongue

Well I could just delete the 'fillScreenOff' method in the public release version!  tongue

preferences
enableProgrammerFacilities

lol


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#479 2010-05-29 19:03:20

climber59
Scratcher
Registered: 2009-12-15
Posts: 100+

Re: Cool custom blocks in Scratch

To get in the source code you only have to right-click a block and choose edit code.


Check out my projects if you have a chance.

Offline

 

#480 2010-05-29 19:09:34

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

Re: Cool custom blocks in Scratch

can someone PLEASE make me the -, -Over, and -Pressed catagory pictures in the color of black? i'm getting frustrated and nothing will work.

Last edited by Joeman592 (2010-05-30 00:28:43)


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

Offline

 

#481 2010-05-30 06:10:08

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

Re: Cool custom blocks in Scratch

can i have some help for how to add an inserter in the block spec like %s or %k buta new one please?

Offline

 

#482 2010-05-30 07:02:54

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

Re: Cool custom blocks in Scratch

LS97 wrote:

can i have some help for how to add an inserter in the block spec like %s or %k buta new one please?

I only know how to get the drop-down menu, but I can't get it to do anything. So it's useless...


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

Offline

 

#483 2010-05-30 07:30:17

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

Re: Cool custom blocks in Scratch

henley wrote:

LS97 wrote:

can i have some help for how to add an inserter in the block spec like %s or %k buta new one please?

I only know how to get the drop-down menu, but I can't get it to do anything. So it's useless...

That's better than nothing, can you post it please?


/* No comment */

Offline

 

#484 2010-05-30 08:11:50

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

Re: Cool custom blocks in Scratch

LS97 wrote:

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

Life sucks for me then (quite an accurate observation).  smile


/* No comment */

Offline

 

#485 2010-05-30 08:25:25

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

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

Does anybody know how to do permanent marker pen blocks?
(permanent marker is unaffected by
[blocks]<clear>[/blocks]
)

LS97 says ask MathWizz or nXIII. Any of you two (or indeed anyone) know?


/* No comment */

Offline

 

#486 2010-05-30 08:35:47

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

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

TheSuccessor wrote:

Does anybody know how to do permanent marker pen blocks?
(permanent marker is unaffected by
[blocks]<clear>[/blocks]
)

LS97 says ask MathWizz or nXIII. Any of you two (or indeed anyone) know?

Well, here's some code to do what you want:


When C Key Pressed
clear
broadcast something

When Green Flag Clicked
forever if tool = marker
if mouse down
add down to up/down
else
add up to up/down
(end if)
add mouse x to xs
add mouse y to ys
(end forever)


When I recieve something
set num to 0
repeat length of ys
change num by 1
go to item num of xs, item num of ys
if item num of up/down = down then
pen down
else
pen up
(end if)


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

Offline

 

#487 2010-05-30 10:17:00

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

Re: Cool custom blocks in Scratch

PLEASE can ANYONE make me black/grey catagory pictures because i cannot make them myself. PLEASE PLEASE PLEASE im so frustrated that everything turns 1 SHADE ONLY of black/grey and i want it to look good so PLEASE!!!!!!!


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

Offline

 

#488 2010-05-30 12:05:15

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

Re: Cool custom blocks in Scratch

waveOSBeta wrote:

nXIII wrote:

waveOSBeta wrote:

@climber59

THAT WAS MY IDEA!  tongue

Well I could just delete the 'fillScreenOff' method in the public release version!  tongue

preferences
enableProgrammerFacilities

lol

Er... yes, but you can't open the world menu if fillScreen is off and I *accidentally* misplaced the collapse method... (just kidding, Panther has a separate source image with a dev menu, which is distributed with the other image and no one seems to notice)


nXIII

Offline

 

#489 2010-05-30 12:34:48

climber59
Scratcher
Registered: 2009-12-15
Posts: 100+

Re: Cool custom blocks in Scratch

Is there a way, with custom blocks, to define the filepath of a picture in the script and load it as a costume?


Check out my projects if you have a chance.

Offline

 

#490 2010-05-30 12:58:00

rossyboyfilm
Scratcher
Registered: 2010-02-11
Posts: 87

Re: Cool custom blocks in Scratch

:p


http://i46.tinypic.com/2128hvq.png

Offline

 

#491 2010-05-30 14:11:31

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

Re: Cool custom blocks in Scratch

climber59 wrote:

Is there a way, with custom blocks, to define the filepath of a picture in the script and load it as a costume?

yes there is. it's a tiny bit more complicated though. in fact, the dialog to choose the pic to import is just to report the path, then it takes care of the rest once it retrieved the selected path. but i'm too busy with bingo right now, so ask nXIII...

Offline

 

#492 2010-05-31 05:29:49

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

Re: Cool custom blocks in Scratch

SeptimusHeap wrote:

TheSuccessor wrote:

TheSuccessor wrote:

Does anybody know how to do permanent marker pen blocks?
(permanent marker is unaffected by
[blocks]<clear>[/blocks]
)

LS97 says ask MathWizz or nXIII. Any of you two (or indeed anyone) know?

Well, here's some code to do what you want:


When C Key Pressed
clear
broadcast something

When Green Flag Clicked
forever if tool = marker
if mouse down
add down to up/down
else
add up to up/down
(end if)
add mouse x to xs
add mouse y to ys
(end forever)


When I recieve something
set num to 0
repeat length of ys
change num by 1
go to item num of xs, item num of ys
if item num of up/down = down then
pen down
else
pen up
(end if)

That does work, I've used that before, but unless your computer is unbelieveably fast it produces annoying flashes of pen as it is cleared and redrawn. In some circumstances it can also be inefficient. But since it works, I'll stick with it for the meantime.


/* No comment */

Offline

 

#493 2010-05-31 05:33:08

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

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

Does anybody want to help me out in making my own version of scratch? At the moment it's a bit of a one man and his laptop thing, so I would appreciate some people joining. It's called xCubed and I would like to be able to release 1.0 by the end of June.

Anyone?


/* No comment */

Offline

 

#494 2010-05-31 05:42:40

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

Re: Cool custom blocks in Scratch

What blocks do you want in it?


You can now reach me on Twitter @johnnydean1_

Offline

 

#495 2010-05-31 05:49:57

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

Re: Cool custom blocks in Scratch

R E Q U E S T
I am making a request for a
   ____    _________________________
   |   |__|                                     |
   |Set Pen colour to |Transparent||
   ¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


You could also call it:

   ____    _________________________
   |   |__|                                     |
   |Set Pen colour to |Eraser|         |
   ¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


Or
   ____    _________________________
   |   |__|                                     |
   |Eraser Down                             |
   ¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


PLEASE WE NEED THIS BLOCK!!!


You can now reach me on Twitter @johnnydean1_

Offline

 

#496 2010-05-31 06:40:26

redboon1
Scratcher
Registered: 2010-05-07
Posts: 2

Re: Cool custom blocks in Scratch

what does the  ascii of __ block do?

Offline

 

#497 2010-05-31 07:58:56

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

Re: Cool custom blocks in Scratch

johnnydean1 wrote:

What blocks do you want in it?

Anything at all. I've already made quite a few but...


/* No comment */

Offline

 

#498 2010-05-31 08:44:17

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

Re: Cool custom blocks in Scratch

If You Add More Stuff To The (get [date]) Block Then You Could Put Little Easter Eggs In Your Mod (Hint, Hint.)

Last edited by TheGameMaster1231 (2010-05-31 08:45:04)

Offline

 

#499 2010-05-31 08:52:08

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

Re: Cool custom blocks in Scratch

@TheSuccessor
Want the
(Get |TYPE HERE| from Mesh)
block


You can now reach me on Twitter @johnnydean1_

Offline

 

#500 2010-05-31 10:04:44

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

Re: Cool custom blocks in Scratch

johnnydean1 wrote:

@TheSuccessor
Want the
(Get |TYPE HERE| from Mesh)
block

If you know how, and don't mind sharing it, that would be great.  smile


/* No comment */

Offline

 

Board footer