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

#376 2012-09-21 08:14:48

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

Re: JsScratch viewer development thread

@s_federici Thanks for the list. I'll look into them over the week.  big_smile


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

Offline

 

#377 2012-09-21 10:55:37

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

Re: JsScratch viewer development thread

MathWizz wrote:

@s_federici Thanks for the list

You are welcome. In effect I should start having a look at the source code myself and make the easiest changes (I spent the last 2 months at dissecting the main 3 files of SNAP's source code and I guess I acquired a lot of knowledge about HTML5 canvases). But looking at jsscratchplayer.user.js I see just one single javascript line. Where can I find a more readable version of jsscratchplayer source code?

Offline

 

#378 2012-09-21 11:42:30

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

Re: JsScratch viewer development thread

I have a question: is JsScratch's import procedure for sb projects complete?

Offline

 

#379 2012-09-21 12:53:22

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: JsScratch viewer development thread

s_federici wrote:

MathWizz wrote:

@s_federici Thanks for the list

You are welcome. In effect I should start having a look at the source code myself and make the easiest changes (I spent the last 2 months at dissecting the main 3 files of SNAP's source code and I guess I acquired a lot of knowledge about HTML5 canvases). But looking at jsscratchplayer.user.js I see just one single javascript line. Where can I find a more readable version of jsscratchplayer source code?

I looked at a basic project on the website, looked at the source, and found these js files:
* blocks.js
* jdataview.js
* datatypes.js
* jsscratch.js
* scratchio.js

I hope that answered your question.  smile

Offline

 

#380 2012-09-21 15:53:54

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

Re: JsScratch viewer development thread

s_federici wrote:

I have a question: is JsScratch's import procedure for sb projects complete?

Yeah, that is all complete.


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

Offline

 

#381 2012-09-22 09:49:33

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

Re: JsScratch viewer development thread

ProgrammingFreak wrote:

I looked at a basic project on the website, looked at the source, and found these js files:
* blocks.js
* jdataview.js
* datatypes.js
* jsscratch.js
* scratchio.js

Thanks! In effect it was a while I was away from the JsScratch website. And I noticed the exceptionally smooth 3d.sb! Just to give you an idea of how much better JsScratch player is compared to Flash Player, have a look at http://scratch.mit.edu/projects/comunicazione/2793532 where I reuploaded 3d.sb  smile

Offline

 

#382 2012-09-22 10:11:12

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: JsScratch viewer development thread

s_federici wrote:

ProgrammingFreak wrote:

I looked at a basic project on the website, looked at the source, and found these js files:
* blocks.js
* jdataview.js
* datatypes.js
* jsscratch.js
* scratchio.js

Thanks! In effect it was a while I was away from the JsScratch website. And I noticed the exceptionally smooth 3d.sb! Just to give you an idea of how much better JsScratch player is compared to Flash Player, have a look at http://scratch.mit.edu/projects/comunicazione/2793532 where I reuploaded 3d.sb  smile

Exceptional! I'm currently on a slower desktop and it took a bit to load the Flash Player, but Jsscratch was playing in a flash (no pun intended)  big_smile  Great job, Math.

Also, I respect what this project has become even more. Recently I was messing around with getting scratch project data from binary and it was more difficult than I thought. I was able to read the header and things such as that, but I couldn't quite get the int value of infoSize to work with infoObject. Anyways, great job.  smile

Offline

 

#383 2012-09-22 10:21:59

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

Re: JsScratch viewer development thread

Thanks, both of you.  big_smile


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

Offline

 

#384 2012-09-22 10:27:50

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: JsScratch viewer development thread

No problem.  big_smile
So what's the next step that you're working on?

(scratchchat?)

Offline

 

#385 2012-09-22 10:33:55

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

Re: JsScratch viewer development thread

Ehh... Both of those are dead for now. I am currently experimenting with a forum notification extension thing.


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

Offline

 

#386 2012-09-22 10:43:20

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: JsScratch viewer development thread

Nice.  smile
I actually was just asking about jsscratch. The other was the queer way of me asking if you wanted to talk on scratchchat.  tongue

Offline

 

#387 2012-09-22 10:49:55

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

Re: JsScratch viewer development thread

Oh, lol.


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

Offline

 

#388 2012-09-23 08:49:49

aion5
Scratcher
Registered: 2011-12-05
Posts: 100+

Re: JsScratch viewer development thread

Could I help? I'm pretty good with JavaScript and I like the idea of this project a lot.  smile


roll  I am http://blocks.scratchr.org/API.php?user=aion5&action=onlineStatus&type=text

Offline

 

#389 2012-09-23 11:05:36

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

Re: JsScratch viewer development thread

Mini glitch: your URL regexp isn't too good, you pick up things like a.b, too.


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

Offline

 

#390 2012-09-23 13:40:37

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

Re: JsScratch viewer development thread

Hardmath123 wrote:

Mini glitch: your URL regexp isn't too good, you pick up things like a.b, too.

Huh?


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

Offline

 

#391 2012-09-23 13:42:30

aion5
Scratcher
Registered: 2011-12-05
Posts: 100+

Re: JsScratch viewer development thread

so can I join?


roll  I am http://blocks.scratchr.org/API.php?user=aion5&action=onlineStatus&type=text

Offline

 

#392 2012-09-23 13:49:21

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

Re: JsScratch viewer development thread

aion5 wrote:

so can I join?

No, sorry. This is now my personal project.


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

Offline

 

#393 2012-09-24 04:38:40

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

Re: JsScratch viewer development thread

New kind of problem: this project doesn't complete loading...

Offline

 

#394 2012-09-28 18:06:28

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: JsScratch viewer development thread

You should make something like Scratch where you can create programs and upload them. I know that's sounds easier said than done, but it would be pretty cool.  cool


http://i50.tinypic.com/dopbtw.png

Offline

 

#395 2012-09-29 03:01:54

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

Re: JsScratch viewer development thread

curiouscrab wrote:

You should make something like Scratch where you can create programs and upload them

If you are looking for a complete Scratch-like environment built with javascript look at Jen's SNAP. It is pretty cool. Unfortunately it doesn't load standard Scratch1.4/2.0 projects (yet).

Offline

 

#396 2012-10-05 13:05:06

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

Re: JsScratch viewer development thread

Any... news?  smile

Offline

 

#397 2012-10-05 17:48:22

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

Re: JsScratch viewer development thread


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

Offline

 

#398 2012-10-07 15:37:12

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

Re: JsScratch viewer development thread

Great! Now the fractal project is working fine. Please, let me know when you have solved the other issues too  smile

Offline

 

#399 2012-10-07 17:10:46

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

Re: JsScratch viewer development thread

Greasemonkey keeps saying you've updated, changelogs please!


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

Offline

 

#400 2012-10-07 17:47:19

transparent
Scratcher
Registered: 2011-04-19
Posts: 1000+

Re: JsScratch viewer development thread

Ooh, yes, changelogs would be very nice so that we can know some new features. :3


yes, yes i do.

Offline

 

Board footer