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

#976 2011-05-17 05:18:51

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

Re: ITopic: Welcome to your local block library!

lu9 wrote:

Yo! I Have some new BYOB Blocks!

Here are them:

photo:
http://img813.imageshack.us/img813/6707/myblock.png
spec: (sorry this one in portuguese,the next one with traduction)
http://img709.imageshack.us/img709/5766/myblockspec.png
photo:
http://img534.imageshack.us/img534/8452/myblock2.png
spec:
http://img220.imageshack.us/img220/682/myblockspec2.png
photo:
http://img819.imageshack.us/img819/1500/myblock3.png
spec: (to make the without beeping, use wait secs instead of play note)
http://img864.imageshack.us/img864/8647 … kspec3.gif

I Hope you like it! I'm coming up with more soon!

Can you post them all in English?

Offline

 

#977 2011-05-17 16:48:01

lu9
Scratcher
Registered: 2009-05-19
Posts: 56

Re: ITopic: Welcome to your local block library!

i will try, but not now, at least you can "recognize" the blocks", but many people can't. im going to upload english photos soon.


Talk about Scratch,Super Mario Bros X, Super Mario War and Lego Stunt Rally in my forum

Offline

 

#978 2011-05-17 16:53:59

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

Re: ITopic: Welcome to your local block library!

lu9 wrote:

i will try, but not now, at least you can "recognize" the blocks", but many people can't. im going to upload english photos soon.

Can you for now post text blox e.g. http://www.weebly.com/uploads/5/4/1/3/5413503/9360552.gif?118 = (layer #)

Last edited by Pecola1 (2011-05-17 16:54:43)


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

 

#979 2011-05-18 03:31:03

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

Re: ITopic: Welcome to your local block library!

Pecola1 wrote:

lu9 wrote:

i will try, but not now, at least you can "recognize" the blocks", but many people can't. im going to upload english photos soon.

Can you for now post text blox e.g. http://www.weebly.com/uploads/5/4/1/3/5 … 52.gif?118 = (layer #)

Sparks wrote:

(Please start sharing your block images as actual-size rather than grossly enlarged  tongue )

tongue

Offline

 

#980 2011-05-18 09:50:44

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

Pecola1 wrote:

lu9 wrote:

i will try, but not now, at least you can "recognize" the blocks", but many people can't. im going to upload english photos soon.

Can you for now post text blox e.g. http://www.weebly.com/uploads/5/4/1/3/5 … 52.gif?118 = (layer #)

Sparks wrote:

(Please start sharing your block images as actual-size rather than grossly enlarged  tongue )

tongue

With the old ones, if I try to resize, it takes off half the pixels!


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

 

#981 2011-05-18 09:57:29

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

Re: ITopic: Welcome to your local block library!

Pecola1 wrote:

scimonster wrote:

Pecola1 wrote:


Can you for now post text blox e.g. http://www.weebly.com/uploads/5/4/1/3/5 … 52.gif?118 = (layer #)

Sparks wrote:

(Please start sharing your block images as actual-size rather than grossly enlarged  tongue )

tongue

With the old ones, if I try to resize, it takes off half the pixels!

Oh, that was old. ^^

Offline

 

#982 2011-05-18 10:58:56

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

Pecola1 wrote:

scimonster wrote:

Pecola1 wrote:

Can you for now post text blox e.g. http://www.weebly.com/uploads/5/4/1/3/5 … 52.gif?118 = (layer #)

tongue

With the old ones, if I try to resize, it takes off half the pixels!

Oh, that was old. ^^

Yes.


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

 

#983 2011-05-18 13:57:39

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

lu9 wrote:

Yo! I Have some new BYOB Blocks!

Here are them:

photo:
http://img813.imageshack.us/img813/6707/myblock.png
spec: (sorry this one in portuguese,the next one with traduction)
http://img709.imageshack.us/img709/5766/myblockspec.png
photo:
http://img534.imageshack.us/img534/8452/myblock2.png
spec:
http://img220.imageshack.us/img220/682/myblockspec2.png
photo:
http://img819.imageshack.us/img819/1500/myblock3.png
spec: (to make the without beeping, use wait secs instead of play note)
http://img864.imageshack.us/img864/8647/myblockspec3.gif

I Hope you like it! I'm coming up with more soon!

Can you post them all in English?

Fixed.

Offline

 

#984 2011-05-18 15:59:36

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

