-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bitmap smoothing #19
Comments
@MiltonW what about my latest push? does it work as you prefer? |
I think so, but I seem to have a problem with Flash (and HTML5). Same code, no Flash conditionals.
If I don't use that (or use a nice round integer) it looks just as good as the other targets.
So I can't use the DisplayObject scaling anymore, which I would guess would not distort the image. |
let me think about it |
@MiltonW sorry that i haven't worked on it earlier, but i think i've fixed this issue. |
No change I think. When I use HTML5/Flash I have the following behaviour:
Since scaleX/Y seems to work it is not really a problem (for me anyway :) ). Can't reproduce the 'Invalid field access : set_scaleX' anymore. PS. Does look a bit smoother now that I look at it, but I don't think it has to do with smoothing... |
Yeah, a bit smoother, but what does it look like without size, and then scale it with scaleX/Y? |
it looks the same |
ok, here is another one fix. |
It all doesn't seem to make a difference. All the smoothing does is smooth the jagged edges. The edges aren't there if I don't use size. So then I can use scaleX/Y and it stays crisp. Try going fullscreen or even bigger and try to keep it this clean, no edges at all: Again, if I then comment scaling, and use size: This is only on Flash/HTML5. Using size = 0.57 and scaling the entire stage by 3. |
oh, so you were scaling stage also. and i've tested without it. |
No, I'm not scaling the stage, that was just to make the difference more obvious. |
Hi there ,@Beeblerox Now how to disable smoohting ? |
Just find a way to fix : |
Would be nice to have an option to set pixelsnapping and smoothing:
The text was updated successfully, but these errors were encountered: