- Joined
- Jul 12, 2013
- Messages
- 48
- Reaction score
- 16
- First Language
- English
- Primarily Uses
I want to disable the smoothing that is making my pixels smooth. I am using YEP_CoreEngine to change my resolution to match the parallexes, but my parallexes are still blurred.
I have put:
into my game as a plugin, as well as added
to my index.html at the end near </head> and between the <body>.
I have tried all the above, and still my pixels are blurry. ((I don't know what it means by or where to put
)
PIXI.scaleModes.DEFAULT = PIXI.scaleModes.NEAREST;
Please help, I can't make any games..?
I am including an example of the blurring I mean. Please full view it to see the difference.

I have put:
ImageManager.loadBitmap = function(folder, filename, hue, smooth) { if (filename) { var path = folder + encodeURIComponent(filename) + '.png'; var bitmap = this.loadNormalBitmap(path, hue || ); //console.log("disabling smoothing for "+path); bitmap.smooth = false; return bitmap; } else { return this.loadEmptyBitmap(); }};
into my game as a plugin, as well as added
<style type="text/css"> CANVAS{image-rendering: pixelated;}</style>
to my index.html at the end near </head> and between the <body>.
I have tried all the above, and still my pixels are blurry. ((I don't know what it means by or where to put
PIXI.scaleModes.DEFAULT = PIXI.scaleModes.NEAREST;
Please help, I can't make any games..?
I am including an example of the blurring I mean. Please full view it to see the difference.
