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

#4476 2012-02-04 23:33:29

Sidharth
Scratcher
Registered: 2007-12-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

nXIII wrote:

Sidharth wrote:

The save feature isn't working:

http://i.imgur.com/B2qPO.png

The project had:
- 1 list and its watcher
- one custom block

[...]

EDIT: Fixed it ... I think. Try it out here

Ooooh me gusta! Lots of new features!

Custom blocks work: here

EDIT: Run seems to be broken; it stays like http://i.imgur.com/OYQMD.png forever.

Last edited by Sidharth (2012-02-05 00:56:11)


http://www.danasoft.com/citysign.jpg

Offline

 

#4477 2012-02-05 12:42:26

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

Re: BYOB 3 - Discussion Thread

Sidharth wrote:

EDIT: Run seems to be broken; it stays like http://i.imgur.com/OYQMD.png forever.

Good catch! Run, call, and friends should work now.

(slightly ridiculous test project with every kind of CSlotMorph and CommandSlotMorph)

Last edited by nXIII (2012-02-05 12:50:03)


nXIII

Offline

 

#4478 2012-02-05 12:45:16

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

Sidharth wrote:

EDIT: Run seems to be broken; it stays like http://i.imgur.com/OYQMD.png forever.

Good catch! Run, call, and friends should work now.

(slightly ridiculous test project with every kind of CSlotMorph and CommandSlotMorph)

Whoops, wrong URL.  tongue

Offline

 

#4479 2012-02-05 12:49:06

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

Re: BYOB 3 - Discussion Thread

scimonster wrote:

Whoops, wrong URL.  tongue

Oh, yeah... localhost won't work at all.  tongue
EDIT: There we go. It should work now.

Last edited by nXIII (2012-02-05 12:50:35)


nXIII

Offline

 

#4480 2012-02-05 16:02:34

Sidharth
Scratcher
Registered: 2007-12-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

Why doesn't this work? The .each block just runs forever:

http://i.imgur.com/8ttN2.png

(The range %lb...%ub reports a list of integers starting with lb and increases by 1 upto %ub)

EDIT: Here's a link: LINK

Last edited by Sidharth (2012-02-05 16:04:20)


http://www.danasoft.com/citysign.jpg

Offline

 

#4481 2012-02-05 16:07:17

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

Re: BYOB 3 - Discussion Thread

Sidharth wrote:

Why doesn't this work?

Upvars ("Make internal var...") don't really work yet; Jens just made the user interface for them.  Stay tuned.


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

Offline

 

#4482 2012-02-05 16:15:52

Sidharth
Scratcher
Registered: 2007-12-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Sidharth wrote:

Why doesn't this work?

Upvars ("Make internal var...") don't really work yet; Jens just made the user interface for them.  Stay tuned.

Ah. It worked in the non-dropbox one (The one on chirp.scratchr.org), though.


http://www.danasoft.com/citysign.jpg

Offline

 

#4483 2012-02-05 16:38:49

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

Re: BYOB 3 - Discussion Thread

@ nXIII
Saving/loading of a simple project with one custom block from now is working.

Offline

 

#4484 2012-02-05 16:52:09

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

Re: BYOB 3 - Discussion Thread

@nXIII Saving/Loading of a project made with SET foo + CSCRIPT works as well.
When reloaded the foo variable is already runable (no need to run SET foo again.
I'm usinf Firefox 9.0

Offline

 

#4485 2012-02-05 17:17:55

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

Re: BYOB 3 - Discussion Thread

Sidharth wrote:

Why doesn't this work? The .each block just runs forever:

http://i.imgur.com/8ttN2.png

(The range %lb...%ub reports a list of integers starting with lb and increases by 1 upto %ub)

First, thank you for all the feedback, it's really helpful!  big_smile

I think I finally found what was actually causing the problem, rather than what seemed to fix it. There are still some issues with saving that seem to come from rearranging blocks, so I'll look into that (but it's a separate issue).

EDIT: Broken link, I'm sick of doing this by hand, so I'm implementing the "share…" menu item

Last edited by nXIII (2012-02-05 17:22:16)


nXIII

Offline

 

#4486 2012-02-05 17:19:36

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

Re: BYOB 3 - Discussion Thread

Sidharth wrote:

Ah. It worked in the non-dropbox one (The one on chirp.scratchr.org), though.

Ah.  I guess that's what comes of having two developers (Jens and nXIII, I mean) working independently.  Time for another merge.


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

Offline

 

#4487 2012-02-05 17:21:20

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

http://localhost/Snap/nasciturus.html

There's that localhost thing again.   smile


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

Offline

 

#4488 2012-02-05 17:22:50

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

nXIII wrote:

http://localhost/Snap/nasciturus.html

There's that localhost thing again.   smile

Yeah  tongue . It wasn't URLEncoded anyway, so it still wouldn't have worked.

Last edited by nXIII (2012-02-05 17:23:20)


nXIII

Offline

 

#4489 2012-02-05 17:32:48

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

Re: BYOB 3 - Discussion Thread

Test Project

EDIT: oops, wrong project version.

The "Share…" feature now "works", i.e., it generates a usable URL. However, the morphic text editing tools are incapable of letting the user copy the URL, so for now it's just console.log()'ed.

