Discuss Scratch

infinitytec
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

eribetra wrote:

infinitytec wrote:

eribetra wrote:

infinitytec wrote:

https://infinitytec.github.io/Whiskers-Website/

You can watch me work on it.

…I can't download Whiskers, the .imge file is not there.
There is not a download yet. It's just a dummy link.

Oh, ok.
Now it works.

Save Scratch extensions!

Wetbikeboy2500 wrote:

good old infinitytec
Jonathan50
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

Whiskers does not work with the latest Squeak for Linux (with Squeak 5.1 it just complains about the image and exits) while it works fine with Squeak 5.0, but Squeak 5.0 is only available for 32 bit intel and if you're on a 64-bit Debian/Ubuntu system you'll need to install all of these 32-bit libraries:
libxext6:i386
libuuid1:i386
libx11-6:i386
libgl1-mesa-glx:i386
libpulse0:i386 this one is required only if you want PulseAudio sound
Jonathan50
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

The Raspberry Pi instructions are simple to adapt to work with any Debian or Ubuntu GNU/Linux system

Edit: Here's the Squeak 5.1 error:
Using /home/me/Downloads/whiskers/squeak5.1/bin/squeak...
This interpreter (vers. 68021) cannot read image file (vers. 6521).
Press CR to quit...
It works fine if I do the exact same with Squeak 5.0

Last edited by Jonathan50 (July 18, 2017 23:48:09)

Penguin5664
Scratcher
100+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

eribetra wrote:

Wow! Whiskers is very good!

But the “define” block is horrible…
Sorry man but NoMod-Programming explained before he was still working on the define hat, it's buggy and yeah. He got to draw an ellipse but that was slow.

((づ。◕‿‿◕。::sensing)づ::sensing) // This is "Mini-Bloky". He protects my signature from the kumquats!
How many Block Requests we can get? Please request! Check @78ch3's Everything Shop, too!
when gf clicked :: #B46200
vector :: #C56B00
scratch :: #DA8B00
blocks! :: control
Penguin5664
Scratcher
100+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

@InfinityTec: Maybe you should make the gray color a bit brighter, so it combines with the logo “light grey” color I made. I love how you added the vector cat at the bottom of the page, it is just so cute :3

EDIT: Also add the “Whiskers” tab to the main page, it just looks weird without the tab and you will be forced to put https://infinitytec.github.io/Whiskers-Website/index.html to open the Whiskers tab..

EDIT2: How the https:// prefix worked so it can open in discussion forums?

Last edited by Penguin5664 (July 18, 2017 23:50:16)


((づ。◕‿‿◕。::sensing)づ::sensing) // This is "Mini-Bloky". He protects my signature from the kumquats!
How many Block Requests we can get? Please request! Check @78ch3's Everything Shop, too!
when gf clicked :: #B46200
vector :: #C56B00
scratch :: #DA8B00
blocks! :: control
eribetra
Scratcher
82 posts

Whiskers: Scratch 2.0 for Incompatible Devices

Penguin5664 wrote:

eribetra wrote:

Wow! Whiskers is very good!

But the “define” block is horrible…
Sorry man but NoMod-Programming explained before he was still working on the define hat, it's buggy and yeah. He got to draw an ellipse but that was slow.
He already responded to me. -_-

Check out Blockode, the most recent Scratch 1.4 mod!
Also check out Five Nights at eribetra:
Penguin5664
Scratcher
100+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

eribetra wrote:

Penguin5664 wrote:

eribetra wrote:

Wow! Whiskers is very good!

But the “define” block is horrible…
Sorry man but NoMod-Programming explained before he was still working on the define hat, it's buggy and yeah. He got to draw an ellipse but that was slow.
He already responded to me. -_-
You noticed what I said was based on NoMod-Programming reply!?

((づ。◕‿‿◕。::sensing)づ::sensing) // This is "Mini-Bloky". He protects my signature from the kumquats!
How many Block Requests we can get? Please request! Check @78ch3's Everything Shop, too!
when gf clicked :: #B46200
vector :: #C56B00
scratch :: #DA8B00
blocks! :: control
NoMod-Programming
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

Jonathan50 wrote:

Whiskers does not work with the latest Squeak for Linux (with Squeak 5.1 it just complains about the image and exits) while it works fine with Squeak 5.0, but Squeak 5.0 is only available for 32 bit intel and if you're on a 64-bit Debian/Ubuntu system you'll need to install all of these 32-bit libraries:
libxext6:i386
libuuid1:i386
libx11-6:i386
libgl1-mesa-glx:i386
libpulse0:i386 this one is required only if you want PulseAudio sound
I'll see what I can do about porting Whiskers to Squeak 5.1. I've been wondering why my sound wasn't working on my Ubuntu system with Whiskers! Now I don't have to reboot to OS X to test out sound!

Penguin5664 wrote:

eribetra wrote:

Wow! Whiskers is very good!

But the “define” block is horrible…
Sorry man but NoMod-Programming explained before he was still working on the define hat, it's buggy and yeah. He got to draw an ellipse but that was slow.

Yeah, I've got the colors fixed, so at least it won't look as horrible in the next version, but it'll just look like a purple hat block until I can find a good way to draw a filled arc like flash can.

Abraham Lincoln wrote:

“These men ask for just the same thing, fairness, and fairness only. This, so far as in my power, they, and all others, shall have”

Penguin5664
Scratcher
100+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

NoMod-Programming wrote:

Penguin5664 wrote:

eribetra wrote:

Wow! Whiskers is very good!

