I’m trying to figure out how to solve the problem of sprites becoming pixelated when being converted to bitmap data.
I have a sprite loaded in my game, and placing the sprite results in the following:
game.add.sprite(200, 100, sprite);
Now if I convert that sprite to bitmap and back, the edges become very pixelated:
var bmd = game.make.bitmapData();
bmd.load(sprite);
game.add.sprite(200, 100, bmd);
I’ve tried .smoothed=false and antialias=false to no avail. Any idea what’s happening here? Thanks in advance for any input and advice!