sparks wrote:
The logo does not show an image... Cooltext does not host their images for long after your generation is complete so you need to host it somewhere else!
The logo was just for fun, I did it in literally 5 seconds. I just wanted to see what would happen.
Offline
Here is a suggestion: When it says "Code", tell us where to put it!
Offline
thebuilderdd wrote:
Here is a suggestion: When it says "Code", tell us where to put it!
I'll put it in the glossary.
Offline
Pecola1 wrote:
thebuilderdd wrote:
Here is a suggestion: When it says "Code", tell us where to put it!
I'll put it in the glossary.
Thanks!
Offline
thebuilderdd wrote:
Pecola1 wrote:
thebuilderdd wrote:
Here is a suggestion: When it says "Code", tell us where to put it!
I'll put it in the glossary.
Thanks!
Added!
~Pecola1
Offline
I do think the path to the correct place for the code ought to be included with each block... and thebuilderdd, there really isn't a need to bump any thread if it's on the first page, and certainly not the library, it gets posts every day.
Offline
New block:
Name: wait %n %s
Type: #-
Function Name: wait:type:
Script:Code:
wait: t1 type: t2 | t3 | t2 = 'seconds' ifTrue: [ (second amount) timesRepeat [ 10 timesRepeat [ t3 _ 'something' ] ] ] t2 = 'milliseconds' ifTrue: [ t1 timesRepeat [ t3 _ 'something' ] ] t2 = 'microseconds' ifTrue: [ t1 timesRepeat [ t3 _ 'something' ] ]
Oh, and add more, etc. like minutes, hours, and etc.
Offline
New Block For Scratch:
Image:
What it does: Reports the name of the closest sprite.
BlockSpec:
('closest sprite' #r #getClosestSprite)
Code:
getClosestSprite | minSprite minDistance | minDistance _ 1000. ScratchSpriteMorph allInstancesDo: [:sprite | sprite = self ifFalse: [(self distanceTo: sprite objName) < minDistance ifTrue: [minDistance _ self distanceTo: sprite objName. minSprite _ sprite objName]]]. ^ minSprite
Thanks!
Offline
Another suggestion for m first suggestion: Can you please make it more detailed, like where each code goes? Like Motion codes, etc.
Offline
hello12345678910 wrote:
New Block For Scratch:
Image: http://img268.imageshack.us/img268/4539 … 7at827.png
What it does: Reports the name of the closest sprite.
BlockSpec:Code:
('closest sprite' #r #getClosestSprite)Code:
Code:
getClosestSprite | minSprite minDistance | minDistance _ 1000. ScratchSpriteMorph allInstancesDo: [:sprite | sprite = self ifFalse: [(self distanceTo: sprite objName) < minDistance ifTrue: [minDistance _ self distanceTo: sprite objName. minSprite _ sprite objName]]]. ^ minSpriteThanks!
That looks like an amazing block! Very useful!
Offline
So I installed the block maker patch, but there's only one problem, HOW DO I GET .BLOCK FILES
I assume it was metioned somewhere in the thread, but I'm too busy to find it
Offline
I get a phishing site here.
Offline
i have one it makes an object partly 3d (you have to use it multible times to make it 3d but i'm working on that right now but i'll give you what i have so far.
blockspec: ('make 3d' #- #make3d)
code: make3d
| t1 |
self referencePosition: self referencePosition + (0 @ 1).
self step.
(t1 _ self ownerThatIsA: ScratchStageMorph) ifNotNil: [t1 stampCostume: self]
Offline
spud2451 wrote:
i have one it makes an object partly 3d (you have to use it multible times to make it 3d but i'm working on that right now but i'll give you what i have so far.
blockspec: ('make 3d' #- #make3d)
code: make3d
| t1 |
self referencePosition: self referencePosition + (0 @ 1).
self step.
(t1 _ self ownerThatIsA: ScratchStageMorph) ifNotNil: [t1 stampCostume: self]
Nice block! Here's a tip: Use the stamping code, and the incrementing X and Y values code.
EDIT: Converted to BYOB.
Name: make 3d
Type: command
Code:
[repeat 10] [change x by 1] [change y by 1] [stamp] [/repeat]
Last edited by rdococ (2011-05-09 07:57:03)
Offline
scratcher7_13 wrote:
Important: I have discovered a working execute script block for Fission. It also reports reporters. Blockspec:
Code:
('report / execute script %B' #- #reportExecute:)Code:
reportExecute: t1 ^ t1It only works to run a single block at a time.
What's the %B insert though?
Before we switch to dropbox, is it a program that you have to download and install?
Offline
scimonster wrote:
scimonster wrote:
I think the old Library should be closed- I can copy code from there anyways, though I'd hate to do something like BYOB Operators or a Panther section with more than 5 blocks.
My tricks:
Right click on an image and click "copy image location" to find where it came from.
Right click on an link and click "copy link location" to find where it goes.
For colors, highlight it, right click and choose "view selection source" and copy the HTML color code.
Well?
EDIT:
Last edited by scimonster (2011-05-09 10:29:27)
Offline
I optimized my block.
Block made in: BYOB
Block name: %reporter1 named %string1 -bordered with changes %reporter2
Block type: Reporter
Script:
[report ( (reporter1) + (reporter2) ) ]
Very simple. Unlike the other one, this has 4 block while the other had approx 18 blocks!
EDIT: Fixed capitalizing at the word "unlike".
EDIT: Fixed number count.
Last edited by rdococ (2011-05-09 10:42:12)
Offline
Did you know Internet Explorer does not have a "copy image location" option? It's mad! Firefox for ever! I actually have about five of the main browsers to test that my website looks ok on all of them, and IE is the only one I ever have problems with the site no
Offline
sparks wrote:
Did you know Internet Explorer does not have a "copy image location" option? It's mad! Firefox for ever! I actually have about five of the main browsers to test that my website looks ok on all of them, and IE is the only one I ever have problems with the site no
Lol, for me Firefox doesn't load EE, yet IE does! How weird? Also, Firefox mostly crashes alot.
Offline
upgrade it.
@Scimonster
the wiki thread looks good, but the quotes from me need changing for meowmeow55 and pecola1. Here, you can quote me from this post instead:
pecola1
He's been with us for quite a while now and has shared 24% of all the Scratch blocks in the library making him top Scratch block contributor! He has the dedication and excitement for the library to make a great moderator. He is likely to promote the task of moving all the blocks to a different webhost than imageshack so that everyone can see them!
meowmeow55
The creator of the enormously helpful downloadable blocks addition to the BYOB section, he has put a huge amount of work into turning the script images into downloadable BYOB sprites and I'm sure his continued involvement in the Library will take us to new heights.
Last edited by sparks (2011-05-09 11:26:13)
Offline
rdococ wrote:
I optimized my block.
Block made in: BYOB
Block name: %reporter1 named %string1 -bordered with changes %reporter2
Block type: Reporter
Script:Code:
[report ( (reporter1) + (reporter2) ) ]Very simple. Unlike the other one, this has 4 block while the other had approx 18 blocks!
EDIT: Fixed capitalizing at the word "unlike".
EDIT: Fixed number count.
Offline
sparks wrote:
Did you know Internet Explorer does not have a "copy image location" option? It's mad! Firefox for ever! I actually have about five of the main browsers to test that my website looks ok on all of them, and IE is the only one I ever have problems with the site no
I know, Firefox FTW.
@Sparks: You don't want the (Please start sharing your block images as actual-size rather than grossly enlarged ) in Pacola's part?
Offline
scimonster wrote:
sparks wrote:
Did you know Internet Explorer does not have a "copy image location" option? It's mad! Firefox for ever! I actually have about five of the main browsers to test that my website looks ok on all of them, and IE is the only one I ever have problems with the site no
I know, Firefox FTW.
@Sparks: You don't want the (Please start sharing your block images as actual-size rather than grossly enlarged ) in Pacola's part?
No, it wasn't a reason why I chose him, it was a hint
Offline
sparks wrote:
scimonster wrote:
sparks wrote:
Did you know Internet Explorer does not have a "copy image location" option? It's mad! Firefox for ever! I actually have about five of the main browsers to test that my website looks ok on all of them, and IE is the only one I ever have problems with the site no
I know, Firefox FTW.
@Sparks: You don't want the (Please start sharing your block images as actual-size rather than grossly enlarged ) in Pacola's part?No, it wasn't a reason why I chose him, it was a hint
Oh...
You could have done it yourself and raised your edit count of only 32.
EDIT: 900th post on this thread.
I remember getting the 1111th on the old.
Oh yeah, I have to find it. I have a couple blocks there.
Last edited by scimonster (2011-05-09 12:03:18)
Offline