But the “define” block is horrible…
Sorry man but NoMod-Programming explained before he was still working on the define hat, it's buggy and yeah. He got to draw an ellipse but that was slow.

Yeah, I've got the colors fixed, so at least it won't look as horrible in the next version, but it'll just look like a purple hat block until I can find a good way to draw a filled arc like flash can.
Yay!! So maybe references like this?:

define -
define ----------
define ----------------
define --------------------
define ----------------------
define -----------------------
define ------------------------

EDIT: Forgot to close the tag please forgive me ;o;

Last edited by Penguin5664 (July 18, 2017 23:53:10)


((づ。◕‿‿◕。::sensing)づ::sensing) // This is "Mini-Bloky". He protects my signature from the kumquats!
How many Block Requests we can get? Please request! Check @78ch3's Everything Shop, too!
when gf clicked :: #B46200
vector :: #C56B00
scratch :: #DA8B00
blocks! :: control
NoMod-Programming
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

Penguin5664 wrote:

NoMod-Programming wrote:

Penguin5664 wrote:

eribetra wrote:

Wow! Whiskers is very good!

But the “define” block is horrible…
Sorry man but NoMod-Programming explained before he was still working on the define hat, it's buggy and yeah. He got to draw an ellipse but that was slow.

Yeah, I've got the colors fixed, so at least it won't look as horrible in the next version, but it'll just look like a purple hat block until I can find a good way to draw a filled arc like flash can.
Yay!! So maybe references like this?:

define -
define ----------
define ----------------
define --------------------
define ----------------------
define -----------------------
define ------------------------

EDIT: Forgot to close the tag please forgive me ;o;
The problem with references like that is that, if I use ScratchSkin to cache it, I'd have to add values for every possible font on a system up to a large length, making the image size very large. If I cache it in the image when it needs to render it, I'll eventually end up with a large image file, and the time for rendering each one will take some time. I think the way I *might* approach this problem could be by “snapping” the width every 5 or 10 pixels to minimize the amount of pre-rendered images to use, but that still needs caching for a large amount of sizes.

Abraham Lincoln wrote:

“These men ask for just the same thing, fairness, and fairness only. This, so far as in my power, they, and all others, shall have”

Jonathan50
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

You'll also have to pass the option -vm-sound-pulse to the Squeak VM.
infinitytec
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

I put an experimental Windows installer on the website, if anyone would like to try that out.
I probably will not always keep it up to date until Whiskers gets closer to completion.

Save Scratch extensions!

Wetbikeboy2500 wrote:

good old infinitytec
Jonathan50
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

infinitytec wrote:

I put an experimental Windows installer on the website, if anyone would like to try that out.
I probably will not always keep it up to date until Whiskers gets closer to completion.
Sounds cool! You could probably try making it fetch the latest image from the GitHub repository
infinitytec
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

Jonathan50 wrote:

infinitytec wrote:

I put an experimental Windows installer on the website, if anyone would like to try that out.
I probably will not always keep it up to date until Whiskers gets closer to completion.
Sounds cool! You could probably try making it fetch the latest image from the GitHub repository
Yeah, I don't know how to do that.

Save Scratch extensions!

Wetbikeboy2500 wrote:

good old infinitytec
Jonathan50
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

infinitytec wrote:

Yeah, I don't know how to do that.
What did you use to make the installer? You could probably just not bundle the image and then make the installer script download the file.
NoMod-Programming
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

Jonathan50 wrote:

Whiskers does not work with the latest Squeak for Linux (with Squeak 5.1 it just complains about the image and exits) while it works fine with Squeak 5.0, but Squeak 5.0 is only available for 32 bit intel and if you're on a 64-bit Debian/Ubuntu system you'll need to install all of these 32-bit libraries:
libxext6:i386
libuuid1:i386
libx11-6:i386
libgl1-mesa-glx:i386
libpulse0:i386 this one is required only if you want PulseAudio sound
Okay, I've tested this out on my own machine (a 64 bit ubuntu machine), and I see the error you're getting. I've uploaded a 64-bit version of alpha 0.9a5 as well as the regular version to github: https://github.com/NoMod-Programming/Whiskers/tree/master/Build

(Also, new version: 0.9a5)

I'll be on vacation during the next week, so I won't be able to write any code during that time. But when I get back, I'll get back to working on Whiskers!

Last edited by NoMod-Programming (July 19, 2017 02:12:00)


Abraham Lincoln wrote:

“These men ask for just the same thing, fairness, and fairness only. This, so far as in my power, they, and all others, shall have”

Jonathan50
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

Thanks! It works great, but why shouldn't the image work independent of VM architecture?

Edit: Define block is now purple

Last edited by Jonathan50 (July 19, 2017 02:15:54)

NoMod-Programming
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

Jonathan50 wrote:

Thanks! It works great, but why shouldn't the image work independent of VM architecture?

Edit: Define block is now purple
They use different size pointers or something like that

Abraham Lincoln wrote:

“These men ask for just the same thing, fairness, and fairness only. This, so far as in my power, they, and all others, shall have”

Jonathan50
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

NoMod-Programming wrote:

They use different size pointers or something like that
…Yes, but the Smalltalk code shouldn't care. I'm pretty sure images are supposed to be portable
infinitytec
Scratcher
1000+ posts

Whiskers: Scratch 2.0 for Incompatible Devices

Jonathan50 wrote:

infinitytec wrote:

Yeah, I don't know how to do that.
What did you use to make the installer? You could probably just not bundle the image and then make the installer script download the file.
I used Inno Setup.

Save Scratch extensions!

Wetbikeboy2500 wrote:

good old infinitytec

Powered by DjangoBB

Standard | Mobile