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

1 decade ago by Jib

Hey guys,

I stumbled upon that post: http://sebleedelisle.com/2011/02/html5-canvas-sprite-optimisation/

Interesting read, I didn't had time to check if dominic did something like that in impact. The framework is already amazing but this could still help :)

Take care,
Jb

1 decade ago by stahlmanDesign

I didn't look at how Impact works, but I think Impact is rounding to the pixel because I've never had a sprite go fuzzy. But the way they are talking about rounding using that binary trick could offer further improvement if it's not already being used in Impact.

This was important in Cocos2D as well. We were getting tile maps that would tear (where you could see the edges of the squares). After eliminating the possibility they could be aligned to sub-pixels, the tearing stopped.
Page 1 of 1
« first « previous next › last »