Re: ITopic: Welcome to your local block library!

rdococ wrote:

Fixed.

no they're not...


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

Offline

 

#985 2011-05-19 14:34:50

metagrosslord
Scratcher
Registered: 2011-01-11
Posts: 18

Re: ITopic: Welcome to your local block library!

Yep, my blocks so got missed.  Oh well.  At least I have a project with them and their codes so at least some people can use them.  The project's here.  If you actually care and want me to repost the codes, let me know.  I'm too lazy to post them right now.  :l

Offline

 

#986 2011-05-19 14:37:13

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

Re: ITopic: Welcome to your local block library!

metagrosslord wrote:

Yep, my blocks so got missed.  Oh well.  At least I have a project with them and their codes so at least some people can use them.  The project's here.  If you actually care and want me to repost the codes, let me know.  I'm too lazy to post them right now.  :l

Well, I think we can get them off the project, but we need Sparks to add Panther blocks.  hmm

Offline

 

#987 2011-05-21 04:14:46

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

Re: ITopic: Welcome to your local block library!

you know, the go to url %s prefix included <  > doesn't work at all!

Offline

 

#988 2011-05-21 04:22:33

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

Re: ITopic: Welcome to your local block library!

*ahem*

PS. Can you put a link to Scramble in the homepage? Something like [Too hard? Try Scramble!]. Thanks!

Last edited by Hardmath123 (2011-05-21 04:22:52)


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

Offline

 

#989 2011-05-21 09:37:33

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

Re: ITopic: Welcome to your local block library!

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


Marzipan11 must learn to not spoil

Offline

 

#990 2011-05-21 11:23:47

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

Re: ITopic: Welcome to your local block library!

The Hardmath123 string package! Remember to add the codes in the given order.

Code:

