Pixelated skin!

This strange problem is ocurring to me.

I have one png image (lossless) turned into movieClip, when I call as skin it becomes extremely pixelated, other images on stage have the same treatment and don't show pixelization.

Code: Select all

    sim.addBox({x:0/30,y:300/30, width:600/30, height:28/30, density:0, skin:stick, skinScale:false, angle:1.57});


Normal Image:
Image
Bitmap Propierties
Image
Pixelated Skin
Image
You're stretching that left-hand MovieClip's height far too much, causing the pixelation.

Your bottom row of "sticks" are (i assume) at 100% and repeated along the screen. Where as your left-hand "stick" is stretched beyond 100% along it's height/ vertical-plane.

In the Bitmap's Property Window, check the Allow smoothing option, this will soften the image's pixels when it gets scaled. Or just repeat the MovieClip up the screen.

Original thread: https://box2d.org/forum/viewtopic.php?t=7986