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

#251 2012-06-06 12:53:50

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

Re: JsScratch viewer development thread

MathWizz wrote:

Hardmath123 wrote:

Settings > Safari > Advanced > Debug Console  wink

Would you mind giving me a log? :3

On all of them I get the same error:

JavaScript: Error
undefined
ReferenceError: Can't find variable: Float64Array

iPhone 3GS running iOS 5.1.1 (latest version)

Last edited by rookwood101 (2012-06-06 12:57:17)


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

Offline

 

#252 2012-06-06 13:45:52

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

Re: JsScratch viewer development thread

rookwood101 wrote:

MathWizz wrote:

Hardmath123 wrote:

Settings > Safari > Advanced > Debug Console  wink

Would you mind giving me a log? :3

On all of them I get the same error:

JavaScript: Error
undefined
ReferenceError: Can't find variable: Float64Array

iPhone 3GS running iOS 5.1.1 (latest version)

That's what I was afraid of.  sad  That's how doubles are read from the Scratch file. Float64Array is unsupported on many devices.

Last edited by MathWizz (2012-06-06 13:46:33)


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

Offline

 

#253 2012-06-07 02:08:44

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: JsScratch viewer development thread

I get the same iOS5.1 JS error (except for img_test3 that loads fine):

undefined ReferenceError: Can't find variable: Float64Array

Offline

 

#254 2012-06-07 04:31:21

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

Re: JsScratch viewer development thread


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

Offline

 

#255 2012-06-07 09:44:52

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

Re: JsScratch viewer development thread

Interesting... I'll check it out.


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

Offline

 

#256 2012-06-08 15:29:27

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: JsScratch viewer development thread

Rhy recently made one that runs on .sb2 (his own extension I think). It's turning out really good, why don't you check it out @ http://dl.dropbox.com/u/12239448/js%20p … /index.htm.

Offline

 

#257 2012-06-08 17:23:19

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

Re: JsScratch viewer development thread

chanmanpartyman wrote:

Rhy recently made one that runs on .sb2 (his own extension I think). It's turning out really good, why don't you check it out @ http://dl.dropbox.com/u/12239448/js%20p … /index.htm.

wow.


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

Offline

 

#258 2012-06-09 03:00:45

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: JsScratch viewer development thread

chanmanpartyman wrote:

Rhy recently made one that runs on .sb2 (his own extension I think)[/url].

Hey, what about RHY? I know the account has been cancelled by the Scratch Team. It seems incredible to me. What could a so good programmer have done to make them cancel the account? How are you in touch with RHY?

Offline

 

#259 2012-06-09 03:30:03

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: JsScratch viewer development thread

chanmanpartyman wrote:

Rhy recently made one that runs on .sb2 (his own extension I think)

As it turned out (I personally tested it) sb2 projects can be perfectly loaded by the new Scratch 2.0. Incredibly enough, whereas line2tennis and other games runs smoothly on RHY's javascript player, they "die" (that is, they are INCREDIBLY slow) in the new Scratch 2.0 player.

Offline

 

#260 2012-06-10 18:45:31

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: JsScratch viewer development thread

s_federici wrote:

chanmanpartyman wrote:

Rhy recently made one that runs on .sb2 (his own extension I think)

As it turned out (I personally tested it) sb2 projects can be perfectly loaded by the new Scratch 2.0. Incredibly enough, whereas line2tennis and other games runs smoothly on RHY's javascript player, they "die" (that is, they are INCREDIBLY slow) in the new Scratch 2.0 player.

Hmm... it maybe trying to convert it while its running, though I doubt it. It's probably just the way RHY wrote the stuff.

Offline

 

#261 2012-06-11 03:55:42

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: JsScratch viewer development thread

chanmanpartyman wrote:

Hmm... it maybe trying to convert it while its running, though I doubt it. It's probably just the way RHY wrote the stuff.

The javascript code says that the conversion is done client-side. I had liked to be able to download the whole process locally. Unfortunately when I try to run the saved code nothing happens  sad

Offline

 

#262 2012-06-11 06:48:13

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

Re: JsScratch viewer development thread

chanmanpartyman wrote:

Rhy recently made one that runs on .sb2 (his own extension I think). It's turning out really good, why don't you check it out @ http://dl.dropbox.com/u/12239448/js%20p … /index.htm.

...

RHY has too much time on his hands.


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

Offline

 

#263 2012-06-11 09:41:13

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: JsScratch viewer development thread

s_federici wrote:

chanmanpartyman wrote:

Rhy recently made one that runs on .sb2 (his own extension I think)[/url].

Hey, what about RHY? I know the account has been cancelled by the Scratch Team. It seems incredible to me. What could a so good programmer have done to make them cancel the account? How are you in touch with RHY?

Rhy's (and anyone else's) ban is not allowed to be discussed with anyone but Rhy and the Scratch Team and anyone Rhy chooses to share that with, sorry.

