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

#5176 2012-05-22 09:22:52

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

Re: BYOB 3 - Discussion Thread

Jens wrote:

Snap! alpha update:

Virtual keyboard and pinch zoom for iPads are now available in a first (still rough) version in the current alpha build.

Enjoy!

Cool! That's quite amazing. I just tried it on an iPad, and my only problems were:
—Menu items are too small to pick accurately
—If you open up touch screen settings, you get a slider wherever you try to type
—When resizing, via pinching, the screen develops gray boxes in places (maybe that's a problem with your dirtyrect algorithm)

How did you implement that native keyboard support?


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

Offline

 

#5177 2012-05-22 13:01:57

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

Re: BYOB 3 - Discussion Thread

don't switch to mobile settings, you'll get the virtual keyboard anyway. I'm working on a conflict-free way for context menus, then pinch gestures should work much better. Stay tuned!


Jens Mönig

Offline

 

#5178 2012-05-22 13:53:47

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

Re: BYOB 3 - Discussion Thread

Jens wrote:

don't switch to mobile settings, you'll get the virtual keyboard anyway. I'm working on a conflict-free way for context menus, then pinch gestures should work much better. Stay tuned!

But the context menus are better with mobile settings.


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

Offline

 

#5179 2012-05-23 08:07:11

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

Re: BYOB 3 - Discussion Thread

Hey Jens, I wrote up a pretty rough and ugly article on Morphic: http://wiki.scratch.mit.edu/wiki/Morphic. (Notice the mention of Morphic.js!) Would you mind uplifting the standards a bit? I literally spit out everything I knew about Morphic, which actually didn't end up adding up to much, so I thought you might be able to help me get that article looking reasonable.

Thanks,
Hardmath


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

Offline

 

#5180 2012-05-23 09:19:04

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

Re: BYOB 3 - Discussion Thread

Hi Hardmath, thanks for the article on Morphic, it's actually not bad at all!


Jens Mönig

Offline

 

#5181 2012-05-23 09:23:22

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

Re: BYOB 3 - Discussion Thread

Snap! alpha update

after Brian's suggestion I've changed the Morphic gesture for invoking context menus on touchscreen devices to (single finger) tap-and-hold (which makes pinch-zoom work better), and also done my best to get rid of "greyed out" areas when the virtual keyboard is shown.

Personally I now find it a lot easier to work with Snap on my iPad. I'd be interested in your experiences.

Thanks, and Enjoy!


Jens Mönig

Offline

 

#5182 2012-05-23 12:35:06

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

Re: BYOB 3 - Discussion Thread

Jens wrote:

Snap! alpha update

after Brian's suggestion I've changed the Morphic gesture for invoking context menus on touchscreen devices to (single finger) tap-and-hold (which makes pinch-zoom work better), and also done my best to get rid of "greyed out" areas when the virtual keyboard is shown.

Personally I now find it a lot easier to work with Snap on my iPad. I'd be interested in your experiences.

Thanks, and Enjoy!

Ah! Just got out my iPad and tested it out, it's much better now. Though maybe you should disable the pinch-zoom functionality, you don't really need it.  smile

On a heavier note, My iPad sorta crashed when I created an infinite loop warp, maybe you should try to catch infinite loops?  sad


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

Offline

 

#5183 2012-05-23 13:13:04

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

Re: BYOB 3 - Discussion Thread

Jens wrote:

Snap! alpha update

after Brian's suggestion I've changed the Morphic gesture for invoking context menus on touchscreen devices to (single finger) tap-and-hold (which makes pinch-zoom work better), and also done my best to get rid of "greyed out" areas when the virtual keyboard is shown.

Personally I now find it a lot easier to work with Snap on my iPad. I'd be interested in your experiences.

Thanks, and Enjoy!

Being an Android user, I am out of the contest. Nevertheless no improvement at all. Now when I click on a palette block I always get the Help pop-up and it is quite impossible to move the block. I've found a turnaround. I run the instruction and this disconnects for a while this boring  Help.
In addition I feel that the script area is smaller and the windows larger than with the PC version.

Offline

 

#5184 2012-05-23 13:23:04

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

Re: BYOB 3 - Discussion Thread

xly wrote:

@Jens
On my tab the drag-n-drop method is slow and touchy.
May I suggest you a different way to move palette block onto the script area ?
Select a palette block by clicking on it , then click on the position of the Script Area where you want to move it (no more dragging) .
Then you move the block inside the script area as usual.
Anyhow you have succeeded in making the proof of the concept .
Wonderful !!!!
I'm going now to make a test with a physical keyboard

That would be a great way to move things on tablets and PCs. But drag-and-drop shouldn't become completely obsolete.  wink

Offline

 

#5185 2012-05-23 14:02:13

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

Re: BYOB 3 - Discussion Thread

Okay, you were right, the "hold" part of the touch-and-hold gesture was probably too short, resulting in context menus popping up too often. I've changed the timing so now it takes a little longer to pop-up the context menu. I've also changed it so the screen doesn't get redrawn whenever a touch-event ends. This should result in more smooth gesturing on touchscreens.

Please let me know if this helps,
Thanks!


Jens Mönig

Offline

 

#5186 2012-05-23 15:38:19

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

Re: BYOB 3 - Discussion Thread

I am the bad boy of the class with my Android Tab.
Anyway, I'm happy to communicate the surprising result of my experiments.

With my PC (Windows XP) I use an inexpensive Logitech wireless solution Mouse +  Keyboard + Usb dongle. When I connect the Logitech dongle directly on the Usb connector of my Acer Iconia Tab 500, the mouse and the keyboard are immediately recognized and active. I can play with Snap! like a charm (+ Chrome) almost as easily as with the PC !!
I've still minor problems, because Android does not recognize the French keyboard (I'll fix that by buying an american one). Another issue is that the right-click is not recognized and thus I can't activate the "Make a block" instruction (this could be replaced by a palette instruction ?). On top of that the "Export file " feature works but right now I don't know how to save the text appearing in the "xml window".
I am going now to try to Import one of my Snap! projects.
I shall report.

