Prevent Contruct2 take over all html events

Get help using Construct 2

Post » Wed Oct 03, 2012 8:09 pm

Hello!
Im doing a game, and I have additional external html. Some overlay, login and stuff.
The problem is that construct2 take over the click event for all this. I cant, for example, set focus in a text input. Or select text inside a textarea.

Click (or touch) events execute in the canvas, even if there
is another object on top (div, form, input, a)

I try cr_setSuspended(true); when the windows open, but its the same.
Also resize the canvas so the object dont overlap.

It looks like construct2 take over of the click event of body click.

Any help is appreciated!
B
3
Posts: 2
Reputation: 279

Post » Sat Oct 06, 2012 6:40 pm

Fixed, in case someone want to know.
I put the contruct2 canvas inside an iframe.
B
3
Posts: 2
Reputation: 279


Return to How do I....?

Who is online

Users browsing this forum: alanziy, Vegamon007 and 18 guests