Discuss Scratch

superkalvis
Scratcher
39 posts

You know what's dumb? The way vector costumes work

My browser / operating system: ChromeOS 11151.113.0, Chrome 71.0.3578.127, No Flash version detected

So, there's a “big” problem with vector costumes… Literally. When resizing a sprite using a vector costume (In the coding, not the costume editor), it doesn't work like vectors are supposed to. For some reason, it's blurry and pixelated, instead of retaining the infinite curves that it should have. This happens on ALL devices and makes a huge impact on certain games such as GSE. I'm not even sure if this is a bug, it could just be bad design… Point is, these vectors simply aren't true vectors. PLEASE, fix this.
banana439monkey
Scratcher
1000+ posts

You know what's dumb? The way vector costumes work

CNR, resizing looks and works fine. Used both Scratch Cat and Candi from D_i_a_v_l_o's (she was the first vectorist that sprung into my mind) project entitled The Wand || Episode Eight. My browser / operating system: Windows NT 10.0, Chrome 73.0.3683.103, No Flash version detected

Banana
superkalvis
Scratcher
39 posts

You know what's dumb? The way vector costumes work

banana439monkey wrote:

CNR, resizing looks and works fine. Used both Scratch Cat and Candi from D_i_a_v_l_o's (she was the first vectorist that sprung into my mind) project entitled The Wand || Episode Eight. My browser / operating system: Windows NT 10.0, Chrome 73.0.3683.103, No Flash version detected

Banana

Try going into the code and just do something like
set size to (300) %
And you'll see what I mean when previewing the project. The sprite you changed the size of should have lessened in quality.

Last edited by superkalvis (April 27, 2019 18:23:22)

banana439monkey
Scratcher
1000+ posts

You know what's dumb? The way vector costumes work

Still CNR, there's a second of blur in full screen, as expected from anything. However, after a second, everything works fine.
SimpleScratch
Scratcher
500+ posts

You know what's dumb? The way vector costumes work

Just had a bit of a play with this

Resizing the cat looks “OK” down to about 50% but deteriorates at 40% and below

This is in editor mode with normal screen

If I switch to full-screen, its looks fine at any size down to 20% - after that its start to deteriorate as well
superkalvis
Scratcher
39 posts

You know what's dumb? The way vector costumes work

banana439monkey wrote:

Still CNR, there's a second of blur in full screen, as expected from anything. However, after a second, everything works fine.
Was the sprite a vector?

SimpleScratch wrote:

Just had a bit of a play with this

Resizing the cat looks “OK” down to about 50% but deteriorates at 40% and below

This is in editor mode with normal screen

If I switch to full-screen, its looks fine at any size down to 20% - after that its start to deteriorate as well
No- size it UP. Here… https://scratch.mit.edu/projects/74711180 Play this, the level should be blurry due to the sprite size being set all the way up to 900%
banana439monkey
Scratcher
1000+ posts

You know what's dumb? The way vector costumes work

superkalvis wrote:

banana439monkey wrote:

Still CNR, there's a second of blur in full screen, as expected from anything. However, after a second, everything works fine.
Was the sprite a vector?
Yep, it was Scratch Cat and Candi that I both used.

Banana
SimpleScratch
Scratcher
500+ posts

You know what's dumb? The way vector costumes work

No- size it UP. Here…
I can't get your project to load

But when I resize up the cat to 300 or even 900% - it looks fine - even on standard editing screen
elsiemb
Scratcher
50 posts

You know what's dumb? The way vector costumes work

superkalvis wrote:

My browser / operating system: ChromeOS 11151.113.0, Chrome 71.0.3578.127, No Flash version detected

So, there's a “big” problem with vector costumes… Literally. When resizing a sprite using a vector costume (In the coding, not the costume editor), it doesn't work like vectors are supposed to. For some reason, it's blurry and pixelated, instead of retaining the infinite curves that it should have. This happens on ALL devices and makes a huge impact on certain games such as GSE. I'm not even sure if this is a bug, it could just be bad design… Point is, these vectors simply aren't true vectors. PLEASE, fix this.


It might just be your mouse, i bought a new mouse and vector works normally now, it's fine. Do you have a mac mouse? If you do, you would need to change it…..
Try just taking a little longer. I make icons, but i found it like you are saying, once you do it loads, you will get the hang of it, and it will hopefully work!

Hope that helps,
~@elsiemb
whoq
New Scratcher
1 post

You know what's dumb? The way vector costumes work

elsiemb wrote:

superkalvis wrote:

My browser / operating system: ChromeOS 11151.113.0, Chrome 71.0.3578.127, No Flash version detected

So, there's a “big” problem with vector costumes… Literally. When resizing a sprite using a vector costume (In the coding, not the costume editor), it doesn't work like vectors are supposed to. For some reason, it's blurry and pixelated, instead of retaining the infinite curves that it should have. This happens on ALL devices and makes a huge impact on certain games such as GSE. I'm not even sure if this is a bug, it could just be bad design… Point is, these vectors simply aren't true vectors. PLEASE, fix this.


