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

#351 2012-08-14 08:54:11

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

Re: JsScratch viewer development thread

s_federici wrote:

I don't know if the counting is reliable, but when this project is run in flash player it says 31FPS, whereas jsscratch it says 40FPS.

Then, if you switch to turbo, whereas flash says 166FPS, jsscratch says 500/1000FPS...

Scratch 1.4 is 40 FPS, flash is 30 FPS, and my player is 40.


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

Offline

 

#352 2012-08-18 05:09:48

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

Re: JsScratch viewer development thread

Speaking again about speed, in this project drawing a large circle in flash turbo takes several seconds, instead in jsscratch it is almost immediate.

Offline

 

#353 2012-08-23 17:34:24

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

Re: JsScratch viewer development thread

I've made some HUGE optimizations with the pen. The change log is mainly optimizations + bug fixes so I won't list it. (I don't remember what they all are anyway.  tongue )

Anyway... Download here.


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

Offline

 

#354 2012-08-23 18:10:05

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

Re: JsScratch viewer development thread

Offline

 

#355 2012-08-23 20:36: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

 

#356 2012-08-23 23:04:38

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

Re: JsScratch viewer development thread

Thank goodness. :3

Offline

 

#357 2012-08-25 18:46:58

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

Re: JsScratch viewer development thread

MathWizz wrote:

I've made some HUGE optimizations with the pen

I got great results in the fractal project. Only one problem: right after the first click, now I see a thick black line at the top of the viewer.

Offline

 

#358 2012-08-27 13:12:54

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

Re: JsScratch viewer development thread

MathWizz, you've made this project amazing.

Offline

 

#359 2012-08-27 13:27:56

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

Re: JsScratch viewer development thread

ProgrammingFreak wrote:

MathWizz, you've made this project amazing.

Thanks. :3

@s_federici, yes, that is a known glitch that I am working on.

Last edited by MathWizz (2012-08-27 13:28:06)


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

Offline

 

#360 2012-08-31 14:54:53

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

Re: JsScratch viewer development thread

This project doesn't work at all.

Offline

 

#361 2012-09-03 20:57:41

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: JsScratch viewer development thread

Omg, I've been gone for a while.


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#362 2012-09-03 20:57:59

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

Re: JsScratch viewer development thread

Yeah. You have.  tongue


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

Offline

 

#363 2012-09-10 02:27:50

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

Re: JsScratch viewer development thread

This project works in turbo mode, but it doesn't at normal speed.

Offline

 

#364 2012-09-15 04:34:13

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

Re: JsScratch viewer development thread

Speaking about differences, in flash this project works in an acceptable way in turbo, but it is lighting fast in js turbo.

Offline

 

#365 2012-09-15 08:11:25

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

Re: JsScratch viewer development thread

Umm... I feel really stupid asking this, but how do I run my project on JsScratch?


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

Offline

 

#366 2012-09-15 08:53:58

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

Re: JsScratch viewer development thread

Hardmath123 wrote:

Umm... I feel really stupid asking this, but how do I run my project on JsScratch?

You can use this userscript to use any project in JsScratch. :3

Offline

 

#367 2012-09-20 13:42:37

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

Re: JsScratch viewer development thread

MathWizz, any update?  smile  I have a long list of amazing Scratch projects that still don't work  sad  (I guess because of pen/color sensing blocks)

Offline

 

#368 2012-09-20 16:27:17

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

Re: JsScratch viewer development thread

Perhaps you can list out some tasks that need to be done and other Scratchers can contribute in a small (or large) way.  smile

Offline

 

#369 2012-09-20 18:58:41

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

Re: JsScratch viewer development thread

s_federici wrote:

MathWizz, any update?  smile  I have a long list of amazing Scratch projects that still don't work  sad  (I guess because of pen/color sensing blocks)

I might be able to fix it. What project is it?


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

Offline

 

#370 2012-09-20 21:45:49

Proanimation
Scratcher
Registered: 2011-08-09
Posts: 47

Re: JsScratch viewer development thread

I would like to become part of the team. I know a bit about HTML and JavaScript. I haven't been sucsessful with canvas though (I know some) I would be better help if I saw the viewer code. Also could you put that when the browser is recognized as safari that an a keyboard pops up or have an on screen keyboard apper below the project so that mobil devices can use wasd and such too?

Offline

 

#371 2012-09-20 21:58:01

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: JsScratch viewer development thread

Hey, just curious, how did you put the JS canvas on?  I want to be able to add one to my site.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#372 2012-09-20 22:04:32

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

 

#373 2012-09-20 22:07:46

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: JsScratch viewer development thread

No, just the canvas.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#374 2012-09-20 22:31:46

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: JsScratch viewer development thread

im not so good at it yet

but i can help with images


http://i46.tinypic.com/6yd4c0.png

Offline

 

#375 2012-09-21 02:37:13

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

Re: JsScratch viewer development thread

MathWizz wrote:

I might be able to fix it. What project is it?

Here you are just a list of the very first projects I found in my favorites that do not work as expected:

In general:
    - variable monitors have no sliders
    - sprites cannot be dragged (as D1 and D2 in http://scratch.mit.edu/projects/dapontesgr/2760223)
   
http://scratch.mit.edu/projects/Wes64/2788008
    all tiles are the same color
   
http://scratch.mit.edu/projects/Wes64/2767355
    tetris elements disappears when they reach to the bottom line
   
http://scratch.mit.edu/projects/Rahi-Tak/1854404
    the little man falls through the pavement
   
http://scratch.mit.edu/projects/UltraAdam/2756210
    you don't pass to next level
   
http://scratch.mit.edu/projects/Wes64/2737039
    the game starts with a non-meaningful red square in the upper left corner
   
http://scratch.mit.edu/projects/eRKSToCK/2693755
    lines do not show up
   
(known issue) http://scratch.mit.edu/projects/s_federici/2622353
    top part of the fractal is all black

Offline

 

Board footer