Open smks opened 8 years ago
You can use the scaleX & scaleY properties on a Container (or Stage), as you can see in the docs: http://www.createjs.com/docs/easeljs/classes/Stage.html
@derz approach is probably the best solution. A built-in solution is unlikely, but a utility class could be useful. Leaving this open since that might be an easy win for /extras.
I see all over the place snippets on how to resize the canvas. The problem is this doesn't resize all the display objects contained inside it. There should be a scale mode available for createjs! Like this http://haxeflixel.com/demos/ScaleModes/
Can someone shed some light on a solution to this?
Thank you, Shaun.