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

#1851 2011-08-07 21:16:20

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

Re: ITopic: Welcome to your local block library!

TuragaTreeko wrote:

Nope. Only scratchers are allowed links or images. sad

Who said anything about [url] tags?


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

Offline

 

#1852 2011-08-07 21:57:52

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

Re: ITopic: Welcome to your local block library!

SSBBM wrote:

TuragaTreeko wrote:

Nope. Only scratchers are allowed links or images. sad

Who said anything about [url] tags?

BBCode Help Page wrote:

New Scratchers cannot create links or embed images. Just be patient, and keep Scratchin' until you become a Scratcher! Scratchers can create links using the following tags:

Scratch Forums produce Scratch Forums
http://scratch.mit.edu/forums/ produce http://scratch.mit.edu/forums/

If you want to display an image you can use the img tag.
http://www.punbb.org/img/small_logo.png produce http://www.punbb.org/img/small_logo.png

It's in the help.


http://goo.gl/RDqKF

Offline

 

#1853 2011-08-08 02:51:08

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: ITopic: Welcome to your local block library!

TuragaTreeko wrote:

SSBBM wrote:

TuragaTreeko wrote:

Nope. Only scratchers are allowed links or images. sad

Who said anything about [url] tags?

BBCode Help Page wrote:

New Scratchers cannot create links or embed images. Just be patient, and keep Scratchin' until you become a Scratcher! Scratchers can create links using the following tags:

Scratch Forums produce Scratch Forums
http://scratch.mit.edu/forums/ produce http://scratch.mit.edu/forums/

If you want to display an image you can use the img tag.
http://www.punbb.org/img/small_logo.png produce http://www.punbb.org/img/small_logo.png

It's in the help.

It's also amusing, because they used examples that will work for new scratchers!  wink
You can  link to anything on the scratch website  wink


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#1854 2011-08-08 03:31:31

comment_list
New Scratcher
Registered: 2011-05-24
Posts: 5

Re: ITopic: Welcome to your local block library!

ssss wrote:

TuragaTreeko wrote:

SSBBM wrote:


Who said anything about [url] tags?

BBCode Help Page wrote:

New Scratchers cannot create links or embed images. Just be patient, and keep Scratchin' until you become a Scratcher! Scratchers can create links using the following tags:

Scratch Forums produce Scratch Forums
http://scratch.mit.edu/forums/ produce http://scratch.mit.edu/forums/

If you want to display an image you can use the img tag.
http://www.punbb.org/img/small_logo.png produce http://www.punbb.org/img/small_logo.png

It's in the help.

It's also amusing, because they used examples that will work for new scratchers!  wink
You can  link to anything on the scratch website  wink

