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

#1901 2011-08-23 14:45:10

SSBBM
Scratcher
Registered: 2009-10-09
Posts: 100+

Re: ITopic: Welcome to your local block library!

TuragaTreeko wrote:

SSBBM, are you going to also add the blocks for scratch Greenatic and I added? And also everyone else's non-BYOB blocks? Some of the above posts suggest not.

I didn't plan too. But I might.


http://goo.gl/zVfAp http://goo.gl/laci8

Offline

 

#1902 2011-08-23 15:08:24

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: Welcome to your local block library!

SSBBM wrote:

Flashgocrazy, I like some of your blocks, but...

These four seem a little pointless.

http://i.imgur.com/cMWic.gif

http://i.imgur.com/S1OVA.gif

http://i.imgur.com/QiLlL.gif

http://i.imgur.com/tVdLJ.gif

These two are already in the library.

http://i.imgur.com/llFTi.gif

http://i.imgur.com/XlaGN.gif

Your pause script is great.

http://dl.dropbox.com/u/37086280/aaa.gif

But your play sound don't work. It stops all sounds after it's done.

http://i.imgur.com/JVWfc.gif

This block was requested by me. It's not what I was looking for. This is a description of what I want. I think that this is another pointless block.

http://i.imgur.com/jBnYM.gif

Sorry that I shot down your blocks.

Agree with all of the above.

SSBBM wrote:

flashgocrazy wrote:

that's okay, I have more blocks and I have hundreds, look at the post when I asked to be librarian. (I lost almost all my blocks when my computer broke) also saying there pointless is mean, so look at all my blocks before you decide they are pointless  mad

I'm confused about the fact you first said 'that's okay' then said 'also saying there pointless is mean...  mad ' I hope that the last bit was sarcasm and your not  mad  at me.
I was looking at the blocks from you librarian post right before I started typing this. I'm sorry to say a lot of them were pointless. Other were already in the library. After deleting those blocks I ended up with:
http://i.imgur.com/egh6B.gif
Again I'm sorry I have to be a little mean, but blocks that can be made with little to no effort, such as the <hidden> block are pointless.

forever if(){

}
else{

}

can already be done easily with the two blocks:

forever{
    if(){

    }else{
   
    }
}

I'm pretty sure that "when <> do" is exactly the same as "if <>"and "set pen color to surprise" can be achieved using "set pen color to (pick random (0) to (200)"

The others seem good  smile

Last edited by sparks (2011-08-23 15:10:25)


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#1903 2011-08-23 15:21:42

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

Thanks Sparks!

