Hey Guys,
I have been in contact with Ludei about the fact that sprites and text are blurry in CocoonJS and they sent me some code to use if I had of written the code from scratch. Obviously I didn't (Used Construct).
Is there anyway we can get this code added to the compilation of CocoonJS projects so they come out crystal clear?
Below is what I was sent.
"Another option you have is to use our "pixel art" extension so the rescaling doesn't use a linear image filter. For that, you have 2 options:
a) This call will disable linear filtering globally, for the whole game:
ext.IDTK_APP.makeCall("setDefaultAntialias", false);
b) If you want to disable it for a specific canvas, modify your getContext call to add a second parameter, like this:
ctx = myCanvas.getContext("2d", {antialias:false} );" - From Ludei