ZeroLuck wrote:
Hardmath123 wrote:
will JsScratch work with an offline (local with file:/// path) project?
JavaScript isn't allowed to access files on the local computer... (that's good!)
You would have to upload it first...
Actually, I think XMLHttpRequest 2 with HTML 5 might. I think XMLHttpRequest (1) might also do it, with users permission. Ill check it out for you.
Offline
Have a look at http://scratch.mit.edu/projects/Wes64/2708708. When using turbo, Flash is not very good. JsScratch instead is extremely fluid.
Offline
ZeroLuck wrote:
JavaScript isn't allowed to access files on the local computer... (that's good!) You would have to upload it first...
Are you sure? What about the File API? Sure, you can't write files... (unless you use some sort of plugin)
Offline
I think it's time for a new update. I've made a LOT of changes!
-added compiler that converts most scripts to JavaScript - much faster
-added all pen blocks - colors might be a little off though
-added some more sound blocks
-added the watchers in their default form - the other two kinds are formatted wrongly
Offline
Can you make a button to enable/disable the Flash/Java player?
Offline
nathanprocks wrote:
Can you make a button to enable/disable the Flash/Java player?
Yeah, about this, I think the best option is add a div to the sidebar, similar to what was there when the experimental viewer existed. Then you could select between default and JSscratch!
Offline
I don't think the random number generation is quite right:
http://scratch.mit.edu/projects/rookwood101/2499554
Offline
rookwood101 wrote:
I don't think the random number generation is quite right:
http://scratch.mit.edu/projects/rookwood101/2499554
It only generates integers ATM.
@LS97, I like the idea! I can't add it till Monday though.
Offline
MathWizz wrote:
@LS97, I like the idea! I can't add it till Monday though.
OK, looking forward to it! The current double player kills my memory and my internet connection I won't really be using it much till next week anyway.
Offline
MathWizz wrote:
Download!
Problem: Chrome won't install anymore the extension just clicking on it after download. I get a message suggesting to use the chrome web store. I followed Chrome instructions for manual installation so I dragged the extension on the extension settings page. But with the last update I don't get the "do you want to install the script" message that I get instead when trying to install-by-drag the previous updates... any advice?
Offline
Solved: for some weird reason I had to rename the extension exactly to jsscratchplayer.user.js (in the previous ones I could add a timestamp and install them without any problem).
Now the player works much better (btw: very nice the new loading bar!): the mandelbrot project is fully functional.
Instead, in this project, variable monitors are visible on the Stage when they shouldn't...
Offline
I have a question: is dragging already implemented?
Offline
s_federici wrote:
I have a question: is dragging already implemented?
Nope.
Offline
Even this project when run in turbo mode is much smoother in jsscratch than in flash player. This one in js turbo is incredibly better than in flash turbo. Is it the same in your PCs?
The first project is not fully working in jsscratch. When moving the slider the color doesn't change.
Last edited by s_federici (2012-08-07 12:13:36)
Offline
s_federici wrote:
Even this project when run in turbo mode is much smoother in jsscratch than in flash player. This one in js turbo is incredibly better than in flash turbo. Is it the same in your PCs?
The first project is not fully working in jsscratch. When moving the slider the color doesn't change.
Yes, they are smother, though the first one actually is faster in the flash player. I'm guessing the color doesn't change because the color effect is not supported ATM.
Offline
I just noticed that the obsolete stretch blocks work in JsScratch player. Normally you have to download the project.
Offline
In this project by loolo78, whereas in the flash player the polyhedron is always completed when you center the mouse, in jsscratch this doesn't happen every time.
Offline
nathanprocks wrote:
I just noticed that the obsolete stretch blocks work in JsScratch player. Normally you have to download the project.
Yesh.
s_federici wrote:
In this project by loolo78, whereas in the flash player the polyhedron is always completed when you center the mouse, in jsscratch this doesn't happen every time.
I think I have fixed that bug in my dev version. I'll post an update soon.
Offline
Yay! And what about the option to disable the js/flash player?
Offline
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...
Last edited by s_federici (2012-08-14 03:39:08)
Offline
BirdByte wrote:
How do you run a project in JsScratch? I've uploaded my file to my personal host and set that as the URL for the "project" attribute, but it doesn't load.
That's because of cross origin stuff.
Offline