More help is needed. Because BYOB uses every uppercase and lowercase letter, how can I use custom dropdown menus? Numbers and symbols don't work.
Offline
Billybob-Mario wrote:
More help is needed. Because BYOB uses every uppercase and lowercase letter, how can I use custom dropdown menus? Numbers and symbols don't work.
This has been sitting here unanswered for a long time so here's an answer:
It's not a law of nature that numbers and symbols don't work; some piece of code somewhere is making that true. Find it, and find out why. My guess is that there are two arrays of length 26 in the code.
When you find them, there are several things you can do, depending on how many new items you want to add. If just one or two, you could make them arrays of length 27, including @ (the character before A) and ` (the character before a).
Alternatively, you could pick one letter (X for eXtended is traditional) to mean that the byte after the X should be used to index a third table of 26 (using XX to mean whatever X used to mean), giving you 25 more entries.
Most radical of all, replace the entire mechanism with one that reads a string instead of a single byte, and then you can have as many entries as you want!
But the most important point here is that you have to actually learn to read the code yourself!
Offline
FLUDD wrote:
how do byob blocks work i downloaded vesion 1.0.2
Do you really mean 1.0.2 or is that a typo? You should have 3.0.2 from here
In the distribution folder is a file called "BYOBManual.pdf" that explains in detail how to make and use custom blocks.
Offline
abrika wrote:
you should be allowed to upload your own blocks!
It's not allowed to upload things made with Scratch modifications such as BYOB to the Scratch web site. We're going to have some kind of sharing feature eventually; it's on the wish list.
Offline
abrika wrote:
i made an online/offline sensor
what's the point, BYOB projects don't work online.
Offline
Hi developers of BYOB!
You may of noticed I am creating a website called MOD share. It will basically be just like scratch but Mod projects can be uploaded! This means anyone can share a project that has been made with their favourite mod. At the momment that is impossible, at least not an instant upload, but with MOD share it is possible to share any project made with any mod. The website is not finished yet but will be in the next month or so. Since BYOB is so popular I would love to include it so I would just like to ask for your permision to list it and allow the upload and sharing of BYOB projects. Is this okay with you?
Offline
Daffy22 wrote:
Hi developers of BYOB!
You may of noticed I am creating a website called MOD share. It will basically be just like scratch but Mod projects can be uploaded! This means anyone can share a project that has been made with their favourite mod. At the momment that is impossible, at least not an instant upload, but with MOD share it is possible to share any project made with any mod. The website is not finished yet but will be in the next month or so. Since BYOB is so popular I would love to include it so I would just like to ask for your permision to list it and allow the upload and sharing of BYOB projects. Is this okay with you?
Extremely clever idea!
Also, my wish list is... (as of BYOB 3.0.2)
- You should be able to create hat blocks, and make hat inputs.
- You should be able to make a block the shape of the 'stop all' block.
- Graphics of custom blocks are not as perfect as the built-in blocks.
- You should be able for multi-type inputs (input list items etc.) to set the maximun items of the multi-tipe inputs.
- You should be able to choose the color of blocks. e.g, control block, but color grey.
- You should be able to make multi-string text inputs.
Why I want to use these...
- I want to make a hat block called '(hat input) and (hat input)', and '(hat input) (hat input)'
- I want to make a 'halt all' block! Halt all?!?! What about halt script?!?!
- I want custom blocks to look exactly like built in SCRATCH blocks.
- I want to make the comment block!
- See above.
- See above.
Last edited by rdococ (2010-09-07 15:43:53)
Offline
rdococ wrote:
Daffy22 wrote:
Hi developers of BYOB!
You may of noticed I am creating a website called MOD share. It will basically be just like scratch but Mod projects can be uploaded! This means anyone can share a project that has been made with their favourite mod. At the momment that is impossible, at least not an instant upload, but with MOD share it is possible to share any project made with any mod. The website is not finished yet but will be in the next month or so. Since BYOB is so popular I would love to include it so I would just like to ask for your permision to list it and allow the upload and sharing of BYOB projects. Is this okay with you?Extremely clever idea!
Also, my wish list is... (as of BYOB 3.0.2)
- You should be able to create hat blocks, and make hat inputs.
- You should be able to make a block the shape of the 'stop all' block.
- Graphics of custom blocks are not as perfect as the built-in blocks.
- You should be able for multi-type inputs (input list items etc.) to set the maximun items of the multi-tipe inputs.
- You should be able to choose the color of blocks. e.g, control block, but color grey.
- You should be able to make multi-string text inputs.
Why I want to use these...
- I want to make a hat block called '(hat input) and (hat input)', and '(hat input) (hat input)'
- I want to make a 'halt all' block! Halt all?!?! What about halt script?!?!
- I want custom blocks to look exactly like built in SCRATCH blocks.
- I want to make the comment block!
- See above.
- See above.
That all sounds very good but what I am doing is an upload site for MOD projects like BYOB!
Offline
<switch to costume[]for()secs
Offline
rdococ wrote:
- You should be able to create hat blocks, and make hat inputs.
All you really need is a hat block with a hexagonal input slot. On the list...
- You should be able to make a block the shape of the 'stop all' block.
Why? How would it work? I can't think of what kind of custom block you could make other than STOP BLOCK, STOP SCRIPT, and STOP ALL. Well, at least I can't see how to implement anything else as a custom block.
- Graphics of custom blocks are not as perfect as the built-in blocks.
I don't see how that can be true. I do believe that the graphics of blocks with huge input expressions isn't perfect. Low priority.
- You should be able for multi-type inputs (input list items etc.) to set the maximun items of the multi-tipe inputs.
And the minimum. Agreed.
- You should be able to choose the color of blocks. e.g, control block, but color grey.
I disagree with this one. It'd make it much harder to find blocks in the palette area!
- You should be able to make multi-string text inputs.
I don't understand. How does this differ from a variadic string input?
Offline
bharvey wrote:
...
- You should be able to make multi-string text inputs.
I don't understand. How does this differ from a variadic string input?
I think it is supposed to say "multi-line".
Offline
How did you turn things such as ^ self into images.
Offline
bharvey wrote:
Billybob-Mario wrote:
How did you turn things such as ^ self into images.
Eh?
I think he might be talking about Elements.
Offline
ScratchReallyROCKS wrote:
I think he might be talking about Elements.
Oh! Of course, stupid of me.
That's Jens's pride and joy! He really loves the idea of drag-and-drop iconic programming at all levels of abstraction.
Short answer: It's really no different from Scratch itself. You have draggable icons (the same idea in both, although different shapes) each of which represents a little chunk of code. It's just that in Scratch the chunks are bigger, and in Elements each chunk corresponds to one primitive Smalltalk operation.
Saying it another way, Scratch is (sort of) drag-and-drop Logo; Elements is drag-and-drop Smalltalk.
Offline
ScratchReallyROCKS wrote:
bharvey wrote:
Billybob-Mario wrote:
How did you turn things such as ^ self into images.
Eh?
I think he might be talking about Elements.
I'm not talking about Elements. I made a block that does ^ self in normal BYOB for Slash and it reports how the sprite looks including rotation, graphic effects, ect. How did you do that?
Offline
Billybob-Mario wrote:
I made a block that does ^ self in normal BYOB for Slash and it reports how the sprite looks including rotation, graphic effects, ect. How did you do that?
Umm, it sounds as if you did that. If you're asking how the sprite knows what it looks like, it's a smalltalk object that, like all objects, remembers its own state. But maybe I'm still misunderstanding the question?
Offline
bharvey wrote:
Billybob-Mario wrote:
I made a block that does ^ self in normal BYOB for Slash and it reports how the sprite looks including rotation, graphic effects, ect. How did you do that?
Umm, it sounds as if you did that. If you're asking how the sprite knows what it looks like, it's a smalltalk object that, like all objects, remembers its own state. But maybe I'm still misunderstanding the question?
How does the block get the image to report?
Offline