It might just be your mouse, i bought a new mouse and vector works normally now, it's fine. Do you have a mac mouse? If you do, you would need to change it…..
Try just taking a little longer. I make icons, but i found it like you are saying, once you do it loads, you will get the hang of it, and it will hopefully work!

Hope that helps,
~@elsiemb

And what exactly does the mouse have to do with this?
C00lCreeper
Scratcher
91 posts

You know what's dumb? The way vector costumes work

My browser / operating system: Windows NT 10.0, Chrome 74.0.3729.169, No Flash version detected

I can say that this also happens to me. If I resize a sprite to a size that isn't divisible by 50, then it looks as described by OP.
CakeandBott
Scratcher
100+ posts

You know what's dumb? The way vector costumes work

This made massive objects and such in my “Overcomplicated Physics Engine” project seem blurry, when the entire reason why people use Vector sprites is to have infinite resolution.

I think this might be because Scratch is first converting the image to a really high resolution bitmap, then scaling it, applying visual effects, then rendering it. A fix might be scaling it before converting.
superkalvis
Scratcher
39 posts

You know what's dumb? The way vector costumes work

Finally, some people who actually know what I'm talking about.
lisa_wolfgang
Scratcher
100+ posts

You know what's dumb? The way vector costumes work

For those who still don't believe that this is a bug, try resizing any vector sprite to 2000% and you'll see what they're talking about.
cheddargirl
Scratch Team
1000+ posts

You know what's dumb? The way vector costumes work

lisa_wolfgang wrote:

For those who still don't believe that this is a bug, try resizing any vector sprite to 2000% and you'll see what they're talking about.
2000% is overkill, even for a sprite that 1x1 pixel.

Any way to trigger this bug on a more reasonable scale?
superkalvis
Scratcher
39 posts

You know what's dumb? The way vector costumes work

cheddargirl wrote:

lisa_wolfgang wrote:

For those who still don't believe that this is a bug, try resizing any vector sprite to 2000% and you'll see what they're talking about.
2000% is overkill, even for a sprite that 1x1 pixel.

Any way to trigger this bug on a more reasonable scale?

1000 percent or even just 500 would do the trick. Of course, there is the size limit, but it can be bypassed if you have one blank costume, then do this:
switch costume to [blank]
set size to (1000) %
switch costume to [not blank]

I'm pretty sure the fact that the other people didn't do this trick to bypass the size limit is the reason why theirs looked fine.

Last edited by superkalvis (Aug. 10, 2019 06:01:10)

epicRedHot
Scratcher
500+ posts

You know what's dumb? The way vector costumes work

superkalvis wrote:

cheddargirl wrote:

lisa_wolfgang wrote:

For those who still don't believe that this is a bug, try resizing any vector sprite to 2000% and you'll see what they're talking about.
2000% is overkill, even for a sprite that 1x1 pixel.

Any way to trigger this bug on a more reasonable scale?

1000 percent or even just 500 would do the trick. Of course, there is the size limit, but it can be bypassed if you have one blank costume, then do this:
switch costume to [blank]
set size to (1000) %
switch costume to [not blank]

I'm pretty sure the fact that the other people didn't do this trick to bypass the size limit is the reason why theirs looked fine.
(quoting myself from another topic)

This is just my guess, since I don't have the know-how to look into the rendering code myself, but I'm assuming that the entire screen is rendered as a single image each frame, with the resolution scaled to match the user's monitor. This would explain why vector graphics in projects appear crisp in the normal window, but blurry when viewed in fullscreen mode.

Again, this is just my guess, so I could be wildly off the mark.
superkalvis
Scratcher
39 posts

You know what's dumb? The way vector costumes work

epicRedHot wrote:

(quoting myself from another topic)

This is just my guess, since I don't have the know-how to look into the rendering code myself, but I'm assuming that the entire screen is rendered as a single image each frame, with the resolution scaled to match the user's monitor. This would explain why vector graphics in projects appear crisp in the normal window, but blurry when viewed in fullscreen mode.

Again, this is just my guess, so I could be wildly off the mark.

For me, the assets still look blurry when windowed. And I'll just say it again: For a great example, play Genesis Sonic Engine by tomicool, the stage sprite is upscaled to 900%. And if anyone tries telling me that somehow is still not blurry, then no. You're lying.
(please note that the last part of the comment was a joke.)

Last edited by superkalvis (Aug. 14, 2019 18:18:29)

Hasanmajid10
Scratcher
100+ posts

You know what's dumb? The way vector costumes work

This bug occurs even on 400% in https://scratch.mit.edu/projects/282544403/editor/

Powered by DjangoBB