Yes, I wonder what the logic behind that was.  tongue
Look:
http://scratch.mit.edu/
[url=http://scratch.mit.edu/]Scratch[/ur]
http://wiki.scratch.mit.edu/
Scratch Wiki
[url]http://google.com/[/ur]
google.com
Google

BTW, click my name!  big_smile

Offline

 

#1855 2011-08-08 03:35:00

comment_list
New Scratcher
Registered: 2011-05-24
Posts: 5

Re: ITopic: Welcome to your local block library!

comment_list wrote:

ssss wrote:

TuragaTreeko wrote:

It's in the help.

It's also amusing, because they used examples that will work for new scratchers!  wink
You can  link to anything on the scratch website  wink

Yes, I wonder what the logic behind that was.  tongue
Look:
http://scratch.mit.edu/
Scratch
http://wiki.scratch.mit.edu/
Scratch Wiki
http://google.com/
google.com
Google

BTW, click my name!  big_smile

Oops, forgot some Ls. ^^

At least 180 seconds have to pass between posts. Please wait a little while and try posting again.


My computer is kind of creaky. Should I trust it, or get a new one? I don't have enough money for a new one.  tongue

At least 180 seconds have to pass between posts. Please wait a little while and try posting again.

Some military planes are flying over me right now.
I'm just doing this to pass the 3 minutes.  tongue


At least 180 seconds have to pass between posts. Please wait a little while and try posting again.

In my above post it accepted the external links to Google?  yikes

Offline

 

#1856 2011-08-08 09:11:55

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

Re: ITopic: Welcome to your local block library!

comment_list wrote:

comment_list wrote:

ssss wrote:


It's also amusing, because they used examples that will work for new scratchers!  wink
You can  link to anything on the scratch website  wink

Yes, I wonder what the logic behind that was.  tongue
Look:
http://scratch.mit.edu/
Scratch
http://wiki.scratch.mit.edu/
Scratch Wiki
http://google.com/
google.com
Google

BTW, click my name!  big_smile

Oops, forgot some Ls. ^^

At least 180 seconds have to pass between posts. Please wait a little while and try posting again.


My computer is kind of creaky. Should I trust it, or get a new one? I don't have enough money for a new one.  tongue

At least 180 seconds have to pass between posts. Please wait a little while and try posting again.

Some military planes are flying over me right now.
I'm just doing this to pass the 3 minutes.  tongue


At least 180 seconds have to pass between posts. Please wait a little while and try posting again.

In my above post it accepted the external links to Google?  yikes

Strange, the workings of BBCode.


http://goo.gl/RDqKF

Offline

 

#1857 2011-08-08 16:52:28

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

Re: ITopic: Welcome to your local block library!

has anyone managed to make a working version of my panther subtract colour block yet?


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

 

#1858 2011-08-09 08:34:21

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

Re: ITopic: Welcome to your local block library!

joefarebrother wrote:

has anyone managed to make a working version of my panther subtract colour block yet?

An un-Mix block? Hmm. That sounds kind of  impossible. Maybe if you take the binary of the second color, make it a negative and mix that?


http://goo.gl/RDqKF

Offline

 

#1859 2011-08-09 17:41:18

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

Re: ITopic: Welcome to your local block library!

The subtract color is impossable.

Offline

 

#1860 2011-08-10 01:07:55

AznKid66
Scratcher
Registered: 2011-08-10
Posts: 3

Re: ITopic: Welcome to your local block library!

If there's a sensing block that gives the hexadecimal or RGB values of a color, it is possible. Mixing colors is just averaging the two values for red, green, and blue, right? Then un-mixing would just be doing the reverse.
So taking red--255,0,0--and unmixing blue--0,0,255--would give you 510,0,-255 ... or 255,0,0. If you subtract blue from red, you'll end up with red because red has no blue in it.
Or, if you're taking orange--255,150,0--and unmix yellow--255,255,0--you would get 255,-45,0 ... or 255,0,0. If you subtract yellow from orange, you get red.

Offline

 

#1861 2011-08-10 04:41:23

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

Re: ITopic: Welcome to your local block library!

Makes sense, I guess! I'll try it out!


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

Offline

 

#1862 2011-08-10 05:18:13

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

Re: ITopic: Welcome to your local block library!

Well take a look at this panther project which subtracts one colour from another using the rgb method described above by AznKid66. I'm not sure it really works so others' opinions would be cool.

I've not tried to turn it into a block yet.


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

Offline

 

#1863 2011-08-10 07:34:49

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

Re: ITopic: Welcome to your local block library!

AznKid66 wrote:

If there's a sensing block that gives the hexadecimal or RGB values of a color, it is possible. Mixing colors is just averaging the two values for red, green, and blue, right? Then un-mixing would just be doing the reverse.
So taking red--255,0,0--and unmixing blue--0,0,255--would give you 510,0,-255 ... or 255,0,0. If you subtract blue from red, you'll end up with red because red has no blue in it.
Or, if you're taking orange--255,150,0--and unmix yellow--255,255,0--you would get 255,-45,0 ... or 255,0,0. If you subtract yellow from orange, you get red.

Oh. That would probably work.  big_smile


http://goo.gl/RDqKF

Offline

 

#1864 2011-08-10 17:55:05

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

Re: ITopic: Welcome to your local block library!

AznKid66 wrote:

If there's a sensing block that gives the hexadecimal or RGB values of a color, it is possible. Mixing colors is just averaging the two values for red, green, and blue, right? Then un-mixing would just be doing the reverse.
So taking red--255,0,0--and unmixing blue--0,0,255--would give you 510,0,-255 ... or 255,0,0. If you subtract blue from red, you'll end up with red because red has no blue in it.
Or, if you're taking orange--255,150,0--and unmix yellow--255,255,0--you would get 255,-45,0 ... or 255,0,0. If you subtract yellow from orange, you get red.

how mine works is basiclly that, subtracting the RGB values and setting to 0 if it goes under 0, i made it with the cyob function but it causes errors.
Also, it isn't a sensing bock that calculates the rgb values it is a block from a new catogary called colours.

flashgocrazy wrote:

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

If that's your BEST block, then I'd like to know your worst. I mean no offense, but I could have made that block in my sleep.

Last edited by joefarebrother (2011-08-10 18:00:45)


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

 

#1865 2011-08-10 20:12:14

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

Re: ITopic: Welcome to your local block library!

joefarebrother wrote:

I mean no offense, but I could have made that block in my sleep.

The funny thing about when people say "no offence" is that it tends to be something offensive their saying. Scratch is all about learning and sharing so next time you mean no offence, please just say nothing, it makes the site more pleasant for everyone  smile


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

Offline

 

#1866 2011-08-10 21:33:34

EzekielE
Scratcher
Registered: 2010-09-26
Posts: 100+

Re: ITopic: Welcome to your local block library!

question: in BYOB how do I make the default text appear?


http://mag.racked.eu/cimage/i2260/Achievement++get%21/Find+a+Disk/mca.pnghttp://ezekielelin.com/1x1Gif/image.php

Offline

 

#1867 2011-08-11 00:12:54

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

Re: ITopic: Welcome to your local block library!

EzekielE wrote:

question: in BYOB how do I make the default text appear?

When you make a variable there's a text box after it says "Single Input. Default Value:"


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

Offline

 

#1868 2011-08-11 14:48:56

EzekielE
Scratcher
Registered: 2010-09-26
Posts: 100+

Re: ITopic: Welcome to your local block library!

SSBBM wrote:

EzekielE wrote:

question: in BYOB how do I make the default text appear?

When you make a variable there's a text box after it says "Single Input. Default Value:"

Ok, thanks


http://mag.racked.eu/cimage/i2260/Achievement++get%21/Find+a+Disk/mca.pnghttp://ezekielelin.com/1x1Gif/image.php

Offline

 

#1869 2011-08-12 13:24:37

mrsrec
Scratcher
Registered: 2010-11-14
Posts: 100+

Re: ITopic: Welcome to your local block library!

I Have A Panther Block. It's In Files.
Type:

Boolean

Title=

I/O Dialog

Code:
^ self askForFileIO

tongue


Scratchy Scratcher Scratched Scratch Scratches When He Scratchy Scratches Scratch Projects. These Scratch Projects Were Started From Scratch.
http://internetometer.com/image/37716.png

Offline

 

#1870 2011-08-13 10:27:29

zorket
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: ITopic: Welcome to your local block library!

I'm back with a new block!

Go to random x-y position and direction

Blockspec:

('go to random x-y position and direction' #- #randomPlaceAndDirection)

Code:

randomPlaceAndDirection
    self gotoX: (self randomFrom: -240 to: 240)
        y: (self randomFrom: -180 to: 180).
    self rotationDegrees: (self randomFrom: 0 to: 359)

Marzipan11 must learn to not spoil

Offline

 

#1871 2011-08-13 11:50:45

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

Re: ITopic: Welcome to your local block library!

Code:

n: t1 ck: t2
^ (self factorial: t2)/(self factorial: t1)*(self factorial: t2-t1)


n: t1 pk: t2
^ (self factorial: t2)/(self factorial: t1)

('Number of ways to choose %n objects from a set of %n' #r #n:ck:)
('Number of ways to choose %n objects from a set of %n in a particular order' #r #n:pk:)

Require factorial block


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

Offline

 

#1872 2011-08-14 11:21:03

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Might want to change your sig to change the name of who won. Its the same guy, but the ST didn't like the words contained in his username.  wink

Offline

 

#1873 2011-08-14 23:52:52

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: ITopic: Welcome to your local block library!

ProgrammingFreak wrote:

Might want to change your sig to change the name of who won. Its the same guy, but the ST didn't like the words contained in his username.  wink

LOL I was just thinking of doing that.  smile

Offline

 

#1874 2011-08-15 03:52:47

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

Re: ITopic: Welcome to your local block library!

Whose sig? Mine?  hmm


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

Offline

 

#1875 2011-08-15 04:43:03

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

Re: ITopic: Welcome to your local block library!

Hardmath123 wrote:

Whose sig? Mine?  hmm

No, mine.  tongue


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

Offline

 

Board footer