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

9 years ago by dsims

Chrome has finally added nearest-neighbor upscaling of images. http://updates.html5rocks.com/2015/01/pixelated

Perhaps Impact image scaling performance can be improved because of this? I think this type of scaling is supported in all desktop browsers now. Not sure how it compares to current method Impact uses (or if it would work on non-desktop browser platforms)

9 years ago by stahlmanDesign

Excellent! I just downloaded the beta version and added

image-rendering: pixelated;

to my canvas element in CSS

it works!

9 years ago by Joncom

Very cool.

9 years ago by drhayes

Finally. ( =

9 years ago by amadeus

@dsims unfortunately I think this is still only Chrome Canary, so not so much something you can rely on using in production.

And if this is something you want to take advantage of, simply don't use any scale value when instantiating game and use CSS to scale up the canvas.
Page 1 of 1
« first « previous next › last »