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

#1401 2011-06-30 11:26:41

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

Re: ITopic: Welcome to your local block library!

Thanks!
I'll use:

Stacks
Reporters
Booleans
Stats
Queue
Faqs


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

Offline

 

#1402 2011-06-30 11:59:31

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

Re: ITopic: Welcome to your local block library!

It's always useful to reserve a few extra in case you decide to branch out. Get Wizzer to delete his post :S


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

Offline

 

#1403 2011-06-30 12:26:33

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

It's always useful to reserve a few extra in case you decide to branch out. Get Wizzer to delete his post :S

I asked him to and explained already. No reply.  hmm

Offline

 

#1404 2011-06-30 18:28:56

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

Re: ITopic: Welcome to your local block library!

new block: <is [ ] nil?>

blockspec:
('is %s nil?' #b #checkNil:)

code:

checkNil: str
str isNil: [^true].
^false.


the the the the the

Offline

 

#1405 2011-07-01 11:30:50

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

Re: ITopic: Welcome to your local block library!

Code:

(' %s is a palindrome?' #b #palindrome:)

Code:

palindrome: i1 
"Made with Scramble by Hardmath123"
| t1 |

t1_i1.
t1_ t1 asString reversed.
t1 = i1 ifTrue: [
^ true

].
^ false

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

Offline

 

#1406 2011-07-01 12:20:25

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: ITopic: Welcome to your local block library!

New blocks by Baderous and I!  Baderous figured the method to call, so he did most of it...I made half a blockspec and took pictures.  So yeah, give him the credit.   wink

http://polyeztahpuppies.webs.com/height.gif
http://polyeztahpuppies.webs.com/width.gif

The best part--no new code!  Just add these blockspecs:

Code:

 ('width' #r #width)

Code:

 ('height' #r #height)

Offline

 

#1407 2011-07-01 12:29:11

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

Re: ITopic: Welcome to your local block library!

Code:

('Stamp me at x: %n , y: %n ' #- #stampAt:stampAt:)

Code:

stampAt: i1 stampAt: i2 
"Made with Scramble by Hardmath123"
| t2 t1 |

t1_ self xpos.
t2_ self ypos.
self gotoX: i1 y:i2.
self stampCostume.
self gotoX: t1 y:t2.

I should now be tied with Pecola(1)!

Last edited by Hardmath123 (2011-07-01 12:29:52)


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

Offline

 

#1408 2011-07-01 13:11:37

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

Re: ITopic: Welcome to your local block library!

Greenatic wrote:

New blocks by Baderous and I!  Baderous figured the method to call, so he did most of it...I made half a blockspec and took pictures.  So yeah, give him the credit.   wink

http://polyeztahpuppies.webs.com/height.gif
http://polyeztahpuppies.webs.com/width.gif

The best part--no new code!  Just add these blockspecs:

Code:

 ('width' #r #width)

Code:

 ('height' #r #height)

Those should be in requested blocks.


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

Offline

 

#1409 2011-07-01 22:52:41

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

Re: ITopic: Welcome to your local block library!

SSBBM wrote:

Greenatic wrote:

New blocks by Baderous and I!  Baderous figured the method to call, so he did most of it...I made half a blockspec and took pictures.  So yeah, give him the credit.   wink

http://polyeztahpuppies.webs.com/height.gif
http://polyeztahpuppies.webs.com/width.gif

The best part--no new code!  Just add these blockspecs:

Code:

 ('width' #r #width)

Code:

 ('height' #r #height)

Those should be in requested blocks.

You didn't read his post very well, did you?  tongue


Yawn.

Offline

 

#1410 2011-07-02 09:26:22

TuragaTreeko
Scratcher
Registered: 2011-04-24
Posts: 100+

Re: ITopic: Welcome to your local block library!

jslomba wrote:

TuragaTreeko wrote:

I have a block. This is a good block to use for an answer/ask game, and they give the wrong answer.

('error!' #r #getError)

getError
     ^Error!

too simple.

exactly. I like simple blocks like this one. It is pointless. (that is why I made it)


http://goo.gl/RDqKF

Offline

 

#1411 2011-07-02 16:22:32

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

TuragaTreeko wrote:

I have a block. This is a good block to use for an answer/ask game, and they give the wrong answer.

('error!' #r #getError)

getError
     ^Error!

Actually, it should report

^ self error

Actually if you have #error as the selector, there is no need to have a code.


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

 

#1412 2011-07-02 16:26:40

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

Re: ITopic: Welcome to your local block library!

jslomba wrote:

new block: <is [ ] nil?>

blockspec:
('is %s nil?' #b #checkNil:)

code:

checkNil: str
str isNil: [^true].
^false.

I believe that has been share already.


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

 

#1413 2011-07-02 16:28:33

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

Re: ITopic: Welcome to your local block library!

Greenatic wrote:

New blocks by Baderous and I!  Baderous figured the method to call, so he did most of it...I made half a blockspec and took pictures.  So yeah, give him the credit.   wink

http://polyeztahpuppies.webs.com/height.gif
http://polyeztahpuppies.webs.com/width.gif

The best part--no new code!  Just add these blockspecs:

Code:

 ('width' #r #width)

Code:

 ('height' #r #height)

I believe this was already shared.


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

 

#1414 2011-07-02 17:00:12

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

Re: ITopic: Welcome to your local block library!

Pecola1 wrote:

Greenatic wrote:

New blocks by Baderous and I!  Baderous figured the method to call, so he did most of it...I made half a blockspec and took pictures.  So yeah, give him the credit.   wink

http://polyeztahpuppies.webs.com/height.gif
http://polyeztahpuppies.webs.com/width.gif

The best part--no new code!  Just add these blockspecs:

Code:

 ('width' #r #width)

Code:

 ('height' #r #height)

I believe this was already shared.

"You believe"? Why don't you go check?  tongue
I checked, and it doesn't exist already, so yeah.


Yawn.

Offline

 

#1415 2011-07-02 17:59:59

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

Re: ITopic: Welcome to your local block library!

The competition is being set up nicely, can I have a vote please as to whether the voting restrictions are "One vote per username" or "one vote per IP"? Both have pros and cons!


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

Offline

 

#1416 2011-07-02 19:03:43

EzekielE
Scratcher
Registered: 2010-09-26
Posts: 100+

Re: ITopic: Welcome to your local block library!

How do I add the code/method for a block?


http://mag.racked.eu/cimage/i2260/Achievement++get%21/Find+a+Disk/mca.pnghttp://ezekielelin.com/1x1Gif/image.php

Offline

 

#1417 2011-07-03 06:28:53

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

The competition is being set up nicely, can I have a vote please as to whether the voting restrictions are "One vote per username" or "one vote per IP"? Both have pros and cons!

Umm, what are the first four? They look like the regular logo, the Scratch Blocks link, requested blocks link, and the pic in your sig.  hmm

Offline

 

#1418 2011-07-03 07:22:13

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

sparks wrote:

The competition is being set up nicely, can I have a vote please as to whether the voting restrictions are "One vote per username" or "one vote per IP"? Both have pros and cons!

Umm, what are the first four? They look like the regular logo, the Scratch Blocks link, requested blocks link, and the pic in your sig.  hmm

If you read, it says that Competiton entries are currently not being accepted so please do not try to upload submissions. The images currently on there are test images to check that display and arraying works, the vote page is what i'm working on at the moment.


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

Offline

 

#1419 2011-07-03 07:37:45

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

scimonster wrote:

sparks wrote:

The competition is being set up nicely, can I have a vote please as to whether the voting restrictions are "One vote per username" or "one vote per IP"? Both have pros and cons!

Umm, what are the first four? They look like the regular logo, the Scratch Blocks link, requested blocks link, and the pic in your sig.  hmm

If you read, it says that Competiton entries are currently not being accepted so please do not try to upload submissions. The images currently on there are test images to check that display and arraying works, the vote page is what i'm working on at the moment.

Oops, I guess I was a bit stupid then.  sad

Offline

 

#1420 2011-07-03 11:41:27

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

Re: ITopic: Welcome to your local block library!

http://www.theblocklibrary.site11.com/include/img/BlockLibraryTitle.png
The Block Library is celebrating it's first birthday on the 15th of July this Friday and to celebrate we're having a competition! Design and share a new logo for the block library thread and website for your chance to have your image featured and used by us with a link to your projects page!

Each Scratcher can enter as many images as they like but can only vote once on all the entries submitted!

The entry can either be an adaptation of the current logo with a change to show that the library is celebrating an entire year of operation or you could try and come up with a completely new logo for consideration!

For the full details take a look at the competitions page!

~~Sparks

Last edited by YourLocalBlockLib (2011-07-03 11:43:29)


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

Offline

 

#1421 2011-07-03 11:49:01

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

Re: ITopic: Welcome to your local block library!

My image is larger, but when posted here, it is [put at the same size as]* the logo, so does it really matter so much?
*What's the word I'm looking for?...

Offline

 

#1422 2011-07-03 11:55:48

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

Re: ITopic: Welcome to your local block library!

scaled to match? Yes, the Scratch fora resize images to fit the width of posts. It's the ratio that's important more than anything else for that reason  smile


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

Offline

 

#1423 2011-07-03 12:02:34

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

scaled to match? Yes, the Scratch fora resize images to fit the width of posts. It's the ratio that's important more than anything else for that reason  smile

Yes, "scaled to the same size as".  roll  (That's at me.  tongue )

Well, I based it off the original, but then I had to grow it on weebly.  tongue

Offline

 

#1424 2011-07-03 12:05:17

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

Re: ITopic: Welcome to your local block library!

Weebly isn't a great imagehost  hmm  but it isn't blocked.


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

Offline

 

#1425 2011-07-03 12:16:42

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

Weebly isn't a great imagehost  hmm  but it isn't blocked.

Didn't Pecola say dropbox also isn't blocked? :S

Offline

 

Board footer