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

#4001 2011-11-06 01:02:18

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

Re: BYOB 3 - Discussion Thread

Hey, I thought of a way to speed up Morphic textboxes: when clicked, make them prompt() for the input text. This'll work on mobile devices, too!


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

Offline

 

#4002 2011-11-06 02:53:45

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

Hey, I thought of a way to speed up Morphic textboxes: when clicked, make them prompt() for the input text. This'll work on mobile devices, too!

good idea!
but they should still accept dnd.

Offline

 

#4003 2011-11-06 02:56:03

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

Re: BYOB 3 - Discussion Thread

SePo wrote:

Hello

bharvey wrote:

@roijac:  Below is an excerpt from my email.  Please fix...
I am trying to install BYOB on Xbuntu but using deb installer (http://byob.berkeley.edu/byob-3.1.1-4thlinux.deb) causes dpkg errors. Could you (or roijac) check it's correctness (I cannot even check the dependencies)?

Well, that was my problem in fact. I didn't think to check the Scratch forum for BYOB.

roijac wrote:

is he installing with USC? it doesn't work with it, he should try GDebi

After installing BYOB manually on Xubuntu (ubuntu with XFCE), I managed to install the deb package downloaded today with GDebi.
Well, to be honest I did the same several times with GDebi and dpkg before manual installation, and it has always shown an error with the package (I havent written it down, so I cannot say what the error was - it simpy refused opening the package).
Neverthless it has installed correctly now (maybe the download was corrupted).

Thank you and sorry for bothering.

no problem!  smile

Offline

 

#4004 2011-11-06 05:46:14

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

Re: BYOB 3 - Discussion Thread

Three new things:
Sprite panel
Better buttons
Checkboxes for watchers
big_smile

EDIT: Interesting image for Snap!
http://www.imgpaste.com/QOSx.png

Last edited by Hardmath123 (2011-11-06 05:51:11)


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

Offline

 

#4005 2011-11-06 06:35:23

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

EDIT: Interesting image for Snap!
http://www.imgpaste.com/QOSx.png

I fail to understand how it relates to snap, but cool logo anyway  big_smile


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

Offline

 

#4006 2011-11-06 06:37:14

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

Re: BYOB 3 - Discussion Thread

rookwood101 wrote:

Hardmath123 wrote:

EDIT: Interesting image for Snap!
http://www.imgpaste.com/QOSx.png

I fail to understand how it relates to snap, but cool logo anyway  big_smile

Lambda...


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

Offline

 

#4007 2011-11-06 08:45:28

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

rookwood101 wrote:

Hardmath123 wrote:

EDIT: Interesting image for Snap!
http://www.imgpaste.com/QOSx.png

I fail to understand how it relates to snap, but cool logo anyway  big_smile

Lambda...

I'm no expert  big_smile  well, you could say I don't really know anything about squeak and stuff like that.


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

Offline

 

#4008 2011-11-06 10:45:29

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

rookwood101 wrote:

Hardmath123 wrote:

rookwood101 wrote:

I fail to understand how it relates to snap, but cool logo anyway  big_smile

Lambda...

I'm no expert  big_smile  well, you could say I don't really know anything about squeak and stuff like that.

Or Greek. Because Lambda is a Greek letter...


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#4009 2011-11-06 10:47:28

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

Re: BYOB 3 - Discussion Thread

*reporting bug*
try open the coordination watchers, and drag the sprite

Offline

 

#4010 2011-11-06 11:20:08

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

Re: BYOB 3 - Discussion Thread

roijac wrote:

Hardmath123 wrote:

Hey, I thought of a way to speed up Morphic textboxes: when clicked, make them prompt() for the input text. This'll work on mobile devices, too!

good idea!
but they should still accept dnd.

What's dnd? Drag n drop? If so, maybe we could give up on string/num inputs on a whole and make do with reporter slots, then plug in a block called (The string(/number) [Hi world]). Like App Inventor, but cooler.


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

Offline

 

#4011 2011-11-07 03:58:25

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

Three new things:
Sprite panel
Better buttons
Checkboxes for watchers

Good eye!

The sprite corral isn't yet in the works, but I wanted to freeze the stage size to get used to it.

One more new thing: block labels are slightly more complex (embossed).


Jens Mönig

Offline

 

#4012 2011-11-09 08:37:07

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

Re: BYOB 3 - Discussion Thread

An explanation of some abstract BYOB blocks. Please check it out!

Last edited by Hardmath123 (2011-11-09 09:29:41)


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

Offline

 

#4013 2011-11-10 12:40:19

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

Re: BYOB 3 - Discussion Thread

lists!
big_smile

Offline

 

#4014 2011-11-10 16:25:30

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

Re: BYOB 3 - Discussion Thread

with lists added, snap is already more powerful then vanilla scratch  big_smile
but wait, how do you index the list?

Last edited by 14God (2011-11-10 16:26:17)


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

Offline

 

#4015 2011-11-10 21:12:51

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

Re: BYOB 3 - Discussion Thread

I'm still working on lists. Right now I've completed the first pass at list watchers. Since lists are first class citizens of Snap we're not going to have named "make a list" lists, instead you can assign a new list - reported by the LIST block - to a variable, and this will turn the variable watcher into a list watcher. Another effect of first class lists is that you can have several different variables pointing to the same list. In this case, each variable/list watcher gets updated whenever the list changes either through blocks or by editing one of its watchers.


Jens Mönig

Offline

 

#4016 2011-11-10 21:26:42

cocolover76
Scratcher
Registered: 2011-10-09
Posts: 500+

Re: BYOB 3 - Discussion Thread

Can I base Sconline off of this?
EDIT: Oh. The license says I am free to modify it.
EDIT 2: Oops. I forgot to say I was talking about BYOB 4.
EDIT 3: Decided not to.

Last edited by cocolover76 (2011-11-10 21:44:35)


http://i.imgur.com/HfEPZ.gifhttp://i.imgur.com/pvKb6.png

Offline

 

#4017 2011-11-11 05:04:59

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

Re: BYOB 3 - Discussion Thread

@Jens
First list trial
http://www.xleroy.net/ByobTuto/New/Snap!/firstlis.gif
The watcher does nort work for the "second" list "asil"

Offline

 

#4018 2011-11-11 08:10:36

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

Re: BYOB 3 - Discussion Thread

Hi Xavier,
thanks for the test! I couldn't reproduce your "asil" problem, both watchers work correctly for me. But this morning I fixed a bug in the Morphic kernel related to scrolling objects in nested scroll frames, so maybe that was the culprit. Could you try again? Thanks!


Jens Mönig

Offline

 

#4019 2011-11-11 08:33:33

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

An explanation of some abstract BYOB blocks. Please check it out!

^^ This got buried under the list excitement...  tongue

EDIT: Oh, and can you add 25 pixels of blank space under the last block in the frame? It gets blocked by the FireFox scrollbar.

Last edited by Hardmath123 (2011-11-11 10:58:34)


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

Offline

 

#4020 2011-11-11 14:59:39

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

Re: BYOB 3 - Discussion Thread

Jens wrote:

Hi Xavier,
thanks for the test! I couldn't reproduce your "asil" problem, both watchers work correctly for me. But this morning I fixed a bug in the Morphic kernel related to scrolling objects in nested scroll frames, so maybe that was the culprit. Could you try again? Thanks!

You're right, it works perfecty well.
I suspect that I have had beforehand a crash. As far as I know in this case Snap! makes a memory mismatch and loses control of its variables.
In addition I've the impression that your Snap! list watcher is more "fluent" (less "touchy") than the Byob equivalent.

Offline

 

#4021 2011-11-11 22:09:41

cocolover76
Scratcher
Registered: 2011-10-09
Posts: 500+

Re: BYOB 3 - Discussion Thread

xly wrote:

@Jens
First list trial
http://www.xleroy.net/ByobTuto/New/Snap!/firstlis.gif
The watcher does nort work for the "second" list "asil"

Right click. Demo. ListWatcherMorph.
Also, it is as slow as a slug when it's not the only tab open.


http://i.imgur.com/HfEPZ.gifhttp://i.imgur.com/pvKb6.png

Offline

 

#4022 2011-11-13 03:50:13

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

Re: BYOB 3 - Discussion Thread

this thread is now longer than panther's  smile

Offline

 

#4023 2011-11-13 06:07:36

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

Re: BYOB 3 - Discussion Thread

@Jens
When you make a "one-level" list the size of the box of the watcher can't be changed by using the triangle mark.
But if you make a "three-level" list of list of list, then the size of the 2nd and 3rd level watcher boxes can be changed, but not yet the size of the 1st level box.

Offline

 

#4024 2011-11-13 06:14:50

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

Re: BYOB 3 - Discussion Thread

@Jens
Sorry, the width of the 1st box can be changed, but not its height.

Offline

 

#4025 2011-11-13 07:48:27

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

Re: BYOB 3 - Discussion Thread

@xly, they both can be changed  tongue

@jens, the watcher gets resized every time you reassign it. also, how long do you think it will take till blocks like <%item in %list> or (%n of %list)?

Offline

 

Board footer