I would not know what title to give, sorry

Get help using Construct 2

Post » Sun Jul 16, 2017 8:26 pm

Why when I launch my desktop game after exporting it with nw.js, i do not take control until clicking on the screen? how can i solve this and why appen?? im exportin with kiosk mode only option.. then browser fullscreen command on the firts layout..
EDIT i think the problem is this:
Request fullscreen:
Request that the browser enter fullscreen mode. Note the browser may ignore this request unless the action is in a user-initiated event, such as a mouse click, key press, touch event or button press. The fullscreen modes that can be entered correspond to the Fullscreen in browser project property. For more information see supporting multiple screen sizes. Note not all platforms support requesting fullscreen - use the Supports requesting fullscreen condition to check for availability.

So can I not do anything?
Who plays will find a menu where can not move the cursor until press the mouse on the screen?
B
11
S
6
G
3
Posts: 249
Reputation: 3,152

Post » Mon Jul 17, 2017 5:40 am

You can try using the NWJS feature to "set focus" to the window on startup.

Start of layout -> NWJS -> set focus

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
83
S
34
G
40
Posts: 3,032
Reputation: 30,474

Post » Mon Jul 17, 2017 10:37 am

SoldjahBoy wrote:You can try using the NWJS feature to "set focus" to the window on startup


It seems to work, thank you very much!!
B
11
S
6
G
3
Posts: 249
Reputation: 3,152


Return to How do I....?

Who is online

Users browsing this forum: leena222, tatogame and 18 guests