The when <> do [ block doesn't work and acts like an if block, but the freeze if it's false. I'll add the rest now.
~SSBBM

Last edited by YourLocalBlockLib (2011-08-23 15:26:28)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#1904 2011-08-23 15:23:35

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

Re: ITopic: Welcome to your local block library!

YourLocalBlockLib wrote:

Thanks Sparks!

The when <> do [ block doesn't work and acts like an if block, but the freeze if it's false. I'll add the rest now.

Umm, signoff?

Offline

 

#1905 2011-08-23 15:26:22

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Ugh!  I ruined my Scratch and had to reinstall, losing all my blocks!

I'm waiting for my Scratch blocks to be added so I don't have to search through a gazillion pages.   hmm

I'll try to finish the code for the {    v} of {list v} soon so *someone* can do a complete update.

EDIT:  Meh, I'll go ahead and find them all again anyway.
EDIT2:  Or not.   tongue

Last edited by Greenatic (2011-08-23 15:29:05)

Offline

 

#1906 2011-08-23 15:26:53

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

owetre18 wrote:

YourLocalBlockLib wrote:

Thanks Sparks!

The when <> do [ block doesn't work and acts like an if block, but the freeze if it's false. I'll add the rest now.

Umm, signoff?

Sorry.
SSBBM


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#1907 2011-08-23 15:35:46

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

Re: ITopic: Welcome to your local block library!

YourLocalBlockLib wrote:

owetre18 wrote:

YourLocalBlockLib wrote:

Thanks Sparks!

The when <> do [ block doesn't work and acts like an if block, but the freeze if it's false. I'll add the rest now.

Umm, signoff?

Sorry.
SSBBM

Saw you forgot it, and I reminded. No need to say sorry.

Offline

 

#1908 2011-08-23 15:42:30

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

Added Flashgocrazy's blocks
~SSBBM


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#1909 2011-08-25 05:39:49

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: ITopic: Welcome to your local block library!

YourLocalBlockLib wrote:

Thanks Sparks!

The when <> do [ block doesn't work and acts like an if block, but the freeze if it's false. I'll add the rest now.
~SSBBM

the when <> do is basicly wait until


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#1910 2011-08-25 07:37:26

SSBBM
Scratcher
Registered: 2009-10-09
Posts: 100+

Re: ITopic: Welcome to your local block library!

joefarebrother wrote:

the when <> do is basicly wait until

But it doesn't work at all.


http://goo.gl/zVfAp http://goo.gl/laci8

Offline

 

#1911 2011-08-25 10:06:20

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Please update these.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#1912 2011-08-26 09:59:01

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: ITopic: Welcome to your local block library!

SSBBM wrote:

joefarebrother wrote:

the when <> do is basically wait until

But it doesn't work at all.

ah that is because the boolean input should be boolean unevaluated, like
http://i55.tinypic.com/2q2fipz.gif
(i put a launch block around it because otherwise it would be EXACTLY like wait until)
Anyways, flashgocrazy's clone me block doesn't work and causes a scripting error, but i found a solution using the ignore block in the tool package.
http://i52.tinypic.com/21m80v6.gif
Also why is it a looks block? Its hould either be operators or control
Also, i have another 2 blocks:
http://i53.tinypic.com/qzhd8g.gif
(useful for the clone to add itself to a list or do something unique to sprites that are clones of this sprite) and
http://i53.tinypic.com/eiv4pk.gif
(which reports the first sprite in this family of sprites - useful if you want all sprites of a certain type to share a common attribute such as costume or direction)
Here are the scripts:
http://i52.tinypic.com/117bn8o.gif and
http://i51.tinypic.com/4vo9qp.gif
Please add them to the BYOB library.
Also, I STILL cant get my panther subtract colour block(looks like this: http://i51.tinypic.com/wagb5y.gif) to work yet, it causes a scripting error. This is my code:

Code:

| t3 t4 t5 |

t3 _ self colorR: (t1)  - self colorR: (t2).
t4 _ self colorG: (t1)  - self colorG: (t2).
t5 _ self colorB: (t1)  - self colorB: (t2). 
t3 < 0 ifTrue: [ t3_0]. 
t4 < 0 ifTrue: [ t4_0]. 
t5 < 0 ifTrue: [ t5_0]. 
^Color r:t3  g:t4  b: t5

Last edited by joefarebrother (2011-08-26 12:53:56)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#1913 2011-08-26 10:01:45

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: Welcome to your local block library!

joefarebrother wrote:

Also, I STILL cant get my panther subtract colour block(looks like this: http://i51.tinypic.com/wagb5y.gif) to work yet, it causes a scripting error. This is my code:

Code:

| t3 t4 t5 |

t3 _ self colorR: (t1)  - self colorR: (t2).
t4 _ self colorG: (t1)  - self colorG: (t2).
t5 _ self colorB: (t1)  - self colorB: (t2). 
t3 < 0 ifTrue: [ t3_0]. 
t4 < 0 ifTrue: [ t4_0]. 
t5 < 0 ifTrue: [ t5_0]. 
^Color r:t3  g:t4  b: t5

Did you take a look at the project I made that does it? It may be of some help.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#1914 2011-08-26 10:06:49

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: ITopic: Welcome to your local block library!

sparks wrote:

joefarebrother wrote:

Also, I STILL cant get my panther subtract colour block(looks like this: http://i51.tinypic.com/wagb5y.gif) to work yet, it causes a scripting error. This is my code:

Code:

| t3 t4 t5 |

t3 _ self colorR: (t1)  - self colorR: (t2).
t4 _ self colorG: (t1)  - self colorG: (t2).
t5 _ self colorB: (t1)  - self colorB: (t2). 
t3 < 0 ifTrue: [ t3_0]. 
t4 < 0 ifTrue: [ t4_0]. 
t5 < 0 ifTrue: [ t5_0]. 
^Color r:t3  g:t4  b: t5

Did you take a look at the project I made that does it? It may be of some help.

it wont load.
edit: I hate the 60 second rule

Last edited by joefarebrother (2011-08-26 10:07:16)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#1915 2011-08-26 10:36:24

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: Welcome to your local block library!

You're right... looks like it's corrupt for some reason  sad


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#1916 2011-08-26 19:21:23

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Now I'm officially back, I started using scratch again rather than roblox. XD I thing this broke the spell.


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#1917 2011-08-26 19:26:44

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: ITopic: Welcome to your local block library!

What the. O.o A ROTATION STYLE SETTER FOR BYOB! Oh... right... Snap. I almost forgot... NVM


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#1918 2011-08-26 21:35:17

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Pecola1 wrote:

Now I'm officially back, I started using scratch again rather than roblox. XD I thing this broke the spell.

Welcome back. I do believe we all missed you.

Offline

 

#1919 2011-08-27 08:23:30

TuragaTreeko
Scratcher
Registered: 2011-04-24
Posts: 100+

Re: ITopic: Welcome to your local block library!

owetre18 wrote:

Pecola1 wrote:

Now I'm officially back, I started using scratch again rather than roblox. XD I thing this broke the spell.

Welcome back. I do believe we all missed you.

^Agreed.


http://goo.gl/RDqKF

Offline

 

#1920 2011-08-27 16:01:14

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Wondered where you went, Pecola1! Welcome back!


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#1921 2011-08-28 17:43:08

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: ITopic: Welcome to your local block library!

owetre18 wrote:

Pecola1 wrote:

Now I'm officially back, I started using scratch again rather than roblox. XD I thing this broke the spell.

Welcome back. I do believe we all missed you.

Thanks.  wink  I missed you all.


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#1922 2011-08-28 17:53:32

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

Re: ITopic: Welcome to your local block library!

I've got a Scratch block:
For: Scratch
Type: Command
What it does: Shows a dialog with the text and the sprite's name as the title.
Picture: http://dl.dropbox.com/u/36360817/frame1.gif
Blockspec: ('say %s in dialog' #- #sayInDialog: 'Hello!')

Code:

sayInDialog: t1
     DialogBoxMorph inform: t1 title: objName

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

Offline

 

#1923 2011-08-28 18:17:16

lu9
Scratcher
Registered: 2009-05-19
Posts: 56

Re: ITopic: Welcome to your local block library!

Made something, that should be useful for card magic, or card playing:
http://oi54.tinypic.com/2a8p20j.jpg
It's a BYOB Block that reports any card, example:
Ace of Spades,
2 of Hearts,
King of Diamonds
Jack of Clubs... Etc.  I Made from boredoom  smile
I've put in "variables" because i won't know if it fits in any other thing.
[blocks]<say[ Please Add It!! ]for( 2 )secs>[/blocks]

Last edited by lu9 (2011-08-28 18:18:35)


Talk about Scratch,Super Mario Bros X, Super Mario War and Lego Stunt Rally in my forum

Offline

 

#1924 2011-08-29 08:53:41

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: ITopic: Welcome to your local block library!

wait there is a mistake in my byob (ancestor) block it should be:
{(ancestor)}
if <(atribute [parent]) is an [object]>{
  report (call((the (ancestor) block) of (atrubute [parent]))
end}
report (object [myself])

i forgot the call block. I don't have byob on this computer so i cant make another picture.

Last edited by joefarebrother (2011-08-29 08:54:00)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#1925 2011-08-29 10:43:43

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ITopic: Welcome to your local block library!

does anybody have to code for a block in panther that imports a project?


◕‿◕

Offline

 

Board footer