Last edited by nXIII (2012-02-05 17:35:19)


nXIII

Offline

 

#4490 2012-02-06 06:47:15

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

@Jens: You say you want to bypass all the local widgets, yet you use the local alert() box!  tongue  That should bring up a Morphic browser-independent box, otherwise the whole application would "freeze 'till further notice". Also, I'm sure I brought this up before, but it might be better to cheat a bit with the text stuff and use HTML <span>s. The Canvas API's fillText() function is pretty slow when called hundreds of times. Also, the buttons could be less fancy, gradients slow it down, too.

Last edited by Hardmath123 (2012-02-06 06:47:38)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4491 2012-02-06 06:48:31

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

@Jens: You say you want to bypass all the local widgets, yet you use the local alert() box!  tongue  That should bring up a Morphic browser-independent box, otherwise the whole application would "freeze 'till further notice". Also, I'm sure I brought this up before, but it might be better to cheat a bit with the text stuff and use HTML <span>s. The Canvas API's fillText() function is pretty slow when called hundreds of times. Also, the buttons could be less fancy, gradients slow it down, too.

this^^

Offline

 

#4492 2012-02-06 07:23:54

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

Re: BYOB 3 - Discussion Thread

Hehe, alert() is only temporarily in there for debugging purposes. Remember, this is our live development environment, therefore things will often be at times broken or otherwise non-functionial. As far as DOM-rendering is concerned I'm staying firmly on the Morphic side of things, and it's going to be blindingly fast anyway (because we can reuse gradients and cached bitmaps elsewhere), so don't worry. You knew that, of course  smile


Jens Mönig

Offline

 

#4493 2012-02-06 09:36:38

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Jens wrote:

Hehe, alert() is only temporarily in there for debugging purposes. Remember, this is our live development environment, therefore things will often be at times broken or otherwise non-functionial. As far as DOM-rendering is concerned I'm staying firmly on the Morphic side of things, and it's going to be blindingly fast anyway (because we can reuse gradients and cached bitmaps elsewhere), so don't worry. You knew that, of course  smile

My point there was, it's not blindingly fast (yet, anyway). I cannot have two Snap!s open in different tabs and working reliably, which is my usual speed test, and blocks are always 50 pixels behind the mouse (FF 3.5.3 Mac, Safari 5.1.2 Mac: both).


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4494 2012-02-06 10:20:52

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

Re: BYOB 3 - Discussion Thread

sigh - of course it's not yet blindingly fast, I'm in the midst of writing it, which includes inventing a whole novel GUI framework from Scratch. Guys, this isn't the product,  you're just looking over my shoulder...


Jens Mönig

Offline

 

#4495 2012-02-06 23:24:02

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

We all know that and support you all the way, If I ever stop dragging my feet and learn JS, I would be happy to write some code for you  wink  I know python and C but that's about it  tongue

Last edited by 14God (2012-02-06 23:28:22)


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#4496 2012-02-07 00:23:33

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

Re: BYOB 3 - Discussion Thread

14God wrote:

We all know that and support you all the way, If I ever stop dragging my feet and learn JS, I would be happy to write some code for you  wink  I know python and C but that's about it  tongue

For the next month, we're facing a tight deadline and adding contributors will probably make development slower rather than faster (because of debugging the interactions between different people's code).  Once we get past this crunch, I think we might welcome a few more contributors.  And once we have a real official release we'll throw it on Sourceforge and try to cope with thousands of contributors.  smile

P.S. I'd tell you how pleased I was to see your sig only it's against the rules.  tongue


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

Offline

 

#4497 2012-02-07 12:13:53

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

Re: BYOB 3 - Discussion Thread

@ jens, bharvey...and others
1 - I wonder if it would not be preferable to have the palette blobs at the highest part of the screen.
2 - Your "custom block" is improved. Curiously I could not make work a simple ABS block to report an absolute value. Neither with the "block", nor with SET + CSCRIPT. In both cases it "redfreezes".
3 - Personnally I like the way of putting together all custom blocks in the same palette rather than spiltting them amongst several palettes (contrarily to Byob 3)

Offline

 

#4498 2012-02-07 12:16:13

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

Re: BYOB 3 - Discussion Thread

@bharvey
Don't care too much of deadlines, it took some time also to Michelangelo to achieve his Sixtine Chapel masterpiece !

Offline

 

#4499 2012-02-07 12:40:11

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

Re: BYOB 3 - Discussion Thread

Hi Xavier,

you're right about the position of the category buttons. nXIII's version was an independent experiment with some interesting aspects to it. The actual Snap development version at the byob.berkeley.edu site or at chirp.scratchr.org has a different GUI (but saving is currently being rewritten by nXIII und doesn't work there). It's probably best and least confusing if we don't fork development versions all over the web  smile

custom reporter blocks work for me (without saving and loading, of course). Could you perhaps try again using the above url? thanks for your feedback and for all the encouragement!


Jens Mönig

Offline

 

#4500 2012-02-07 12:53:01

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: BYOB 3 - Discussion Thread

wow some great updates since i last looked! please could you make the broadcast blocks deafault in the same way thet scratch does?  smile


http://i.imgur.com/1QqnHxQ.png

Offline

 

Board footer