Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Whiskers: Scratch 2.0 for Incompatible Devices
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Userblock? if you guys put the userblock in games a measge will popup for all the paeple users can't games with the #userblock
What?!
The username block wont work… you cant even know if he used Turbo Mode or not, or whatever, unless they comment it.
- s_federici
- Scratcher
500+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
The website is down.
Here is a download, but I don't think it's current.
It seems to work quite well. Except that it raises errors when you try to open/save a project.
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Specially with certain blocks, that weirdly turn into others.The website is down.
Here is a download, but I don't think it's current.
It seems to work quite well. Except that it raises errors when you try to open/save a project.
Last edited by Penguin5664 (April 22, 2017 18:19:14)
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Can you guys please tell me which blocks, so that I can fix them? Thank you!Specially with certain blocks, that weirdly turn into others.The website is down.
Here is a download, but I don't think it's current.
It seems to work quite well. Except that it raises errors when you try to open/save a project.
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Well, I have a block that has bugs.Can you guys please tell me which blocks, so that I can fix them? Thank you!Specially with certain blocks, that weirdly turn into others.The website is down.
Here is a download, but I don't think it's current.
It seems to work quite well. Except that it raises errors when you try to open/save a project.
Its the:
custom block!! ::custom
The custom blocks have a disasterous bug.
When you edit the custom blocks, you have to unjoint the entire script from the custom block to avoid it from getting the script jointed on it removed.
Trust me, I lost a script 3 times after I edited my custom blocks. Please fix that ;A;
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
I thought I fixed that at one point… I'll have to fix that. Thanks for letting me know!Well, I have a block that has bugs.Can you guys please tell me which blocks, so that I can fix them? Thank you!Specially with certain blocks, that weirdly turn into others.The website is down.
Here is a download, but I don't think it's current.
It seems to work quite well. Except that it raises errors when you try to open/save a project.
Its the:custom block!! ::custom
The custom blocks have a disasterous bug.
When you edit the custom blocks, you have to unjoint the entire script from the custom block to avoid it from getting the script jointed on it removed.
Trust me, I lost a script 3 times after I edited my custom blocks. Please fix that ;A;
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Maybe the problem is that I maybe have a older version of Whiskers- or if I have the latest, then how it would happen?I thought I fixed that at one point… I'll have to fix that. Thanks for letting me know!Well, I have a block that has bugs.Can you guys please tell me which blocks, so that I can fix them? Thank you!Specially with certain blocks, that weirdly turn into others.The website is down.
Here is a download, but I don't think it's current.
It seems to work quite well. Except that it raises errors when you try to open/save a project.
Its the:custom block!! ::custom
The custom blocks have a disasterous bug.
When you edit the custom blocks, you have to unjoint the entire script from the custom block to avoid it from getting the script jointed on it removed.
Trust me, I lost a script 3 times after I edited my custom blocks. Please fix that ;A;
- D3rpforever
- New Scratcher
1 post
Whiskers: Scratch 2.0 for Incompatible Devices
How do i download whiskers?
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Quote from "D3rpforever".1.- You must have the Scratch 1.4 program.
How do I download whiskers?
2.- Enter to this link.
3.- Copy all the Scratch 1.4 program files to the Bleeding-Edge(Whiskers) folder, but disallow file replacing.
4.- You're done! Now just run Whiskers. I hope this helped.
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Just a quick update on development:
ETA: ~2 months.
Also, this might finally have SVG support, and since I can render an SVG element to the canvas fairly quickly, and cache it for performance as costumes. But that would require completely moving to SqueakJS, and no VM support (so you would have to locally host a server, which is not a problem if you have python installed). And I might add proper 2.0 file format support, since I will have JSON available through javascript, but I'm not too sure of how hard it is to create zip file in JS. Also, I might get WAV file support working, if I can finish my research on playing sounds with javascript (might run into some issues with safari, but I can probably work around it somehow).
Lastly, I'm going to see about contacting Gwiddle again, because it looks like my issue was closed. I really would like my domain back.
- Scrapping lots of things from original Whiskers. Going to try to make it work on ANY device with a web browser, or squeak, and that means getting it to draw quickly with SqueakJS or with an actual VM.
- Scratch Blocks with css and javascript (From https://fiddle.jshell.net/zdfscywv/24/), and rendering that to a canvas
- Rewriting the Whiskers interpreter to be a bit more primitive and work with javascript if the plugin is supported
- Re-doing lots of the core code, in order to make the small performance improvements that will really make Whiskers useable
- And overall, making it lots more stable
ETA: ~2 months.
Also, this might finally have SVG support, and since I can render an SVG element to the canvas fairly quickly, and cache it for performance as costumes. But that would require completely moving to SqueakJS, and no VM support (so you would have to locally host a server, which is not a problem if you have python installed). And I might add proper 2.0 file format support, since I will have JSON available through javascript, but I'm not too sure of how hard it is to create zip file in JS. Also, I might get WAV file support working, if I can finish my research on playing sounds with javascript (might run into some issues with safari, but I can probably work around it somehow).
Lastly, I'm going to see about contacting Gwiddle again, because it looks like my issue was closed. I really would like my domain back.
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Quote by "NoMod-Programming".HOW?! JUST HOW?! SVG support?! This should be a REALLY, REALLY REALLY GOOD IMPLEMENTATION!
Also, this might finally have SVG support, and since I can render an SVG element to the canvas fairly quickly, and cache it for performance as costumes. But that would require completely moving to SqueakJS, and no VM support (so you would have to locally host a server, which is not a problem if you have python installed). And I might add proper 2.0 file format support, since I will have JSON available through javascript, but I'm not too sure of how hard it is to create zip file in JS. Also, I might get WAV file support working, if I can finish my research on playing sounds with javascript (might run into some issues with safari, but I can probably work around it somehow).
And please fix those custom blocks lel
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Yup. Fixing custom blocks too. And SVG support is made by drawing the <svg> element to a canvas, but this only works in javascript. On the VM, I might need to find a way to render them quickly and draw them to the screenQuote by "NoMod-Programming".HOW?! JUST HOW?! SVG support?! This should be a REALLY, REALLY REALLY GOOD IMPLEMENTATION!
Also, this might finally have SVG support, and since I can render an SVG element to the canvas fairly quickly, and cache it for performance as costumes. But that would require completely moving to SqueakJS, and no VM support (so you would have to locally host a server, which is not a problem if you have python installed). And I might add proper 2.0 file format support, since I will have JSON available through javascript, but I'm not too sure of how hard it is to create zip file in JS. Also, I might get WAV file support working, if I can finish my research on playing sounds with javascript (might run into some issues with safari, but I can probably work around it somehow).
And please fix those custom blocks lel
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Quote by "NoMod-Programming".Like, ummm… How many time could this take? Could it take like some days or whatever? Sorry for this question by the way… '|:D
Yup. Fixing custom blocks too. And SVG support is made by drawing the <svg> element to a canvas, but this only works in JavaScript. On the VM, I might need to find a way to render them quickly and draw them to the screen.
(Dont tell me how I did the :D smiley show like this bcoz' I used Alt+0173 in the : and D so it shows a “fake smiley”)
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
It should take me ~2 weeks to implement a basic SVG experience. Another week to test it out and implement loading and saving, and then another few to get blocks correctly rendered using SVGs, without them being drawn over. Then it should take me a few days to fix custom blocks, and then the last few weeks to implement JSON with the Javascript bridge (much faster load times for sb2 projects), fix a SqueakJS bug with saving and loading projects (Is it just me?), and then add sound support for WAV files.Quote by "NoMod-Programming".Like, ummm… How many time could this take? Could it take like some days or whatever? Sorry for this question by the way… '|:D
Yup. Fixing custom blocks too. And SVG support is made by drawing the <svg> element to a canvas, but this only works in JavaScript. On the VM, I might need to find a way to render them quickly and draw them to the screen.
(Dont tell me how I did the :D smiley show like this bcoz' I used Alt+0173 in the : and D so it shows a “fake smiley”)
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Okay, thanks anyways!It should take me ~2 weeks to implement a basic SVG experience. Another week to test it out and implement loading and saving, and then another few to get blocks correctly rendered using SVGs, without them being drawn over. Then it should take me a few days to fix custom blocks, and then the last few weeks to implement JSON with the Javascript bridge (much faster load times for sb2 projects), fix a SqueakJS bug with saving and loading projects (Is it just me?), and then add sound support for WAV files.Quote by "NoMod-Programming".Like, ummm… How many time could this take? Could it take like some days or whatever? Sorry for this question by the way… '|:D
Yup. Fixing custom blocks too. And SVG support is made by drawing the <svg> element to a canvas, but this only works in JavaScript. On the VM, I might need to find a way to render them quickly and draw them to the screen.
(Dont tell me how I did the :D smiley show like this bcoz' I used Alt+0173 in the : and D so it shows a “fake smiley”)
Last edited by Penguin5664 (April 29, 2017 23:36:08)
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Drawing blocks using SVGs: (Ones on the top-right)
Thanks to @ascom (Andrew Sun) for the jsfiddle code (adapted to a Whiskers plugin for SqueakJS)
Thanks to @ascom (Andrew Sun) for the jsfiddle code (adapted to a Whiskers plugin for SqueakJS)
Last edited by NoMod-Programming (April 30, 2017 21:17:27)
- timrowledge
- Scratcher
14 posts
Whiskers: Scratch 2.0 for Incompatible Devices
[
TL;DR: Hard drive failed and got punished; school blocked squeak, and I forgot about scratch. Looking into squeakjs for portable squeak, and going to fix the suspended site too.
For your own sanity get a squeaksource.com account (free, obviously) and learn to use Monticello to save your package(s) there. The NuScratch & Pi GPIO packages are there already. Seriously, you'll thank yourself the next time your drive dies or you delete everything by accident etc.
I'm sure you already understand that Squeak is about as portable as it gets and that SqueakJS is *extremely* slow by comparison. Getting a fast Scratch experience that way is not going to be easy, and very much so on a Pi. Strictly speaking SqueakJS does run in Chrome on a Pi3 but ‘amble’ is a more appropriate word than ‘run’. Now the good news is that there are ways (project ‘SnowGlobe’ etc) to start a system on SqJS and move it pretty much transparently to a ‘real’ VM. That might be a route worth looking into someday.
- timrowledge
- Scratcher
14 posts
Whiskers: Scratch 2.0 for Incompatible Devices
There is a JSon package for Squeak at www.squeaksource.com/JSON.html that works pretty well for me. [ the last few weeks to implement JSON with the Javascript bridge (much faster load times for sb2 projects)
There is an old but potentially useful SVG package at http://map.squeak.org/sm/packagebyname/svgmorph
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Quote by "NoMod-Programming".AMAZING!!
Drawing blocks using SVGs: (Ones on the top-right)
Thanks to @ascom (Andrew Sun) for the jsfiddle code (adapted to a Whiskers plugin for SqueakJS)