@Jens&bharvey
Another point (it is probably more a question of definition than a bug...)
With Byob 2.99.024
LENGTH of xposition (=84) gives 2
SET txt to xposition
SAY txt gives 84
But ...
LENGTH of txt gives NIL
This issue does not exist in Scratch which gives 4 for LENGTH -184
Offline
mariobrosrule wrote:
whn does it come out?
It's sort of out now, in alpha test, at http://byob.berkeley.edu. Official beta pretty soon, after we clean up some bugs. Official 3.0 release in time for the Scratch conference mid-August.
Offline
I made a 'hacked BYOB' mod, which is BYOB with the developer menu. Click the red dot on the logo to open it. Download at sites.google.com/site/slashproj/downloads
Offline
Woah, never thought I’d be having so much difficulties trying to accomplish something in - basically - Scratch.
I wanted to make something like the PHP/Javascript/others switch- or select-case structure. I once made an image mockup here: http://scratch.mit.edu/forums/viewtopic … 34#p280934 .
Now it seems very difficult.
It technically works already; this is the block def:
and this is what it looks like in a script:
But it’s far from straightforward and it doesn’t look like the mockup at all - it’s ugly xD Any idea on how to improve
Also, theres an extremely annoying bug, every time I drag the block around, add some parameter, whatever, it becomes about 5 pixels wider.
Joren
Offline
Billybob-Mario wrote:
I made a 'hacked BYOB' mod, which is BYOB with the developer menu.
As Jens has posted more than once, you can get a dev menu in any recent BYOB image by starting it with
[Mac] BYOB.app/Contents/MacOS/BYOB BYOB.image foo.ypr dev [Win] start BYOB.exe BYOB.image foo.ypr dev
and then shift-click the Edit menu. (It took me a while to get this to work because, at least on the Mac, the project filename isn't optional, even if there is no such project file. )
There's nothing evil about you making your own version that starts with a dev menu, but I'm a little nervous that people who use it will get stuck with an old version; Jens has been issuing new BYOB.image releases pretty much daily, with lots of bugs fixed.
Last edited by bharvey (2010-06-29 12:22:03)
Offline
JSO wrote:
But it’s far from straightforward and it doesn’t look like the mockup at all - it’s ugly xD Any idea on how to improve
Yeah, that's where Jens and I were, too, until nXIII gave us a brilliant solution, which is to include one "case" value and one command script as inputs to a reporter block that would report true if the case was satisfied, false otherwise. We generalized this to have the reporter take a predicate as the first input so it could ask any question about the given value, e.g., is it a vowel, etc. The result is the SWITCH block and its friend the SWITCH.CASE block in tools.ypr.
Also, theres an extremely annoying bug, every time I drag the block around, add some parameter, whatever, it becomes about 5 pixels wider.
Wider left-to-right? We know about blocks getting taller sometimes and that's supposed to be fixed about two releases ago. Could you please take before-and-after screenshots and upload them to http:byobugs.com? Thanks!
Offline
JSO wrote:
Oh - I was using 2.99.000; let me update my post with the .007 image ;D
You should get the 007 release and then you should replace its BYOB.image with the latest one! We've been dilatory about declaring anything past 007 "stable" (partly because each new release is so much less buggy than the one before with no plateau in sight) but 025 is in fact way more stable than 007.
We'll take a day off from debugging soon and put together complete packages with installers and the new helpscreens and everything.
Offline
I really like byob, but my biggest issue is the lag. for example, i imported my Scratch Bash DG Edition game (it's under my profile) into it and it wouldn't run at all. is there a way you guys could fix this without redoing everything entirely?
Offline
PlayWithFire wrote:
I really like byob, but my biggest issue is the lag
Yeah, we hate that, too. We're working on it, but still just finding out where the slowdowns are. It's our highest priority between now and August.
Offline
PlayWithFire wrote:
I really like byob, but my biggest issue is the lag. for example, i imported my Scratch Bash DG Edition game (it's under my profile) into it and it wouldn't run at all. is there a way you guys could fix this without redoing everything entirely?
Hi, PlayWithFire,
I just downloaded your Scratch Bash DG Edition, played it in the current BYOB alpha release (2.99.025) and compared it to having it play in Scratch: I could not make out any lag or difference whatsoever. Please be sure to get a more current BYOB image, because I made a very significant speed-up from 2.99.018 to 2.99.020.
BYOB should run exactly like Scratch with a huge speed-up if you use atomic custom blocks. The early alpha versions were a lot slower, but now that we've taken down the scaffolding, it should be at least as fast, if not faster, than Scratch.
Last edited by Jens (2010-06-29 12:55:20)
Offline
@ Jens&bharvey
I confirm one remark made above that when using the block editor, difficulties come when you work with scripts longer than the Byob window screen. It is very, very long to make changes and it is risky to add new script at the bottom of the block. This issue does not exist with Scratch adapted to handle kilometric scripts. I tried to workaround the issue by preparing my long script outside the block editor, but the internal and input variables are not defined, and this is not handy.
The same applies when you make too large comments. Rapidly the screen blocks and you loose the hand. Even impossible to make a screen copy. Add-Comment feature is probably not made to write a roman, but this issue came when I tried to write 3 comments to explain how to use 3 functions in the perspective of a system of Byob function-sharing.
Offline
bharvey wrote:
Jens wrote:
BYOB should run exactly like Scratch with a huge speed-up if you use atomic custom blocks.
Except on my projects. One slow thing we know about is using lists in recursive functions. Stay tuned.
But sometimes you don't always want atomic blocks, maybe add an atomic checkbox to certain blocks?
Offline
hey! has anyone come up with a block that maps out a variable's coordinates? That would be EXTREMELY helpful. Thanks!
Offline
bharvey wrote:
markyparky56 wrote:
But sometimes you don't always want atomic blocks, maybe add an atomic checkbox to certain blocks?
That's already there, in the block editor!
I was meaning the blocks already there, but I geuss I could make new blocks with atomic part of them...
Offline
TheExternal wrote:
hey! has anyone come up with a block that maps out a variable's coordinates? That would be EXTREMELY helpful. Thanks!
I don't understand what you're asking for. In what sense does a variable have coordinates? Or are you thinking about a particular kind of value in a variable?
Offline
markyparky56 wrote:
I was meaning the blocks already there, but I geuss I could make new blocks with atomic part of them...
Oh, you mean that some primitive blocks should be interruptable? (Apart from the ones that already are, such as loops.) Did you have particular examples in mind?
Offline
I think markyparky56 wants to run some blocks in a script atomically, and others not, without having to make a special block for this kind of "speed control" within a script. And you can do this in BYOB by right-clicking on the THE SCRIPT or THE BLOCK block and selecting the "atomic" checkbox.
Try this:
WHEN space PRESSED
RUN THE SCRIPT [
REPEAT 180
TURN 1 DEGREES ]
with the THE SCRIPT's atomic checkbox marked and unmarked, and enjoy the difference!
This will in effect make the REPEAT block run atomically, and it can be some with any other script as well (except for scripts containing timed blocks, of course)
Last edited by Jens (2010-06-30 13:30:01)
Offline
Jens wrote:
This release builds up to another (hopefully) stable release. It contains lots of bugfixes (thanks, nXIII!), some changes to the UI (slight progress bar modifications) and internal Mac file settings.
Offline
bharvey wrote:
Billybob-Mario wrote:
I made a 'hacked BYOB' mod, which is BYOB with the developer menu.
As Jens has posted more than once, you can get a dev menu in any recent BYOB image by starting it with
Code:
[Mac] BYOB.app/Contents/MacOS/BYOB BYOB.image foo.ypr dev [Win] start BYOB.exe BYOB.image foo.ypr devand then shift-click the Edit menu. (It took me a while to get this to work because, at least on the Mac, the project filename isn't optional, even if there is no such project file. )
There's nothing evil about you making your own version that starts with a dev menu, but I'm a little nervous that people who use it will get stuck with an old version; Jens has been issuing new BYOB.image releases pretty much daily, with lots of bugs fixed.
I use a slightly different code for the dev options.
start BYOB.exe BYOB.image dev
Offline