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

#501 2010-05-31 10:47:03

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

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

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?

meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!
I have created a few blocks on my own and would love to help.

Last edited by Joeman592 (2010-05-31 10:47:42)


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

Offline

 

#502 2010-05-31 10:48:49

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

Re: Cool custom blocks in Scratch

still can ANYONE please make a black/grey catagory picture for the x, xOver, and xPressed? Nothing i do will work


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

Offline

 

#503 2010-05-31 11:31:20

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

Re: Cool custom blocks in Scratch

johnnydean1 wrote:

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!!!

This does a transparent pen:

Code:

penToErasor

self penColor: Color transparent

However, other pen lines underneath this can be seen straight through it, so it's pointless. It will work if somebody can get all the pen on a single layer.


/* No comment */

Offline

 

#504 2010-05-31 11:35:01

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

Re: Cool custom blocks in Scratch

Joeman592 wrote:

TheSuccessor wrote:

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?

meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!
I have created a few blocks on my own and would love to help.

Thankyou! Great! I'll have something set up where people who want to join can enter their details and upload various blocks. Watch this thread.  smile   smile   smile   smile


/* No comment */

Offline

 

#505 2010-05-31 11:45:23

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

Re: Cool custom blocks in Scratch

johnnydean1 wrote:

R E Q U E S T
I am making a request for a
   ____    _________________________
   |   |__|                                     |
   |Eraser Down                             |
   ¯¯¯|__|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

PLEASE WE NEED THIS BLOCK!!!

ok, i can start working on it... but don't expect me to share it before i release Bingo. btw, i'm not going to be like panther devs, i'll release a source code with (maybe) detailed explanations on the new features.

oh, and, Bingo's looking great btw!

Offline

 

#506 2010-05-31 11:46:06

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

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

johnnydean1 wrote:

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!!!

This does a transparent pen:

Code:

penToErasor

self penColor: Color transparent

However, other pen lines underneath this can be seen straight through it, so it's pointless. It will work if somebody can get all the pen on a single layer.

No, you need to do some pretty hefty modifying of the updatePenTrailsFor: method.


nXIII

Offline

 

#507 2010-05-31 11:49:04

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

Re: Cool custom blocks in Scratch

Where the updatePenTrailsFor: found?


You can now reach me on Twitter @johnnydean1_

Offline

 

#508 2010-05-31 12:00:45

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

Re: Cool custom blocks in Scratch

johnnydean1 wrote:

Where the updatePenTrailsFor: found?

i'm guessing it's a method in scratchspritemorph

Offline

 

#509 2010-05-31 12:46:18

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

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

Joeman592 wrote:

TheSuccessor wrote:

Anyone?

meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!
I have created a few blocks on my own and would love to help.

Thankyou! Great! I'll have something set up where people who want to join can enter their details and upload various blocks. Watch this thread.  smile   smile   smile   smile

k i will  smile   big_smile . will you do the sign up and block things on a website? if you do, tell me the link please

Last edited by Joeman592 (2010-05-31 13:00:37)


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

Offline

 

#510 2010-05-31 13:32:45

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

Re: Cool custom blocks in Scratch

I can help. I can do a few blocks


You can now reach me on Twitter @johnnydean1_

Offline

 

#511 2010-05-31 13:37:32

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

Re: Cool custom blocks in Scratch

johnnydean1 wrote:

I can help. I can do a few blocks

Great!  smile   smile   smile   smile


/* No comment */

Offline

 

#512 2010-05-31 14:05:43

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

Re: Cool custom blocks in Scratch

what would a glow graphic effect work?


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

Offline

 

#513 2010-05-31 14:49:44

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

Re: Cool custom blocks in Scratch

How do you get blocks in the variables section that are visible even when no variables have been created?


/* No comment */

Offline

 

#514 2010-05-31 14:58:21

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

Re: Cool custom blocks in Scratch

Edit the source


You can now reach me on Twitter @johnnydean1_

Offline

 

#515 2010-05-31 15:46:17

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

Re: Cool custom blocks in Scratch

Anybody wanting to get involved in xCubed (my own version of Scratch) go to xcubed.zxq.net. I've literally just got the hosting account, so don't expect much for a while, but that's where to go.  smile

Last edited by TheSuccessor (2010-05-31 15:46:55)


/* No comment */

Offline

 

#516 2010-05-31 15:50:10

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

Re: Cool custom blocks in Scratch

Ok


You can now reach me on Twitter @johnnydean1_

Offline

 

#517 2010-05-31 17:09:57

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

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 don't know if you still need this, but for a dropdown box, go to Scratch-Blocks>CommandBlockMorph>instance>-- all -->uncoloredArgMorphFor: and somewhere between  t2 _ t1 at: 2. and ^ ExpressionArgMorph new numExpression: '10' put $(any letter not yet defined here) = t2 ifTrue: [^ ChoiceArgMorph new getOptionsSelector: #( whatever you want here, something like key, costume, sound)Names]. and then go to Scratch-Objects>ScriptableScratchMorph>instance>(whichever catergory the dropdown box fits here)> and replace the text below with (whatever you put for whatever you want here, something like key, costume, sound here)Names
    ^ #('(dropdown item 1)' '(item 2)' '(3)' '(4)' '(5)' (you can add more if you want) ) and, finally, go to Scratch-Objects>ScriptableScratchMorph>(whichever catergory the dropdown box fits here) and replace the text below with: (whatever you want here): t1
    '(item 1)' = t1 ifTrue: [^ (what this option is)].
    '(2)' = t1 ifTrue: [^ (what this option is)].
    '(3)' = t1 ifTrue: [^ (what this option is)].
    '(4)' = t1 ifTrue: [^ (what this option is)].
    '(5)' = t1 ifTrue: [^ t2 degreesToRadians tan (math function block tan example)].
