Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

8 years ago by Bum

All in the title. I added the plugin that came with Impact that scales the game to the window which is great. However, all the art is blurry.

8 years ago by stahlmanDesign

In you css style try this for your canvas element:

#canvas {
	position: absolute;
	left: 0;
	top: 0;
	margin: auto;
	image-rendering: optimizeSpeed;              /* Older versions of FF */
    image-rendering: -moz-crisp-edges;           /* FF 6.0+ */
    image-rendering: -webkit-optimize-contrast;  /* Webkit (non standard naming) */
    image-rendering: -o-crisp-edges;             /* OS X & Windows Opera (12.02+) */
    image-rendering: crisp-edges;                /* Possible future browsers. */
    -ms-interpolation-mode: nearest-neighbor;    /* IE (non standard naming) */
    image-rendering: pixelated;					 /* Chrome 41 */
}

8 years ago by Bum

Heya that did well! Thanks!
Page 1 of 1
« first « previous next › last »