Scaling the game causes the container div to eat clicks.

30 views
Skip to first unread message

johnson....@gmail.com

unread,
Oct 7, 2015, 11:59:35 PM10/7/15
to LimeJS HTML5 Game Framework
I'm wondering if anyone has experience this issue?

I setup my container div to be 100% width and 600px height.
I setup the LimeDirector with the dimensions of 800x600.
When I scale the containing div to less than 100% width (by scaling the browser window, etc) the game scales properly, however the container div remains at 600px in height. If I click outside of the scaled game, but still inside the container div, my clicks are being "eaten" and not registering. I need to be able to click here to scroll the screen in touch-enabled devices, but it's not working.


How can setup my LimeJS inside a container div that is infinitely scalable?
Reply all
Reply to author
Forward
0 new messages