Hi,
Is there a possibility to configure melonJS to automatically resize with its container? This would allow making responsive content.
--
You received this message because you are subscribed to the Google Groups "melonJS - A lightweight HTML5 game engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to melonjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi, melonJS will resize to its container when you enable auto-scale: http://melonjs.github.io/melonJS/docs/me.video.html#init The default boilerplate project and all of our tutorials use this feature.
On Wed, Jul 27, 2016 at 5:27 AM, <kamil.r...@gmail.com> wrote:
Hi,
Is there a possibility to configure melonJS to automatically resize with its container? This would allow making responsive content.
--
You received this message because you are subscribed to the Google Groups "melonJS - A lightweight HTML5 game engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to melonjs+unsubscribe@googlegroups.com.
The Element.clientWidth
property is zero for elements with no CSS or inline layout boxes, otherwise it's the inner width of an element in pixels.