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

#876 2010-06-28 15:17:18

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

@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

 

#877 2010-06-28 17:21:45

mariobrosrule
Scratcher
Registered: 2008-06-09
Posts: 1000+

Re: BYOB 3 - Discussion Thread

whn does it come out?

Offline

 

#878 2010-06-28 20:52:01

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#879 2010-06-28 20:53:16

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

BYOB 2.99.025, yet more bug fixes (keep 'em coming!).


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#880 2010-06-29 09:06:41

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: BYOB 3 - Discussion Thread

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

 

#881 2010-06-29 12:00:19

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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 .
http://img687.imageshack.us/img687/3227/selectcasemockup.png


Now it seems very difficult.

It technically works already; this is the block def:
http://img815.imageshack.us/img815/2471/caseblockdef.gif
and this is what it looks like in a script:
http://img821.imageshack.us/img821/5939/caseinscript.gif

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  wink

Also, theres an extremely annoying bug, every time I drag the block around, add some parameter, whatever, it becomes about 5 pixels wider.

Joren


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#882 2010-06-29 12:05:30

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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 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.  smile  )

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)


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#883 2010-06-29 12:10:05

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Oh - I was using 2.99.000; let me update my post with the .007 image ;D


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#884 2010-06-29 12:12:44

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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  wink

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!


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#885 2010-06-29 12:14:26

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Sorry; as stated above I was accidently using an older image. What I have now looks like this:
http://img192.imageshack.us/img192/365/caseinscript2.gif
And the bug is solved.

Let me look into the switch(case) blocks you guys made ;D


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#886 2010-06-29 12:18:10

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#887 2010-06-29 12:23:54

PlayWithFire
Scratcher
Registered: 2010-01-20
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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?


http://scratch.mit.edu/static/projects/PlayWithFire/1610180_sm.png
Check out the DG Games Website For the latest news on games like Infected

Offline

 

#888 2010-06-29 12:47:14

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#889 2010-06-29 12:53:25

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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)


Jens Mönig

Offline

 

#890 2010-06-29 14:44:52

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Jens wrote:

BYOB should run exactly like Scratch with a huge speed-up if you use atomic custom blocks.

Except on my projects.  sad   One slow thing we know about is using lists in recursive functions.  Stay tuned.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#891 2010-06-30 04:42:07

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

@ 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

 

#892 2010-06-30 11:16:07

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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.  sad   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?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#893 2010-06-30 11:17:24

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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!


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#894 2010-06-30 11:34:11

TheExternal
Scratcher
Registered: 2008-11-04
Posts: 54

Re: BYOB 3 - Discussion Thread

hey! has anyone come up with a block that maps out a variable's coordinates? That would be EXTREMELY helpful. Thanks!


http://i37.tinypic.com/2jdp99s.png
The funniest thing about this quote is that by the time you realize it doesn't say anything of importance, it's too late to stop reading it.

Offline

 

#895 2010-06-30 11:35:01

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#896 2010-06-30 12:59:39

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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?


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#897 2010-06-30 13:00:53

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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?


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#898 2010-06-30 13:26:50

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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)


Jens Mönig

Offline

 

#899 2010-06-30 23:42:22

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

2.99.026

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.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#900 2010-07-01 07:13:56

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: BYOB 3 - Discussion Thread

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 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.  smile  )

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.

Code:

start BYOB.exe BYOB.image dev

http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

Board footer