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).
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!
Last edited by jslomba (2011-05-24 15:51:08)
Offline
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!
1000th post!
Offline
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. Pecola1 might have been working on it...
Offline
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!
Added that.
~~sci
Last edited by YourLocalBlockLib (2011-05-25 05:18:25)
Offline
('Switch the up/down value of the pen' #- #switchPenValue)
switchPenValue "Made using Scramble by Hardmath123" | t1| t1 _ self penDown. t1 ifTrue: [ self putPenUp. ]. t1 ifFalse: [ self putPenDown. ].
Offline
('Number of costumes' #r #numOfCos)
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:
forever next costume forever say number of costumes
Last edited by Hardmath123 (2011-05-25 07:12:32)
Offline
('Switch whether hidden or shown' #- #switchHide)
switchHide "Made using Scramble by Hardmath123" | t1| t1 _ self isHidden. t1 ifTrue: [ self show. ]. t1 ifFalse: [ self hide. ].
Offline
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.
Offline
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. This is the reason why the community shares these blocks. They are open to everyone!
But maybe you should start to learn this wonderful language so you could have some credit to your name!
Offline
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. This is the reason why the community shares these blocks. They are open to everyone!
But maybe you should start to learn this wonderful language so you could have some credit to your name!
'this wonderful language' is called 'Squeak'.
Offline
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. This is the reason why the community shares these blocks. They are open to everyone!
But maybe you should start to learn this wonderful language so you could have some credit to your name!'this wonderful language' is called 'Squeak'.
Yes.
Offline
can you make these blocks in regular scratch?
Offline
Rocker98585 wrote:
can you make these blocks in regular scratch?
The ones in the Scratch Blocks section, you are supposed to!
Offline
scimonster wrote:
Rocker98585 wrote:
can you make these blocks in regular scratch?
The ones in the Scratch Blocks section, you are supposed to!
And since, no other mods would exist if you couldn't.
Last edited by ProgrammingFreak (2011-05-25 15:04:19)
Offline
doScramble
| t1 t2 |
t1 _ stackFrame expression.
t2 _ stackFrame arguments.
self popStackFrame.
self pushStackFrame: (ScratchStackFrame new expression: t1 firstBlockList shuffled)
you don't need t2
(P.S., that error is in all 3 of those blocks.)
Last edited by jslomba (2011-05-25 20:43:03)
Offline
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.gifyou don't need t2
(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
How Do I Become A Local Block Librarian?
I Wanna Be Happy!
Offline
kamikazewatermelon wrote:
How Do I Become A Local Block Librarian?
I Wanna Be Happy!
We have enough Librarians already, and I think even a couple spots lined up if someone quits.
~~Scimonster, Your Local Block Librarian
Offline
scimonster wrote:
kamikazewatermelon wrote:
How Do I Become A Local Block Librarian?
I Wanna Be Happy!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
('Get the name of costume number %n ' #r #costumeNameFromNumber: 1)
No code needed!
Last edited by Hardmath123 (2011-05-26 08:43:19)
Offline
('Am I on %l ?' #b #onCostume:)
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)
Offline
Offline
Hardmath123 wrote:
Oh, forgot about that. I'm going to put it on the block lib account now.
Offline