Drahcir
Drahcir

Reputation: 11972

Flash CS5, make the image scaling smoother

I have a problem where the images look a little pixelated because they have been scaled down alot, just need a way to make everything appear smoother.

I need the game I'm making to look high quality and also work at different resolutions so when I made all the graphics I made them massive and same for the stage size in flash.

The stage size is 2000*1500 and it's being scaled down to 800*600 which is an exact ratio, I didn't expect to see pixelization when scaling the images DOWN, that's why I made them so large.

If there's no options for smoothing things out, then does anyone know the best option for swapping images at run-time? This way I can have pre-made images for all the most popular resolutions.

Upvotes: 0

Views: 2992

Answers (1)

Mattias
Mattias

Reputation: 3907

If you are using bitmaps, try smoothing and pixelsnapping:

image.smoothing = true;         
image.pixelSnapping = "never";

If you have library images (bitmaps), try changing "Allow Smoothing" and "Compression"

enter image description here

If you want to automate this you can use JSFL: http://mrsteel.wordpress.com/2007/06/12/flash-jsfl-script-allow-smoothing-on-all-bitmaps-in-library/

Upvotes: 2

Related Questions