How do I use NW.js correctly regarding to full screen, etc

Get help using Construct 2

Post » Fri Feb 12, 2016 7:59 pm

When I set 1080 as height, the window size is actually 1018 because of the window title and board bars. So, of course that no one wants to play with these bars showing then how to get the real full screen? Also it's interfering a character panel that I'm creating, which occupies the whole screen and I can't just use windowheight and width to determine the Tiled Background width and height because of this problem.

Any solution for this?
Thank you!
B
54
S
21
G
3
Posts: 601
Reputation: 6,560

Post » Sat Feb 13, 2016 12:46 am

Anyone? =/

Also this question leads me to another question, which is the possibility of players changing the resolution to fit their screen. It's simple to do I guess, but with no full screen option like the browser object have, I found myself kinda lost on this subject.
B
54
S
21
G
3
Posts: 601
Reputation: 6,560

Post » Sat Feb 13, 2016 2:47 pm

Anyone? =/
B
54
S
21
G
3
Posts: 601
Reputation: 6,560

Post » Sat Feb 13, 2016 2:58 pm

Browser: set full screen. Browser: cancel full screen. When you export, don't check permit resize to limit the game window to the default and/or full screen options.
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
69
S
18
G
65
Posts: 2,195
Reputation: 41,465

Post » Sat Feb 13, 2016 6:09 pm

@Colludium I thought that browser actions wouldn't work while using NW.JS. Thank you.
B
54
S
21
G
3
Posts: 601
Reputation: 6,560

Post » Sat Feb 13, 2016 6:38 pm

No probs. I think it initiates kiosk mode, but only @Ashley could confirm (useful on a Mac to hide the prog shortcuts pop-up). You can also execute JavaScript commands to do this (a list is available on nw.js github). :)
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
69
S
18
G
65
Posts: 2,195
Reputation: 41,465


Return to How do I....?

Who is online

Users browsing this forum: dzert14, JaisonAntoniazzi, NetOne, Solomon and 10 guests