s_federici wrote:

chanmanpartyman wrote:

Hmm... it maybe trying to convert it while its running, though I doubt it. It's probably just the way RHY wrote the stuff.

The javascript code says that the conversion is done client-side. I had liked to be able to download the whole process locally. Unfortunately when I try to run the saved code nothing happens  sad

I believe you didn't save the sb2s as well.


Posts: 20000 - Show all posts

Offline

 

#264 2012-06-11 11:50:25

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: JsScratch viewer development thread

s_federici wrote:

chanmanpartyman wrote:

Rhy recently made one that runs on .sb2 (his own extension I think)[/url].

Hey, what about RHY? I know the account has been cancelled by the Scratch Team. It seems incredible to me. What could a so good programmer have done to make them cancel the account? How are you in touch with RHY?

I'm not, I just happened to view his site, go.ggles.net. I saw the link in the Twitter channel. But veggieman001 is right, ST discourages gossip of other scratchers and such. So let's not discuss what he did to get banned.

Offline

 

#265 2012-06-11 12:02:17

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: JsScratch viewer development thread

veggieman001 wrote:

I believe you didn't save the sb2s as well.

Yes, thanks. And I didn't save the zipfile.complete.js script either. But, unfortunately, nothing has changed. When I open the index.htm page that I downloaded I don't see the canvas. And nothing happens when I select an example (that I downloaded locally) and click PLAY.

Any further suggestion?

Offline

 

#266 2012-06-11 17:02:56

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

Re: JsScratch viewer development thread

s_federici wrote:

veggieman001 wrote:

I believe you didn't save the sb2s as well.

Yes, thanks. And I didn't save the zipfile.complete.js script either. But, unfortunately, nothing has changed. When I open the index.htm page that I downloaded I don't see the canvas. And nothing happens when I select an example (that I downloaded locally) and click PLAY.

Any further suggestion?

Check errors in the console?


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

Offline

 

#267 2012-06-11 17:06:05

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: JsScratch viewer development thread

s_federici wrote:

veggieman001 wrote:

I believe you didn't save the sb2s as well.

Yes, thanks. And I didn't save the zipfile.complete.js script either. But, unfortunately, nothing has changed. When I open the index.htm page that I downloaded I don't see the canvas. And nothing happens when I select an example (that I downloaded locally) and click PLAY.

Any further suggestion?

Perhaps try it on a local server? I've known things like JavaScript, Flash, and Java objects to malfunction unless on some sort of server.


Posts: 20000 - Show all posts

Offline

 

#268 2012-06-11 17:47:40

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

Re: JsScratch viewer development thread

Look in the console for errors.


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

Offline

 

#269 2012-06-12 10:13:20

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: JsScratch viewer development thread

veggieman001 wrote:

Perhaps try it on a local server? I've known things like JavaScript, Flash, and Java objects to malfunction unless on some sort of server.

I downloaded the source code from http://code.google.com/p/sb2-js/ and everything worked as expected on my local server (easyphp). I submitted to the author several projects that don't work in the player (note: to load Scratch 1.4 projects in the player you have to load them in Scratch 2.0 in advance and then save them back as sb2.

So, if you want to beta-test... just go!

Offline

 

#270 2012-06-22 12:10:27

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

Re: JsScratch viewer development thread

I made a compatablility update. Please test on your iPods/iPads/Androids/And/Any/Other/Devices/You/Might/Happen/To/Have.


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

Offline

 

#271 2012-06-22 12:34:34

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

Re: JsScratch viewer development thread

player wrote:

uncaught exception: Unknown command: say:duration:elapsed:from:

Offline

 

#272 2012-06-22 12:54:31

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

Re: JsScratch viewer development thread

roijac wrote:

player wrote:

uncaught exception: Unknown command: say:duration:elapsed:from:

That's only an unsupported block... but if you got that error, it means that it loaded past the part I am wondering about.  tongue


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

Offline

 

#273 2012-07-11 14:59:18

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

Re: JsScratch viewer development thread

Guess what? User script time!

Download!

This is HIGHLY experimental and the chance of it working properly is very small. Visit a project to try it!


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

Offline

 

#274 2012-07-11 16:23:00

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: JsScratch viewer development thread

MathWizz wrote:

This is HIGHLY experimental and the chance of it working properly is very small. Visit a project to try it!

I like a lot experimenting but, before installing, will it be easy to disable it if I don't want it to run Scratch site's projects anymore?

Offline

 

#275 2012-07-11 16:33:11

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

Re: JsScratch viewer development thread

s_federici wrote:

MathWizz wrote:

This is HIGHLY experimental and the chance of it working properly is very small. Visit a project to try it!

I like a lot experimenting but, before installing, will it be easy to disable it if I don't want it to run Scratch site's projects anymore?

You have Chrome, right? Go to chrome://chrome/extensions/ and uncheck the enabled box next to the script.


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

Offline

 

Board footer