Blockspecs:
('Get the first %n letters of %s' #r #getNum:string: 3 #'scratch')  ('Get the last %n letters of %s' #r #getLastNum:string: 3 #'scratch')  ('Get letters %n to %n of %s' #r #getLetter:to:of: 1 4 #'scratch') ('%s %n times' #r #string:times: 'scratch ' '2') #-

Codes:


getNum: t1 string: t2
    | t3 t4 |
    t1 = 1 ifTrue: [^ self letter: 1 of: t2].
    t3 _ self getNum: t1 - 1 string: t2.
    t4 _ self letter: t1 of: t2.
    ^ t3, t4


getLastNum: t1 string: t2 
    ^ (self getNum: t1 string: t2 reversed) reversed


getLetter: t1 to: t2 of: t3 
    | t4 t5 |
    t4 _ self getNum: t3 size + 1 - t2 string: t3.
    t5 _ self getLastNum: t4 size + 1 - t1 string: t4.
    ^ t5


string: t1 times: t2 
    t2 = 1 ifTrue: [^ t1].
    ^ (self string: t1 times: t2 - 1)
        , t1

Includes:

get first () characters of []
get last () of []
get letters () to () of []
[] () times

Enjoy!

Last edited by Hardmath123 (2011-05-21 11:25:55)


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

Offline

 

#991 2011-05-21 22:28:14

sidh
Scratcher
Registered: 2009-10-12
Posts: 3

Re: ITopic: Welcome to your local block library!

Here is my code for a motion bounce block (Panther)

self gotoX: (self randomFrom: (-240) to: (240) ) y: (self randomFrom: (-180) to: (180) )

Offline

 

#992 2011-05-21 22:30:45

sidh
Scratcher
Registered: 2009-10-12
Posts: 3

Re: ITopic: Welcome to your local block library!

Sorry, I meant motion go anywhere (Panther) block

Offline

 

#993 2011-05-23 00:56:37

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

Re: ITopic: Welcome to your local block library!

This deserves a bump.


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

Offline

 

#994 2011-05-23 20:17:54

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

Re: ITopic: Welcome to your local block library!

http://www.weebly.com/uploads/7/1/1/0/7110842/2083497.gif

Code:

('length of %S' #- #lengthOfSound:)

sould be #r instead of #-  tongue

Last edited by jslomba (2011-05-23 20:18:32)


the the the the the

Offline

 

#995 2011-05-24 04:25:10

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

Re: ITopic: Welcome to your local block library!

Good spot, jslomba, I'll get to it right away!

There were some Panther blocks that needed adding, right? Where are they and I'll do them too  smile


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

Offline

 

#996 2011-05-24 06:20:13

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

Good spot, jslomba, I'll get to it right away!

There were some Panther blocks that needed adding, right? Where are they and I'll do them too  smile

There's one a couple posts up, and I've been too busy to add the blocks, I'm sorry. We should have the queue.

Offline

 

#997 2011-05-24 06:26:26

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

Re: ITopic: Welcome to your local block library!

Ok, here's a working queue. I'll manage it for a few days, and if it works out, YourLocalBlockLib can make it. Items higher in the list are older, and get preference. Librarians, please say Item _ done upon editing. Then I'll make the link greyed, so you know what's been done.

Scratch:
1•3 blocks
2•4 blocks
3•1 block
4•1 block
5•1 block
6•1 block
7•1 block, no code
8•1 block
Panther:
none
BYOB:
none

Last edited by Hardmath123 (2011-05-26 09:00:27)


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

Offline

 

#998 2011-05-24 08:33:11

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

Re: ITopic: Welcome to your local block library!

Code:

('Arrow key move with speed %n ' #- #arrowMove:)

Code:

arrowMove: i1 
"Made using Scramble by Hardmath123"
| t4 t3 t2 t1|

t1_ 'up arrow'.
t2_ 'down arrow'.
t3_ 'left arrow'.
t4_ 'right arrow'.

t1_ self keyPressed:t1.
t2_ self keyPressed:t2.
t3_ self keyPressed:t3.
t4_ self keyPressed:t4.

t1 ifTrue: [
self gotoX: self xpos y: (i1+ self ypos).
].

t2 ifTrue: [
t2_i1 * -1.
self gotoX: self xpos y: (t2+ self ypos).
].

t3 ifTrue: [
t3_i1 * -1.
self gotoX: (t3+self xpos) y: self ypos.
].

t4 ifTrue: [
self gotoX: (i1+self xpos) y: self ypos.
].

I'm very proud of this block: it's the first one made by Scramble.


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

Offline

 

#999 2011-05-24 08:50:39

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

Re: ITopic: Welcome to your local block library!

Hardmath123 wrote:

Code:

('Arrow key move with speed %n ' #- #arrowMove:)

Code:

arrowMove: i1 
"Made using Scramble by Hardmath123"
| t4 t3 t2 t1|

t1_ 'up arrow'.
t2_ 'down arrow'.
t3_ 'left arrow'.
t4_ 'right arrow'.

t1_ self keyPressed:t1.
t2_ self keyPressed:t2.
t3_ self keyPressed:t3.
t4_ self keyPressed:t4.

t1 ifTrue: [
self gotoX: self xpos y: (i1+ self ypos).
].

t2 ifTrue: [
t2_i1 * -1.
self gotoX: self xpos y: (t2+ self ypos).
].

t3 ifTrue: [
t3_i1 * -1.
self gotoX: (t3+self xpos) y: self ypos.
].

t4 ifTrue: [
self gotoX: (i1+self xpos) y: self ypos.
].

I'm very proud of this block: it's the first one made by Scramble.

The problem I have with this block is the same one that the ST has: it basically does something that it's good to be able to do on your own.  hmm

Offline

 

#1000 2011-05-24 08:53:17

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

Hardmath123 wrote:

Code:

('Arrow key move with speed %n ' #- #arrowMove:)

Code:

arrowMove: i1 
"Made using Scramble by Hardmath123"
| t4 t3 t2 t1|

t1_ 'up arrow'.
t2_ 'down arrow'.
t3_ 'left arrow'.
t4_ 'right arrow'.

t1_ self keyPressed:t1.
t2_ self keyPressed:t2.
t3_ self keyPressed:t3.
t4_ self keyPressed:t4.

t1 ifTrue: [
self gotoX: self xpos y: (i1+ self ypos).
].

t2 ifTrue: [
t2_i1 * -1.
self gotoX: self xpos y: (t2+ self ypos).
].

t3 ifTrue: [
t3_i1 * -1.
self gotoX: (t3+self xpos) y: self ypos.
].

t4 ifTrue: [
self gotoX: (i1+self xpos) y: self ypos.
].

I'm very proud of this block: it's the first one made by Scramble.

The problem I have with this block is the same one that the ST has: it basically does something that it's good to be able to do on your own.  hmm

It's useful, though...


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

Offline

 

Board footer