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

#1001 2011-05-24 15:50:54

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: ITopic: Welcome to your local block library!

http://www.weebly.com/uploads/5/4/1/3/5413503/272488031.gif Shared by Pecola1
Blockspec:
('show cursor' #- #showCursor)
Code:
showCursor
    World activeHand showTemporaryCursor: nil
What it does:
Shows the cursor (use with hide cursor block below).



http://www.weebly.com/uploads/5/4/1/3/5413503/812378062.gif   Shared by Pecola1
Blockspec:
('hide cursor' #- #hideCursor)
Code:
hideCursor
    World activeHand showTemporaryCursor: ((Form extent: 1 @ 1 depth: 32)
            fillColor: Color transparent)
What it does:
Hides the cursor (use with show cursor block above).

tested!  big_smile

Last edited by jslomba (2011-05-24 15:51:08)


the the the the the

Offline

 

#1002 2011-05-24 17:58:50

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: ITopic: Welcome to your local block library!

jslomba wrote:

http://www.weebly.com/uploads/5/4/1/3/5 … 488031.gif Shared by Pecola1
Blockspec:
('show cursor' #- #showCursor)
Code:
showCursor
    World activeHand showTemporaryCursor: nil
What it does:
Shows the cursor (use with hide cursor block below).



http://www.weebly.com/uploads/5/4/1/3/5 … 378062.gif   Shared by Pecola1
Blockspec:
('hide cursor' #- #hideCursor)
Code:
hideCursor
    World activeHand showTemporaryCursor: ((Form extent: 1 @ 1 depth: 32)
            fillColor: Color transparent)
What it does:
Hides the cursor (use with show cursor block above).

tested!  big_smile

1000th post!


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#1003 2011-05-24 18:35:50

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

Re: ITopic: Welcome to your local block library!

zorket wrote:

I want to test the block importer! Just how do you download blocks?


Marzipan11 must learn to not spoil

Offline

 

#1004 2011-05-25 03:28:34

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

Re: ITopic: Welcome to your local block library!

zorket wrote:

zorket wrote:

I want to test the block importer! Just how do you download blocks?

I don't think we have any downloadable Scratch blocks yet.  hmm  Pecola1 might have been working on it...

Offline

 

#1005 2011-05-25 05:03:36

WeirdG
Scratcher
Registered: 2009-09-12
Posts: 9

Re: ITopic: Welcome to your local block library!

Cool

Offline

 

#1006 2011-05-25 05:18:12

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

Re: ITopic: Welcome to your local block library!

jslomba wrote:

http://www.weebly.com/uploads/5/4/1/3/5 … 488031.gif Shared by Pecola1
Blockspec:
('show cursor' #- #showCursor)
Code:
showCursor
    World activeHand showTemporaryCursor: nil
What it does:
Shows the cursor (use with hide cursor block below).



http://www.weebly.com/uploads/5/4/1/3/5 … 378062.gif   Shared by Pecola1
Blockspec:
('hide cursor' #- #hideCursor)
Code:
hideCursor
    World activeHand showTemporaryCursor: ((Form extent: 1 @ 1 depth: 32)
            fillColor: Color transparent)
What it does:
Hides the cursor (use with show cursor block above).

tested!  big_smile

Added that.  smile
~~sci

Last edited by YourLocalBlockLib (2011-05-25 05:18:25)


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

Offline

 

#1007 2011-05-25 05:52:12

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

Re: ITopic: Welcome to your local block library!

Code:

('Switch the up/down value of the pen' #- #switchPenValue)

Code:

switchPenValue
"Made using Scramble by Hardmath123"
| t1|

t1 _ self penDown.
t1 ifTrue: [
self putPenUp.
].

t1 ifFalse: [
self putPenDown.
].

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

Offline

 

#1008 2011-05-25 07:12:10

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

Re: ITopic: Welcome to your local block library!

Code:

('Number of costumes' #r #numOfCos)

Code:

numOfCos
"Made using Scramble by Hardmath123"
| t2 t1|

t1 _ self costumeIndex.
self lookLike: 1.
self lookLike: -1+ (self costumeIndex).
t2 _ self costumeIndex.
self lookLike: t1.
^ t2

Do not use while the costume is being changed, it causes a glitch.
Don't do this:

Code:

forever
next costume

forever
say number of costumes

Last edited by Hardmath123 (2011-05-25 07:12:32)


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

Offline

 

#1009 2011-05-25 07:36:16

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

Re: ITopic: Welcome to your local block library!

Code:

('Switch whether hidden or shown' #- #switchHide)

Code:

switchHide
"Made using Scramble by Hardmath123"
| t1|

t1 _ self isHidden.

t1 ifTrue: [
self show.
].

t1 ifFalse: [
self hide.
].

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

Offline

 

#1010 2011-05-25 14:06:32

Ugh2460
Scratcher
Registered: 2010-09-14
Posts: 37

Re: ITopic: Welcome to your local block library!

I made an IMAGE file with some of the scratch blocks you put up. Is it ok if I share it if I give all of you people credit? It would really help the Scratch community until Scratch 2.0 comes up.


Scratch 2.0 makes Scratch 1.4 look like it was made by a bunch of cavemen. Hey, wait a second....

Offline

 

#1011 2011-05-25 14:13:46

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

Re: ITopic: Welcome to your local block library!

Ugh2460 wrote:

I made an IMAGE file with some of the scratch blocks you put up. Is it ok if I share it if I give all of you people credit? It would really help the Scratch community until Scratch 2.0 comes up.

Yes, I think this is fine.  smile  This is the reason why the community shares these blocks. They are open to everyone!  big_smile
But maybe you should start to learn this wonderful language so you could have some credit to your name!  wink

Offline

 

#1012 2011-05-25 14:45:13

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: ITopic: Welcome to your local block library!

ProgrammingFreak wrote:

Ugh2460 wrote:

I made an IMAGE file with some of the scratch blocks you put up. Is it ok if I share it if I give all of you people credit? It would really help the Scratch community until Scratch 2.0 comes up.

Yes, I think this is fine.  smile  This is the reason why the community shares these blocks. They are open to everyone!  big_smile
But maybe you should start to learn this wonderful language so you could have some credit to your name!  wink

'this wonderful language' is called 'Squeak'.

Offline

 

#1013 2011-05-25 14:50:31

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

Re: ITopic: Welcome to your local block library!

rdococ wrote:

ProgrammingFreak wrote:

Ugh2460 wrote:

I made an IMAGE file with some of the scratch blocks you put up. Is it ok if I share it if I give all of you people credit? It would really help the Scratch community until Scratch 2.0 comes up.

Yes, I think this is fine.  smile  This is the reason why the community shares these blocks. They are open to everyone!  big_smile
But maybe you should start to learn this wonderful language so you could have some credit to your name!  wink

'this wonderful language' is called 'Squeak'.

Yes.  wink

Offline

 

#1014 2011-05-25 14:54:29

Rocker98585
Scratcher
Registered: 2010-12-26
Posts: 39

Re: ITopic: Welcome to your local block library!

can you make these blocks in regular scratch?

Offline

 

#1015 2011-05-25 14:55:23

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

Re: ITopic: Welcome to your local block library!

Rocker98585 wrote:

can you make these blocks in regular scratch?

The ones in the Scratch Blocks section, you are supposed to!  smile

Offline

 

#1016 2011-05-25 15:03:53

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

Rocker98585 wrote:

can you make these blocks in regular scratch?

The ones in the Scratch Blocks section, you are supposed to!  smile

And since, no other mods would exist if you couldn't.  wink

Last edited by ProgrammingFreak (2011-05-25 15:04:19)

Offline

 

#1017 2011-05-25 20:38:13

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: ITopic: Welcome to your local block library!

http://www.weebly.com/uploads/5/4/1/3/5413503/305000.gif

doScramble
    | t1 t2 |
    t1 _ stackFrame expression.
    t2 _ stackFrame arguments.
    self popStackFrame.
    self pushStackFrame: (ScratchStackFrame new expression: t1 firstBlockList shuffled)
http://www.weebly.com/uploads/5/4/1/3/5413503/2161291.gif

http://www.weebly.com/uploads/5/4/1/3/5413503/5687837.gif

you don't need t2  tongue

(P.S., that error is in all 3 of those blocks.)

Last edited by jslomba (2011-05-25 20:43:03)


the the the the the

Offline

 

#1018 2011-05-26 03:35:56

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

Re: ITopic: Welcome to your local block library!

jslomba wrote:

http://www.weebly.com/uploads/5/4/1/3/5 … 305000.gif

doScramble
    | t1 t2 |
    t1 _ stackFrame expression.
    t2 _ stackFrame arguments.
    self popStackFrame.
    self pushStackFrame: (ScratchStackFrame new expression: t1 firstBlockList shuffled)
http://www.weebly.com/uploads/5/4/1/3/5 … 161291.gif

http://www.weebly.com/uploads/5/4/1/3/5 … 687837.gif

you don't need t2  tongue

(P.S., that error is in all 3 of those blocks.)

I reported that to Pecola1 already, but he said to ignore the error.

Offline

 

#1019 2011-05-26 06:06:32

kamikazewatermelon
Scratcher
Registered: 2010-12-31
Posts: 68

Re: ITopic: Welcome to your local block library!

How Do I Become A Local Block Librarian?



I Wanna Be Happy!  big_smile   big_smile   big_smile   big_smile   big_smile


My cartridge is soap!?  yikes
http://earthboundcentral.com/wp-content/uploads/2012/02/troll3.jpg

Offline

 

#1020 2011-05-26 06:11:04

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

Re: ITopic: Welcome to your local block library!

kamikazewatermelon wrote:

How Do I Become A Local Block Librarian?



I Wanna Be Happy!  big_smile   big_smile   big_smile   big_smile   big_smile

We have enough Librarians already, and I think even a couple spots lined up if someone quits.
       ~~Scimonster, Your Local Block Librarian

Offline

 

#1021 2011-05-26 06:30:30

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

kamikazewatermelon wrote:

How Do I Become A Local Block Librarian?



I Wanna Be Happy!  big_smile   big_smile   big_smile   big_smile   big_smile

We have enough Librarians already, and I think even a couple spots lined up if someone quits.
       ~~Scimonster, Your Local Block Librarian

Does TheSuccessor still help?

Offline

 

#1022 2011-05-26 08:42:38

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

Re: ITopic: Welcome to your local block library!

Code:

('Get the name of costume number %n ' #r #costumeNameFromNumber: 1)

No code needed!

Last edited by Hardmath123 (2011-05-26 08:43:19)


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

Offline

 

#1023 2011-05-26 08:59:30

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

Re: ITopic: Welcome to your local block library!

Code:

('Am I on %l ?' #b #onCostume:)

Code:

onCostume: i1 
"Made using Scramble by Hardmath123"
| t2 t1|

t1 _ self costumeIndex.
t2 _ self costumeNameFromNumber:t1.
t2 = i1 ifTrue: [
^ true
].
t2 = i1 ifFalse: [
^ false
].

Last edited by Hardmath123 (2011-05-26 08:59:50)


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

Offline

 

#1024 2011-05-26 09:01:00

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

Re: ITopic: Welcome to your local block library!


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

Offline

 

#1025 2011-05-26 09:05:17

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

Re: ITopic: Welcome to your local block library!

Oh, forgot about that. I'm going to put it on the block lib account now.  smile

Offline

 

Board footer