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

#776 2010-12-16 19:39:45

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

Re: Welcome to the OLD local block library!

32nd PAGE! (at least under my settings which are the regular)http://www.gifninja.com/Workspace/ebc904a6-f45d-4e4c-b39d-dc87e8b64568/output.gif better?

Last edited by Pecola1 (2010-12-16 19:40:44)


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

 

#777 2010-12-16 20:54:39

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

Re: Welcome to the OLD local block library!

NOTE: I had this idea before you Pecola1!

32 pages. This is one of the biggest forums.
82 Scratch blocks, 73 BYOB blocks, and 35 Panther blocks. A total of 190 blocks! There is no one who put that many blocks together!
18 Scratch blocks contributors, 17 BYOB blocks contributors, and 6 Panther blocks contributors. A total of 41 contributors! Tons of Scratcher contribute to this.
Oh, and this forum constantly has new and unique additions, blocks, posts, and contributors.
Who did all of this? Why sparks.
And so...
http://img440.imageshack.us/img440/2906/blocklibrary.png


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

Offline

 

#778 2010-12-16 23:16:21

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Welcome to the OLD local block library!

Umm... cool? XD
Anyway, congrats for getting your Certificate of Pure Awesomeness, sparks! XD


Yawn.

Offline

 

#779 2010-12-17 04:08:54

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

Re: Welcome to the OLD local block library!

Thanks so much SSBBM, I will treasure it forever (not a joke)!

Here are some more ideas I have for the library:

A christmasy version of the current block library image I put at the head of all the library posts (I can turn this into a friendly competition if you like, or get nXIII, the person who made the image in the first place to do it).

