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

#4526 2012-02-10 23:01:42

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

MathWizz wrote:

@nXIII, I LOVE the GUI on your version.

Thanks! Any suggestions?

I'm probably going to use the minimal category buttons on the block dialog as well.

Last edited by nXIII (2012-02-10 23:02:34)


nXIII

Offline

 

#4527 2012-02-11 03:13:23

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

I'm probably going to use the minimal category buttons on the block dialog as well.

Umm.  Please let's don't have development forks.  Just one GUI, please, and if you're going to propose changes, you have to start by explaining why your proposal is better for a beginning user, i.e., one who has not already memorized how the category names correspond to colors, or does not even realize that there is more than one block palette.

Not meaning to rain on your parade, but we have a deadline in about two weeks, and load/save still needs work, and nobody should be working on GUI issues just now.

Thanks!


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

Offline

 

#4528 2012-02-11 03:27:01

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

Re: BYOB 3 - Discussion Thread

@bharvey : "Not meaning to rain on your parade, but we have a deadline in about two weeks, and load/save still needs work, and nobody should be working on GUI issues just now."
I fully support you. How could you make your presentation in the next few weeks without having prepared and saved your demos ?

Offline

 

#4529 2012-02-11 12:09:26

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

nXIII wrote:

I'm probably going to use the minimal category buttons on the block dialog as well.

Umm.  Please let's don't have development forks.  Just one GUI, please, and if you're going to propose changes, you have to start by explaining why your proposal is better for a beginning user, i.e., one who has not already memorized how the category names correspond to colors, or does not even realize that there is more than one block palette.

Consistency. It's confusing to have one part of the GUI look one way and another part of the GUI that does the same thing look different. A beginning user who has become familiar with the minimal tabs and sees this new interface would probably think it did something else.

Not meaning to rain on your parade, but we have a deadline in about two weeks, and load/save still needs work, and nobody should be working on GUI issues just now.

Well, there haven't really been any reporter bugs on this thread or the mailing list, so I don't have much to work on for the actual serialization (although, if anyone has found a bug, please report it! It makes my job easier  big_smile ). I am working on the BYOB project importer, but that's not really vital to demoing or safely saving projects.


nXIII

Offline

 

#4530 2012-02-11 13:07:22

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Okay, I actually did find a bug in the XML de-serializer—it wasn't loading circular data structures correctly. It's fixed now, so even crazy stuff like this works (try running the second script first; it should run forever). Just don't try to show the watcher...

Last edited by nXIII (2012-02-11 13:08:53)


nXIII

Offline

 

#4531 2012-02-11 13:13:28

funelephant
Scratcher
Registered: 2010-07-02
Posts: 1000+

Re: BYOB 3 - Discussion Thread

When is BYOB 4 scheduled to come out? (If there is a date)


nicki begs to differ
http://24.media.tumblr.com/ab0e6e8fd347c5e39c2821bcab9d16e6/tumblr_mgu35sui1L1rfb7aqo2_500.gif

Offline

 

#4532 2012-02-11 13:56:33

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII wrote:

Okay, I actually did find a bug in the XML de-serializer—it wasn't loading circular data structures correctly. It's fixed now, so even crazy stuff like this works (try running the second script first; it should run forever). Just don't try to show the watcher...

I got a failure code. 0x80040111. Whatever that means.
BTW, I think XML is a great idea. What with Scratch becoming so web based, I think eventually Scratch itself could be ported. You already did a bunch of the brainstorming for formatting it seems.  tongue

Jens, there's a bug in your version. When you've scrolled in a palette, switching to a different category sends it to the same scroll location.
Also, I know you said you wanted to do it all in a single CANVAS element, but I think it would be faster if the stage was in a separate one. Also the Snap! header and palette switcher. :3

Last edited by scimonster (2012-02-11 14:00:46)

Offline

 

#4533 2012-02-11 14:03:21

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

scimonster wrote:

I got a failure code. 0x80040111. Whatever that means.

In the error popup, or from your browser? (and, if so, what browser?)


nXIII

Offline

 

#4534 2012-02-11 18:54:53

Jutros
New Scratcher
Registered: 2011-01-24
Posts: 7

Re: BYOB 3 - Discussion Thread

My browser is set to clear cookies on closing.

I can save a project, close the nasciturus! tab and reopen it, and can open the project just fine. But if I close the browser and restart it, the project is gone.

Is this an oversight or is it working as intended?

-- Jutros

Offline

 

#4535 2012-02-11 19:36:21

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

Re: BYOB 3 - Discussion Thread

Jutros wrote:

But if I close the browser and restart it, the project is gone.
Is this an oversight or is it working as intended?

It's working as best it can.  Javascript doesn't get to write real files on your computer; it uses "local storage" -- not exactly cookies, but the same principle.  So, yeah, you have to whitelist Snap!.


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

Offline

 

#4536 2012-02-12 04:32:06

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII wrote:

scimonster wrote:

I got a failure code. 0x80040111. Whatever that means.

In the error popup, or from your browser? (and, if so, what browser?)

In an error popup in your Snap!. Also, all the UI elements were out of place.
I think I was using Aurora at the time. It's Firefox 12 alpha. The browser may be connected anyways.  wink

Offline

 

#4537 2012-02-12 10:10:53

Jutros
New Scratcher
Registered: 2011-01-24
Posts: 7

Re: BYOB 3 - Discussion Thread

bharvey wrote:

o, yeah, you have to whitelist Snap!.

Thank you. I guess I'll have to wait for the downloadable version then.

