hyperandroid / CAAT

Canvas Advanced Animation Toolkit
hyperandroid.github.com/CAAT
MIT License
727 stars 117 forks source link

Retina support #89

Closed ddon closed 11 years ago

ddon commented 11 years ago

I would like to know if CAAT has Retina screen support.

When I use Canvas directly, I can set canvas.scale method to set the scale, and I can check window.devicePixelRatio to detect if I am on a retina display or not. Please let me know if CAAT supports this out of the box, and if not, if there is a plan to add this.

hyperandroid commented 11 years ago

Right now I haven't added any support for retina display. Will certainly add it. After next CAAT version, which includes a Module and Class manager will focus on this. Thanks.

-i

ddon commented 11 years ago

sounds very cool! so far really like this lib... great work!

I was trying different ones in the last month or so...

hyperandroid commented 11 years ago

Added.

Available by nov 18th. Best.

ddon commented 11 years ago

Since this page is the first google result for "CAAT retina", I will write here how to enable it (taken from changelog):

To enable retina support, set CAAT.RETINA_DISPLAY_ENABLED=true before building director instances.