Linking contributor names to their scratch page. (in the statistics, not next to blocks, there's already so much bbcode I can barely read it without a load of extra URL tag!  tongue )


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

Offline

 

#780 2010-12-17 08:22:34

StrykerV
New Scratcher
Registered: 2010-06-15
Posts: 51

Re: Welcome to the OLD local block library!

Pecola, delete the disableprogrammerfacilities for everyone. It makes every block unusable and depending on if you have fillscreen on or off it either turns red or an error message pops up.


99.9999% Crazy, 0.0001% Hamburgeh Makeh  smile

Offline

 

#781 2010-12-17 09:58:39

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

Re: Welcome to the OLD local block library!

SSBBM wrote:

NOTE: I had this idea before you Pecola1!

32 pages. This is one of the biggest forums.
82 Scratch blocks, 73 BYOB blocks, and 35 Panther blocks. A total of 190 blocks! There is no one who put that many blocks together!
18 Scratch blocks contributors, 17 BYOB blocks contributors, and 6 Panther blocks contributors. A total of 41 contributors! Tons of Scratcher contribute to this.
Oh, and this forum constantly has new and unique additions, blocks, posts, and contributors.
Who did all of this? Why sparks.
And so...
http://img440.imageshack.us/img440/2906 … ibrary.png

I can't even see the photo because it is from image shack! Could you give me one I can see! PLEASE. LIKE WEEBLY? OR AT LEAST TELL ME WHAT IT LOOKS LIKE!

Last edited by Pecola1 (2010-12-17 10:20:32)


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

 

#782 2010-12-17 09:59:48

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

Re: Welcome to the OLD local block library!

StrykerV wrote:

Pecola, delete the disableprogrammerfacilities for everyone. It makes every block unusable and depending on if you have fillscreen on or off it either turns red or an error message pops up.

OK. Thanks for testing it for us! You were very brave. (I deleted the code but left the pictures for memories.)

Last edited by Pecola1 (2010-12-17 10:10:09)


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

 

#783 2010-12-17 10:07:50

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

Re: Welcome to the OLD local block library!

Hey can someone comment on my weebly ? (Exact link)

Last edited by Pecola1 (2010-12-17 10:09:14)


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

 

#784 2010-12-17 13:35:25

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

Re: Welcome to the OLD local block library!

http://img696.imageshack.us/img696/7705/70839894.png

.                                               CHRISTMAS COMPETITION!

Christmas is nearly here and I'm feeling festive! It's time to deck the halls with bells and holly and give the block library a christmasy image!

The competition:

Edit or replace the block library header image to make it look festive and christmassy!
http://dl.dropbox.com/u/6273449/BlockLibraryTitle2.png


The rules:

♦ As many entries per Scratcher as he or she wish to submit!

♦ Must keep the dimensions (640X210 px) of the original header (download it and edit it directly!

♦ The winner will be chosen by my brother, who is studying art, so as to provide an impartial, unbiased descision.

♦ Even though you can heavily edit or completely change the original image for something else, make sure that "Block library" remains visible on the image!

♦ You must draw the image yourself. You can use software and paint editors all you like, but no nicking the graphics off of the internet! (you can still take graphics from scratch or other programs on your computer though)


Things to think about:

You don't have to keep to the original style of the image, sketching out a copy of it or changing the style might have a great effect! Try to make it look festive, you can go for traditional christmas images like tinsel and presents, try for the more outdoorsy snowmen and robins, a family christmas, an abstract representantation or anything else, think outside the box!

Notes

The competition will close on the twenty-first of december, so send them in then for a chance to see your design replace the current block library image until January the first!

If there are 12 entries or more, I will put the top 12 on for the 12 days of christmas, the winner stays on for the rest of the time.

Have fun! I hope to see lots of entries!

Last edited by sparks (2010-12-17 15:43:37)


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

Offline

 

#785 2010-12-17 14:46:11

isbill1819
Scratcher
Registered: 2009-11-21
Posts: 3

Re: Welcome to the OLD local block library!

can someone give me the code for the hide block <hide> :\

Offline

 

#786 2010-12-17 14:58:06

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

Re: Welcome to the OLD local block library!

try "self hide", isbill!


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

Offline

 

#787 2010-12-17 15:41:20

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

Re: Welcome to the OLD local block library!

sparks, are we allowed to save pictures of blocks and add them? Or do we have to draw the blocks if we wan't more?


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

 

#788 2010-12-17 15:42:43

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

Re: Welcome to the OLD local block library!

Pecola1 wrote:

sparks, are we allowed to save pictures of blocks and add them? Or do we have to draw the blocks if we wan't more?

Sure, you can use block images! I;ll make that clearer in the rules!


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

Offline

 

#789 2010-12-17 16:11:22

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

Re: Welcome to the OLD local block library!

sparks wrote:

Pecola1 wrote:

sparks, are we allowed to save pictures of blocks and add them? Or do we have to draw the blocks if we wan't more?

Sure, you can use block images! I;ll make that clearer in the rules!

Thanks! I've already started!


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

 

#790 2010-12-17 16:43:38

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

Re: Welcome to the OLD local block library!

http://www.weebly.com/uploads/5/4/1/3/5413503/3371023.png?606
Here mine is! All my edits are blocks! (the snow men type things are number inserts)
Due to uploading to weebly I had to change the size so here is the download.


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

 

#791 2010-12-17 16:48:56

ESN
New Scratcher
Registered: 2010-12-03
Posts: 100+

Re: Welcome to the OLD local block library!

Yay, my fraction block :D

I will get to posting the browser code in a second...


http://is.gd/jZ5chhttp://is.gd/jZhXDhttp://is.gd/jZhU7

Offline

 

#792 2010-12-17 16:50:32

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

Re: Welcome to the OLD local block library!

http://img696.imageshack.us/img696/7705/70839894.png

Current entries

http://www.weebly.com/uploads/5/4/1/3/5413503/blocklibrarytitleforchristmas.png
Shared by Pecola1

http://img709.imageshack.us/img709/3662/xmascontestentey.jpg
Shared by SSBBM

http://www.weebly.com/uploads/5/4/1/3/5413503/588380.png?713
Shared by Pecola1

_________________________________________________
^ back to competition post

Last edited by sparks (2010-12-20 09:05:05)


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

Offline

 

#793 2010-12-17 17:36:39

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: Welcome to the OLD local block library!

In the Vpan blocks, if you type 10 it will auctually change the stages y position by -10.
here is a way to change that:
go to Scratch-objects> ScratchStageMorph> looks ops> changeVpanBy: and set

Code:

changeVPanBy: t1 
    vPan _ vPan - t1 truncated.
    self changed

to:

Code:

changeVPanBy: t1 
    vPan _ vPan + t1 truncated.
    self changed

now go to setVpanTo: and change

Code:

setVPanTo: t1 
    vPan _ t1 truncated.
    self changed

To:

Code:

setVPanTo: t1 
    vPan _ (0 - t1) truncated.
    self changed

this will align the Ypos and Vpan




By the way i am working on a |StampToX:Y:| block but i can't get it to work
here's what i have:

Code:

    | t3 |
    self gotoX: t1 y: t2.
    self step.
    (t3 _ self ownerThatIsA: ScratchStageMorph) ifNotNil: [t3 stampCostume: self]

Can you please tell me why this is not working?

Last edited by hello12345678910 (2010-12-17 18:56:29)


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#794 2010-12-17 18:54:05

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Welcome to the OLD local block library!

I finally updated the BYOB block directory on my site!


Yawn.

Offline

 

#795 2010-12-17 18:57:21

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: Welcome to the OLD local block library!

meowmeow55 wrote:

I finally updated the BYOB block directory on my site!

What site?


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#796 2010-12-17 19:18:36

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Welcome to the OLD local block library!

hello12345678910 wrote:

meowmeow55 wrote:

I finally updated the BYOB block directory on my site!

What site?

concat.jcshome.org


Yawn.

Offline

 

#797 2010-12-17 20:45:00

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

Re: Welcome to the OLD local block library!

meowmeow55 wrote:

I finally updated the BYOB block directory on my site!

Yay!

@Sparks
I'm working on my xmas header right now.


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

Offline

 

#798 2010-12-17 21:05:15

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

Re: Welcome to the OLD local block library!

um... I need help. I want to copy and paste things into the scratch browser (for makeing blocks), and when I press ctrl and v I get TO (T O as in my first and last name) then the date and time! Am I doing something wrong?

Offline

 

#799 2010-12-17 23:03:15

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Welcome to the OLD local block library!

owetre18 wrote:

um... I need help. I want to copy and paste things into the scratch browser (for makeing blocks), and when I press ctrl and v I get TO (T O as in my first and last name) then the date and time! Am I doing something wrong?

Use alt instead of control. I wonder why they made it like that...


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#800 2010-12-18 10:46:15

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

Re: Welcome to the OLD local block library!

More blocks:


Go to random x/y position:

Code:

('go to random x-y position' #- #randxypos)

Code:

randxypos
    self gotoX: (self randomFrom: -240 to: 240)
        y: (self randomFrom: -180 to: 180)

Distance to given point:

Code:

 ('distance to x %n y %n' #r #dist:and:)

Code:

dist: t1 and: t2 
    ^ (self xpos - t1 * (self xpos - t1) + (self ypos - t2 * (self ypos - t2))) abs sqrt

Reports greater value of two numbers:

Code:

('greater of %n and %n' #r #greater:and:)

Code:

greater: t1 and: t2 
    t1 > t2 ifTrue: [^ t1].
    ^ t2

Reports lesser value of two numbers:

Code:

('lesser of %n and %n' #r #lesser:and:)

Code:

lesser: t1 and: t2 
    t1 < t2 ifTrue: [^ t1].
    ^ t2

Tells whether or not pen is down:

Code:

('Pen down?' #b #penDownorUp)

Code:

penDownorUp
    ^ penDown

Gives a random truth value:

Code:

('true or false' #b #truefalse)

Code:

truefalse 
    | t3 t4 t5 |
    t3 _ 1 min: 2.
    t4 _ 1 max: 2.
    t5 _ RandomGen next * (t4 - t3) + t3.
    t3 isInteger & t4 isInteger
        ifTrue: [t5 _ (RandomGen next * (t4 + 1 - t3)) truncated + t3]
        ifFalse: [t5 _ RandomGen next * (t4 - t3) + t3].
    t5 = 1 ifTrue: [^ true].
    t5 = 2 ifTrue: [^ false]

Gives one of the inputs, randomly. These are 2 blocks.

Code:

('%s or %s' #r #a:orb:) ('%b or %b' #b #a:orb:)

Code:

a: hi orb: bye 
    | t3 t4 t5 |
    t3 _ 1 min: 2.
    t4 _ 1 max: 2.
    t5 _ RandomGen next * (t4 - t3) + t3.
    t3 isInteger & t4 isInteger
        ifTrue: [t5 _ (RandomGen next * (t4 + 1 - t3)) truncated + t3]
        ifFalse: [t5 _ RandomGen next * (t4 - t3) + t3].
    t5 = 1 ifTrue: [^ hi].
    t5 = 2 ifTrue: [^ bye]

Joins the two values with a space in between.

Code:

('join %s and %s with a space' #r #join:spaces: #hello #world)

Code:

join: t1 spaces: t2 
    ^ t1 asString asUTF8 , ' ' , t2 asString asUTF8

The key [^] pressed block with a string input instead.

Code:

('key %s pressed?' #b #keyPressed:)

Code:

no code needed

Asks the input in a dialog box and reports the value.

Code:

('ask %s and report' #r #ask:)

Code:

ask: t1 
    | t2 |
    t2 _ StringDialog ask: t1.
    ^ t2

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

Offline

 

Board footer