In addition, I foresee problems with computers at schools, which are highly protected and eradicate any changes made to them outside of personal folders on shutdown.

-- Jutros

Offline

 

#4538 2012-02-12 10:24:47

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII, is the importing working?
great progress  smile

Offline

 

#4539 2012-02-12 10:32:05

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

scimonster wrote:

nXIII wrote:

scimonster wrote:

I got a failure code. 0x80040111. Whatever that means.

In the error popup, or from your browser? (and, if so, what browser?)

In an error popup in your Snap!. Also, all the UI elements were out of place.
I think I was using Aurora at the time. It's Firefox 12 alpha. The browser may be connected anyways.  wink

Okay, it should be fixed now. There was something wrong with texture drawing.


nXIII

Offline

 

#4540 2012-02-12 10:34:54

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

roijac wrote:

nXIII, is the importing working?
great progress  smile

Thanks  big_smile . It's not functional yet, but I'm working on it.


nXIII

Offline

 

#4541 2012-02-12 11:20:23

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: BYOB 3 - Discussion Thread

funelephant wrote:

When is BYOB 4 scheduled to come out? (If there is a date)

It sort of already came out-- it's called Snap now.  wink

Offline

 

#4542 2012-02-12 12:19:09

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

Re: BYOB 3 - Discussion Thread

rdococ wrote:

It sort of already came out-- it's called Snap now.

(sigh)  You guys are helping alpha test a release that's far from "already out."  We appreciate the help, but, as you know, it doesn't yet have multisprite communication, costumes, etc., etc.  I've been saying Feb 28 is the beta deadline, but that's not really right; it's the deadline for an alpha version that we won't be embarrassed to demo.  We are still hoping for a real release early in the summer.


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

Offline

 

#4543 2012-02-12 12:23:19

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

Re: BYOB 3 - Discussion Thread

Jutros wrote:

Thank you. I guess I'll have to wait for the downloadable version then.

In addition, I foresee problems with computers at schools, which are highly protected and eradicate any changes made to them outside of personal folders on shutdown.

Hmm, we may have to rethink this issue.  We've been excited about a browser-based version because another problem with school computers is that the paranoid IT people won't let teachers install BYOB (because it doesn't come from Microsoft or Apple). Snap! doesn't require a download, which solves that problem, but as of now I don't know a solution that allows saving projects without one of allowing local storage, enabling Java, downloading software, or installing an upload server somewhere.


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

Offline

 

#4544 2012-02-12 12:30:32

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

don't embarrass to demo this - you just have to finish the GUI, speed it up, and finish multiple sprite and sound support. it's actually not very much left to do, when i'm thinking about the ST struggling their deadlines all the way up to late 2012  smile

Offline

 

#4545 2012-02-12 12:56:53

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Jutros wrote:

Thank you. I guess I'll have to wait for the downloadable version then.

In addition, I foresee problems with computers at schools, which are highly protected and eradicate any changes made to them outside of personal folders on shutdown.

Hmm, we may have to rethink this issue.  We've been excited about a browser-based version because another problem with school computers is that the paranoid IT people won't let teachers install BYOB (because it doesn't come from Microsoft or Apple). Snap! doesn't require a download, which solves that problem, but as of now I don't know a solution that allows saving projects without one of allowing local storage, enabling Java, downloading software, or installing an upload server somewhere.

Let's see... PHP has file read/write. How about creating a real save on the user's hard drive (as a .xml or maybe .snap), which means it could also be shared. Would that do better?

Offline

 

#4546 2012-02-12 13:29:04

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

Re: BYOB 3 - Discussion Thread

scimonster wrote:

Let's see... PHP has file read/write. How about creating a real save on the user's hard drive (as a .xml or maybe .snap), which means it could also be shared. Would that do better?

That would be great, but PHP runs on a server, not on a client, right?

I guess the official right thing is to make the user click "save page as..." in the browser's menu, which we've been trying to avoid because it's a non-morphic mechanism.


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

Offline

 

#4547 2012-02-12 13:36:05

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

scimonster wrote:

Let's see... PHP has file read/write. How about creating a real save on the user's hard drive (as a .xml or maybe .snap), which means it could also be shared. Would that do better?

That would be great, but PHP runs on a server, not on a client, right?

I guess the official right thing is to make the user click "save page as..." in the browser's menu, which we've been trying to avoid because it's a non-morphic mechanism.

Well, there's actually a (very hack-y) way to save a file with exclusively js, although it uses the 'download' attribute of the 'a' element, which I believe only Chrome supports; also, there is no way to replace an existing file or change the filename unless the user changes his/her preferences.

Last edited by nXIII (2012-02-12 13:37:14)


nXIII

Offline

 

#4548 2012-02-12 13:38:24

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Found and fixed a bug in XMLSerializer—hat blocks loaded as reporters...


nXIII

Offline

 

#4549 2012-02-12 14:00:17

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

scimonster wrote:

Let's see... PHP has file read/write. How about creating a real save on the user's hard drive (as a .xml or maybe .snap), which means it could also be shared. Would that do better?

That would be great, but PHP runs on a server, not on a client, right?

I guess the official right thing is to make the user click "save page as..." in the browser's menu, which we've been trying to avoid because it's a non-morphic mechanism.

AJAX+JS+PHP. Send a request to the server with the code, and then the PHP file does the downloading.

Offline

 

#4550 2012-02-12 14:18:09

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

Re: BYOB 3 - Discussion Thread

scimonster wrote:

AJAX+JS+PHP.

Does it have to be that complicated?  I'm pretty sure there were download buttons on web pages before there was Ajax.


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

Offline

 

Board footer