(add more of these if there are more dropdown box options) and then, in the blockspec, use %(whatever letter you used) to insert the dropdown box. Make sure the block calls the second method you made. If you want something other than the dropdown box, I have no idea how to make it, but it would be similar. Hope this helps.  big_smile

Offline

 

#518 2010-05-31 22:20:05

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

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

Anybody wanting to get involved in xCubed (my own version of Scratch) go to xcubed.zxq.net. I've literally just got the hosting account, so don't expect much for a while, but that's where to go.  smile

I could help with the site? Im very good with website designing


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

Offline

 

#519 2010-06-01 05:14:21

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

Re: Cool custom blocks in Scratch

Joeman592 wrote:

TheSuccessor wrote:

Anybody wanting to get involved in xCubed (my own version of Scratch) go to xcubed.zxq.net. I've literally just got the hosting account, so don't expect much for a while, but that's where to go.  smile

I could help with the site? Im very good with website designing

Sure. If I'm quite good at PHP, and you're quite good at designing (or maybe both), the site would be great! I'll have to find some way to give you the username and password for the hosting account.


/* No comment */

Offline

 

#520 2010-06-01 07:14:05

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

Re: Cool custom blocks in Scratch

Zorbak42 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 don't know if you still need this, but for a dropdown box, go to Scratch-Blocks>CommandBlockMorph>instance>-- all -->uncoloredArgMorphFor: and somewhere between  t2 _ t1 at: 2. and ^ ExpressionArgMorph new numExpression: '10' put $(any letter not yet defined here) = t2 ifTrue: [^ ChoiceArgMorph new getOptionsSelector: #( whatever you want here, something like key, costume, sound)Names]. and then go to Scratch-Objects>ScriptableScratchMorph>instance>(whichever catergory the dropdown box fits here)> and replace the text below with (whatever you put for whatever you want here, something like key, costume, sound here)Names
    ^ #('(dropdown item 1)' '(item 2)' '(3)' '(4)' '(5)' (you can add more if you want) ) and, finally, go to Scratch-Objects>ScriptableScratchMorph>(whichever catergory the dropdown box fits here) and replace the text below with: (whatever you want here): t1
    '(item 1)' = t1 ifTrue: [^ (what this option is)].
    '(2)' = t1 ifTrue: [^ (what this option is)].
    '(3)' = t1 ifTrue: [^ (what this option is)].
    '(4)' = t1 ifTrue: [^ (what this option is)].
    '(5)' = t1 ifTrue: [^ t2 degreesToRadians tan (math function block tan example)].
(add more of these if there are more dropdown box options) and then, in the blockspec, use %(whatever letter you used) to insert the dropdown box. Make sure the block calls the second method you made. If you want something other than the dropdown box, I have no idea how to make it, but it would be similar. Hope this helps.  big_smile

Great work, and very useful!  smile


/* No comment */

Offline

 

#521 2010-06-01 07:18:04

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

Re: Cool custom blocks in Scratch

@TheSuccessor: Thanks!  smile

Last edited by Zorbak42 (2010-06-01 07:18:31)

Offline

 

#522 2010-06-01 12:08:06

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

Re: Cool custom blocks in Scratch

Zorbak42 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 don't know if you still need this, but for a dropdown box, go to blah di blah,
<explanation>

whoa!! thanks a lot.
i didn't need half of that, but it was a good reminder. for stuff other than that kind of dropdown box i think you would have to edit the stuffNames, not the uncoloredBlahMorph.

thanks again!  smile   smile

Offline

 

#523 2010-06-01 14:15:13

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

Re: Cool custom blocks in Scratch

LS97 wrote:

Zorbak42 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 don't know if you still need this, but for a dropdown box, go to blah di blah,
<explanation>

whoa!! thanks a lot.
i didn't need half of that, but it was a good reminder. for stuff other than that kind of dropdown box i think you would have to edit the stuffNames, not the uncoloredBlahMorph.

thanks again!  smile   smile

And if you want to do something REALLY different, you could make your own ArgMorph subclass:
http://i48.tinypic.com/10e3q07.jpg

EDIT: That's an old picture, I was talking about the other one; the boxed one is NOT from BYOB, it's another argument type.

Last edited by nXIII (2010-06-01 14:16:26)


nXIII

Offline

 

#524 2010-06-01 14:19:01

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

Re: Cool custom blocks in Scratch

nXIII wrote:

And if you want to do something REALLY different, you could make your own ArgMorph subclass:
http://i48.tinypic.com/10e3q07.jpg

EDIT: That's an old picture, I was talking about the other one; the boxed one is NOT from BYOB, it's another argument type.

well, tat's maybe too complicated and unnsecessary. btw, how do you take away checkboxes from a block again?

Offline

 

#525 2010-06-01 14:52:42

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

Re: Cool custom blocks in Scratch

LS97 wrote:

nXIII wrote:

And if you want to do something REALLY different, you could make your own ArgMorph subclass:
http://i48.tinypic.com/10e3q07.jpg

EDIT: That's an old picture, I was talking about the other one; the boxed one is NOT from BYOB, it's another argument type.

well, tat's maybe too complicated and unnsecessary. btw, how do you take away checkboxes from a block again?

CommandBlockMorph's canBecomeWatcher.

not unnecessary! That argument there lets you put ANY value, including colors, strings, etc.!

Last edited by nXIII (2010-06-01 14:53:39)


nXIII

Offline

 

Board footer