SSBBM wrote:
http://img230.imageshack.us/img230/6326/drawquad.gif
[[/url][/url]
how do you make a line break in a block?
is it \n?
Offline
coupdegrace wrote:
SSBBM wrote:
http://img230.imageshack.us/img230/6326/drawquad.gif
[[/url][/url]how do you make a line break in a block?
is it \n?
I think that's just what BYOB does when a blocks exeeds a certain width. It's automatic so can't be added to the block
Offline
I have created a BYOB block
Just a few things
1.) When creating variable inserters 1 and 2, make sure they only accept numbers.
2.) The abs and round function are to make sure the numbers are round and positive
3.) This is a question, When creating blocks, does the wait of 80 miliseconds still occur in repeat blocks?
Offline
sparks wrote:
coupdegrace wrote:
SSBBM wrote:
http://img230.imageshack.us/img230/6326/drawquad.gif
[[/url][/url]how do you make a line break in a block?
is it \n?I think that's just what BYOB does when a blocks exeeds a certain width. It's automatic so can't be added to the block
Yep! Just another little thing that makes BYOB 3 a lot better then Scratch 1.4
subzerostig wrote:
I have created a BYOB block
http://i52.tinypic.com/ng290k.gif
Just a few things
1.) When creating variable inserters 1 and 2, make sure they only accept numbers.
2.) The abs and round function are to make sure the numbers are round and positive
3.) This is a question, When creating blocks, does the wait of 80 miliseconds still occur in repeat blocks?
Great block, but it's already been made! () ^ (), the ^ means 'to the power of'. I'm not sure if sparks will add your version.
Answer to your question: It seemed to have no delay when set on atomic, but it could have a very small one. Your question has inspired me to make this block:
Offline
[open string dialog to type in]
blockspec:
('open string dialog to type in' #- #openTypeDialog)
non - tested code:
openTypeDialog | t1 | t1 _ StringDialog ask: 'type.'
Last edited by zorket (2010-12-02 16:10:16)
Offline
^Back to BYOB blocks
Uploading a BYOB block to the library
1) Make your block!
2) Place your block in in the script area alone.
3) Right click, then click save picture of scripts.
3) Right click on your block and then click edit. Save a picture of the scripts like you did your the single block
4)Upload the pictures somewhere.
5)Post them here. Use this code
[url=(script image url here)][img](Block image url here)[/img][/url]
____________________________________
^Back to BYOB blocks
Last edited by SSBBM (2011-03-26 19:12:26)
Offline
How about this block:
It's an IP address block.
showNetworkAddressBlock | t1 t2 t3 | Socket initializeNetwork. t1 _ NetNameResolver localHostAddress. t2 _ nil. t3 _ NetNameResolver stringFromAddress: t1. (t2 notNil and: [t2 ~= t1]) ifTrue: [t3 _ t3 , String cr , 'Internet: ' , (NetNameResolver stringFromAddress: t2)]. ^ t3
BlockSpec:
('Ip adress' #r #showNetworkAddressBlock)
Offline
SSBBM wrote:
sparks wrote:
coupdegrace wrote:
how do you make a line break in a block?
is it \n?I think that's just what BYOB does when a blocks exeeds a certain width. It's automatic so can't be added to the block
Yep! Just another little thing that makes BYOB 3 a lot better then Scratch 1.4
subzerostig wrote:
I have created a BYOB block
http://i52.tinypic.com/ng290k.gif
Just a few things
1.) When creating variable inserters 1 and 2, make sure they only accept numbers.
2.) The abs and round function are to make sure the numbers are round and positive
3.) This is a question, When creating blocks, does the wait of 80 miliseconds still occur in repeat blocks?Great block, but it's already been made! () ^ (), the ^ means 'to the power of'. I'm not sure if sparks will add your version.
Answer to your question: It seemed to have no delay when set on atomic, but it could have a very small one. Your question has inspired me to make this block:
http://img130.imageshack.us/img130/8030 … tdelay.gif
Whoops!
my mistake.
well at least I tried (and failed)
Anyway, now that I know that atomic speeds everything up. I can create 2 new blocks!
all the variable inserters are numbers only
And make sure the blocks are atomic.
And its more advanced version
Last edited by subzerostig (2010-12-04 04:30:04)
Offline
Hello!
I have made a project that finds prime numbers!
here is it's script
And then I thought that while I was at it I might as well make a block
the BYOB block still takes a few seconds to calculate up to 100 prime numbers even on atomic though.
Hope it makes the list
Offline
But then I might as well create some more blocks:
to give the factors of a number
and
to say how many factors of a number there are
Last edited by subzerostig (2010-12-03 12:22:03)
Offline
looks like I need to cdo an update soon then ^_^
I tell you what I'd love to do for the library, have some way for me to keep track of how many times a block's code was viewed, so people can get an idea of how often their blocks were downloaded. The only way I can think of doing that is using php so that each link to a block code is directed to a php page, then redirected to the actual image/code. I could keep track of downloads then, and use an image to display automatically how many downloads that block has had... don't know enough php though...
Offline
Wow! I love your blocks, subzerostig!
Sparls, I would love to help you with the download thing, but I can't do anything but Scratch.
BTW, I'm going to try to make some BYOB blocks!
Last edited by SSBBM (2010-12-03 14:57:57)
Offline
SSBBM wrote:
Wow! I love your blocks, subzerostig!
Sparls, I would love to help you with the download thing, but I can't do anything but Scratch.
BTW, I'm going to try to make some BYOB blocks!
Thanks
btw I love your blocks as well
Offline
SSBBM wrote:
...BTW, I'm going to try to make some BYOB blocks!
Credit to meowmeow55
meowmeow55, I just found a mistake in your BYOB project. In my block "if <> | if none are true | you gave some credit to zxz1661, but it should be for my click green flag block.
Oh, and do you like my sig?
Last edited by SSBBM (2010-12-03 18:22:52)
Offline
subzerostig wrote:
SSBBM wrote:
sparks wrote:
I think that's just what BYOB does when a blocks exeeds a certain width. It's automatic so can't be added to the blockYep! Just another little thing that makes BYOB 3 a lot better then Scratch 1.4
subzerostig wrote:
I have created a BYOB block
http://i52.tinypic.com/ng290k.gif
Just a few things
1.) When creating variable inserters 1 and 2, make sure they only accept numbers.
2.) The abs and round function are to make sure the numbers are round and positive
3.) This is a question, When creating blocks, does the wait of 80 miliseconds still occur in repeat blocks?Great block, but it's already been made! () ^ (), the ^ means 'to the power of'. I'm not sure if sparks will add your version.
Answer to your question: It seemed to have no delay when set on atomic, but it could have a very small one. Your question has inspired me to make this block:
http://img130.imageshack.us/img130/8030 … tdelay.gifWhoops!
my mistake.
well at least I tried (and failed)
Anyway, now that I know that atomic speeds everything up. I can create 2 new blocks!
all the variable inserters are numbers only
And make sure the blocks are atomic.
http://i53.tinypic.com/2bz59c.gif
And its more advanced version
http://i56.tinypic.com/2j5xtzd.gif
btw, I just realised these blocks have a 'clear' function on them!
I'm going to change it now.
Offline
zorket wrote:
[open string dialog to type in]
blockspec:('open string dialog to type in' #- #openTypeDialog)
non - tested code:
Code:
openTypeDialog | t1 | t1 _ StringDialog ask: 'type.'
Offline
zorket wrote:
zorket wrote:
[open string dialog to type in]
blockspec:('open string dialog to type in' #- #openTypeDialog)
non - tested code:
Code:
openTypeDialog | t1 | t1 _ StringDialog ask: 'type.'
how do you get the answer
Offline
me450 wrote:
zorket wrote:
[open string dialog to type in]
blockspec:
non - tested code:Code:
openTypeDialog | t1 | t1 _ StringDialog ask: 'type.'how do you get the answer
What do you mean?
Last edited by zorket (2010-12-05 08:40:30)
Offline
zorket wrote:
me450 wrote:
zorket wrote:
[open string dialog to type in]
blockspec:
non - tested code:Code:
openTypeDialog | t1 | t1 _ StringDialog ask: 'type.'how do you get the answer
What do you mean?
how do i get what they typed in
Offline
zorket wrote:
Use this:
[code]openTypeDialog
| t1 |
t1 _ StringDialog ask: 'type.'[code]
There are lots of tricks using BBcode.
That is a very confusing post
firstly you make a BB code error. thn you post a link about BB code
and you also repost that block that doesnt allow the creator to get the answer
Offline