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
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.
Offline
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. = (layer #)
Last edited by Pecola1 (2011-05-17 16:54:43)
Offline
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 )
Offline
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 )
With the old ones, if I try to resize, it takes off half the pixels!
Offline
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 )
With the old ones, if I try to resize, it takes off half the pixels!
Oh, that was old. ^^
Offline
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 #)
With the old ones, if I try to resize, it takes off half the pixels!
Oh, that was old. ^^
Yes.
Offline
scimonster wrote:
lu9 wrote:
Yo! I Have some new BYOB Blocks!
Here are them:
photo:
spec: (sorry this one in portuguese,the next one with traduction)
photo:
spec:
photo:
spec: (to make the without beeping, use wait secs instead of play note)
I Hope you like it! I'm coming up with more soon!Can you post them all in English?
Fixed.
Offline
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
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.
Offline
you know, the go to url %s prefix included < > doesn't work at all!
Offline
*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)
Offline
The Hardmath123 string package! Remember to add the codes in the given order.
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)
Offline
This deserves a bump.
Offline
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
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
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.
Last edited by Hardmath123 (2011-05-26 09:00:27)
Offline
('Arrow key move with speed %n ' #- #arrowMove:)
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.
Offline
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.
Offline
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.
It's useful, though...
Offline