fancypants36 wrote:
I have one at
https://skydrive.live.com/redir.aspx?cid=04769921cfda37ee&resid=4769921CFDA37EE!195&parid=4769921CFDA37EE!120&authkey=!AEWjg3KDQU0k5sU
This link appears to go to a windows live page that I can't log into with my live account?
Offline
sparks wrote:
fancypants36 wrote:
I have one at
https://skydrive.live.com/redir.aspx?cid=04769921cfda37ee&resid=4769921CFDA37EE!195&parid=4769921CFDA37EE!120&authkey=!AEWjg3KDQU0k5sUThis link appears to go to a windows live page that I can't log into with my live account?
It works for me. It's a BYOB block, "wait (1) mins". The programming is pretty self-explanatory.
Offline
since when are you ever going to need a program to wait a minuite?
Offline
joefarebrother wrote:
since when are you ever going to need a program to wait a minuite?
A level that takes 1 minute, for example.
Offline
Scratch Blocks
[block here]
Sets the pen color to the color at the desired coordinate.
Blockspec:
('set pen color to x:%n y:%n' #- #colorX:y: 0 0)
colorAtX:y: (required to run colorX:y: )
colorAtX: t1 y: t2 | t3 t4 t5 t6 t7 | t3 _ self ownerThatIsA: ScratchFrameMorph. t3 ifNil: [(t4 _ self ownerThatIsA: OffscreenWorldMorph) ifNil: [^ self]. t3 _ t4 frame]. t5 _ t1. t5 isNaN ifTrue: [t5 _ 0]. t5 > 240 ifTrue: [t5 _ 240]. t5 < -240 ifTrue: [t5 _ -240]. t6 _ t2. t6 isNaN ifTrue: [t6 _ 0]. t6 < -180 ifTrue: [t6 _ -180]. t6 > 180 ifTrue: [t6 _ 180]. DoubleSize ifTrue: [t5 _ t5 * 2. t6 _ t6 * 2]. t7 _ t5 @ t6 negated. ^ Display colorAt: ScratchOrigin + t7
colorX:y:
colorX: t1 y: t2 | t3 | penColor _ self colorAtX: t1 y: t2. penHue _ penColor hue * 200.0 / 360.0. t3 _ penColor brightness. t3 = 1.0 ifTrue: [penShade _ 50.0 + (50.0 * (1.0 - penColor saturation))] ifFalse: [penShade _ 50.0 * t2]
I already tested it and directly copy and pasted.
Last edited by chanmanpartyman (2012-05-06 17:42:59)
Offline
Blockspec:
('go to URL %s' #- #link: 'http://scratch.mit.edu/')
link: t1 Cursor wait showWhile: [ScratchPlugin primOpenURL: t1]
Offline
Blockspec:
('true' #b #true)
true ^ true
Blockspec:
('false' #b #false)
false ^ false
Offline
Sorry GeonoTRON2000, those blocks have already been shared.
Offline
scimonster wrote:
Sorry GeonoTRON2000, those blocks have already been shared.
Does that mean you missed my submisions or did I miss your post "neglecting" them?
Offline
Splodgey wrote:
scimonster wrote:
Sorry GeonoTRON2000, those blocks have already been shared.
Does that mean you missed my submisions or did I miss your post "neglecting" them?
If nobody said anything about your blocks, then I would assume they're good. Are you talking about a specific post or multiple ones in general?
Offline
sparks wrote:
Squawkers13 wrote:
[sarcasm]will you finish the site?[/sarcasm]
Yes.
Notice the tags?
Offline
Greenatic wrote:
Splodgey wrote:
scimonster wrote:
Sorry GeonoTRON2000, those blocks have already been shared.
Does that mean you missed my submisions or did I miss your post "neglecting" them?
If nobody said anything about your blocks, then I would assume they're good. Are you talking about a specific post or multiple ones in general?
I was talking about this post;
Splodgey wrote:
I have 3 panther blocks...
http://i.imgur.com/VFLZ9.gif
Name:Code:
$number$ out of $number$ as %Type:
Code:
rCode:
Code:
t1/t2*100http://i.imgur.com/Szjrv.gif
This block is already in Panther, but you can't drag reporter blocks in a "$Keys$ slot". Although this could be achieved with <(key pressed) = []>.
Name:Code:
key $String$ pressed?Type:
Code:
bCode:
Code:
self keyPressed: t1http://i.imgur.com/UC9Ib.gif
I discovered this when dragging the (key pressed) block into the above block
Name:Code:
any button pressed?Type:
Code:
bCode:
Code:
self keyPressed: self keyPressed
Offline
Splodgey wrote:
Greenatic wrote:
Splodgey wrote:
Does that mean you missed my submisions or did I miss your post "neglecting" them?If nobody said anything about your blocks, then I would assume they're good. Are you talking about a specific post or multiple ones in general?
I was talking about this post;
Splodgey wrote:
I have 3 panther blocks...
http://i.imgur.com/VFLZ9.gif
Name:Code:
$number$ out of $number$ as %Type:
Code:
rCode:
Code:
t1/t2*100http://i.imgur.com/Szjrv.gif
This block is already in Panther, but you can't drag reporter blocks in a "$Keys$ slot". Although this could be achieved with <(key pressed) = []>.
Name:Code:
key $String$ pressed?Type:
Code:
bCode:
Code:
self keyPressed: t1http://i.imgur.com/UC9Ib.gif
I discovered this when dragging the (key pressed) block into the above block
Name:Code:
any button pressed?Type:
Code:
bCode:
Code:
self keyPressed: self keyPressed
That last one seems very useful--I'm not sure about the the others, though.
Offline
Woah. I just made a show and Hide cursor block. Now I think I can make a toggle Cursor visibility block.
EDIT: Ok.. That failed - but here's the show + hide cursor blocks:
show Cursor
Code:
World activeHand showTemporaryCursor: nil
hide Cursor
Code:
World activeHand showTemporaryCursor: ((Form extent: 1 @ 1 depth: 32) fillColor: Color transparent)
I found the blocks in the System Browser, in the Other Ops (Where the <$String$ as boolean> block is)
Last edited by DigiTechs (2012-05-12 04:31:03)
Offline
wolvesstar97 wrote:
THE BLOCKS ARE GIANT!!!!! Um... they are HUGE.
Don't use IE. It's a rubbish browser. I had a similar problem when I used to use IE.
Offline
DigiTechs wrote:
Woah. I just made a show and Hide cursor block. Now I think I can make a toggle Cursor visibility block.
EDIT: Ok.. That failed - but here's the show + hide cursor blocks:
show Cursor
Code:Code:
World activeHand showTemporaryCursor: nilhide Cursor
Code:Code:
World activeHand showTemporaryCursor: ((Form extent: 1 @ 1 depth: 32) fillColor: Color transparent)I found the blocks in the System Browser, in the Other Ops (Where the <$String$ as boolean> block is)
These were already submitted. But you could work on that toggle cursor block. If you want help i could help you with it. (or I could do it for you. ) Btw: That is a great block idea.
(Oh, and yes the cursor blocks were submitted by me. )
Offline
Pecola1 wrote:
DigiTechs wrote:
Woah. I just made a show and Hide cursor block. Now I think I can make a toggle Cursor visibility block.
EDIT: Ok.. That failed - but here's the show + hide cursor blocks:
show Cursor
Code:Code:
World activeHand showTemporaryCursor: nilhide Cursor
Code:Code:
World activeHand showTemporaryCursor: ((Form extent: 1 @ 1 depth: 32) fillColor: Color transparent)I found the blocks in the System Browser, in the Other Ops (Where the <$String$ as boolean> block is)
These were already submitted. But you could work on that toggle cursor block. If you want help i could help you with it. (or I could do it for you. ) Btw: That is a great block idea.
(Oh, and yes the cursor blocks were submitted by me. )
This should work, because a normal cursor is a ColorForm, and a hidden mouse is a Form. I haven't tested it, though.
('mouse is showing?' #b #MouseShows)
MouseShows
^ (World activeHand cursor isKindOf: ColorForm)
('toggle mouse' #- #ToggleMouse)
ToggleMouse
(World activeHand cursor isKindOf: ColorForm)
ifTrue:
[World activeHand showTemporaryCursor: ((Form extent: 1 @ 1 depth: 32)
fillColor: Color transparent).
^ self].
World activeHand showTemporaryCursor: nil
Offline
sparks wrote:
@Librarians: You may want to check out the website development thread, I've added page editing support for some pages!
I'll be sure to! Last time I went on (the other day) everything said it was being worked on.
Offline
Pecola1 wrote:
sparks wrote:
@Librarians: You may want to check out the website development thread, I've added page editing support for some pages!
I'll be sure to! Last time I went on (the other day) everything said it was being worked on.
There's an "admin" link at the bottom of the pages in the footer
Offline