Last edited by xly (2012-05-24 02:39:22)

Offline

 

#5187 2012-05-23 19:36:28

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: BYOB 3 - Discussion Thread

xly wrote:

"I am the bad boy of the glass " ...read "class" instead of "glass"

You CAN edit your posts...
http://img96.imageshack.us/img96/4613/editbs.png


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#5188 2012-05-23 22:53:54

OldCodger
New Scratcher
Registered: 2012-05-16
Posts: 54

Re: BYOB 3 - Discussion Thread

Jens,

I might have hit a bug in BYOB. I have a sprite that moves around the stage cleaning up dust. BYOB crashed with a message:

"Failed to open Midi ouput device Micosoft Midi mapper
・V・X・e・€・ノ・h・・・C・o・ェ・C・・・X・g・[・・・ウ・・・ト・「・ワ・ケ・・・B"

Note I have a Japanese operating sytem and I suspect the second line of the message looks gibberish because of the encoding.

If this is a genuine bug should I make a bug report through Bugzilla?

Graham

Offline

 

#5189 2012-05-23 23:04:54

christian2000
Scratcher
Registered: 2010-11-01
Posts: 100+

Re: BYOB 3 - Discussion Thread

i have a bug! A few days ago one of my cousins pressed some button on the keyboard and a white box where i could enter text appeared. I closed and reopened BYOB but it stayed! Is there a way I can remove it?


blerp......
http://obscureinternet.com/wp-content/uploads/Fail-at-Life-Funny-Cards.png

Offline

 

#5190 2012-05-24 02:22:59

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

Re: BYOB 3 - Discussion Thread

Hi christian2000, what you're seeing is Scratch's ASK prompter invoked from the stage, not a BYOB bug.


Jens Mönig

Offline

 

#5191 2012-05-24 02:24:08

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

Re: BYOB 3 - Discussion Thread

Hi Graham, this looks like a Squeak VM bug to me. Which OS are you using? Thanks!


Jens Mönig

Offline

 

#5192 2012-05-24 02:28:37

OldCodger
New Scratcher
Registered: 2012-05-16
Posts: 54

Re: BYOB 3 - Discussion Thread

Hi Jens,

I'm using Windows Vista Home Premium.

Offline

 

#5193 2012-05-24 02:40:56

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

Re: BYOB 3 - Discussion Thread

@MathWizz
"You CAN edit your posts..."
Thank you for advice

Offline

 

#5194 2012-05-24 03:27:27

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

Re: BYOB 3 - Discussion Thread

Thanks, Graham. I'm sorry you're having problems with BYOB. I don't think this error has anything to do with your Windows' locale setting, apparently it tries to access a MIDI output device. Maybe you're using a special MIDI device? In this case you could try a different one or resetting your MIDI options to the Windows default. Anyway, since this is an off-the-shelf Squeak VM we're using for BYOB (the same one Scratch is using) we're probably not going to debug it at this stage of Snap development.


Jens Mönig

Offline

 

#5195 2012-05-24 10:32:21

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

Re: BYOB 3 - Discussion Thread

I know you guys don't like us complaining about features, but I found something that could be useful for the midi blocks in snap: http://mudcu.be/midi-js/  smile


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

Offline

 

#5196 2012-05-24 10:41:53

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

Re: BYOB 3 - Discussion Thread

rookwood101 wrote:

I know you guys don't like us complaining about features, but I found something that could be useful for the midi blocks in snap: http://mudcu.be/midi-js/  smile

That's not complaining, that's offering a great solution!

Offline

 

#5197 2012-05-24 12:38:26

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

Re: BYOB 3 - Discussion Thread

Oh wow, rookwood101, that really does look (and sound!) great. Thanks for the link!


Jens Mönig

Offline

 

#5198 2012-05-24 12:54:27

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

maybe you should try to catch infinite loops?  sad

Sadly, this is theoretically impossible.

We could catch certain special cases of infinite loops, of course, but that has to wait until we can put some time into error handling in general.

But, doesn't pushing the stop button work?


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

Offline

 

#5199 2012-05-24 14:37:47

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

Re: BYOB 3 - Discussion Thread

xly wrote:

Being an Android user, I am out of the contest.

Not at all; it has to work on Android, too!


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

Offline

 

#5200 2012-05-24 14:50:44

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

Re: BYOB 3 - Discussion Thread

@jens, the stop sign is disappearing on windows. ubuntu works though  smile
maybe replace the unicode with bitmaps?

Offline

 

Board footer