Canvas Size in Node Webkit

Get help using Construct 2

Post » Tue Sep 24, 2013 2:34 pm

Hey everyone,

So I'm trying to set up a node-webkit project that runs in multiple resolutions. I've got the image resizing just fine to fit in the different resolutions, but when I change the canvas size the window stays the same size. Does anybody know how to get the window to stay the same size as the canvas?

On a related note, is there anyway I can make it so that the window cannot be manually resized? I want the window to only resize when it is changed in the settings.

Thanks
B
10
S
2
G
2
Posts: 12
Reputation: 1,709

Post » Tue Sep 24, 2013 2:43 pm

There were events added to the node webkit object that do exactly what you need.
B
47
S
14
G
7
Posts: 603
Reputation: 8,161

Post » Tue Sep 24, 2013 2:44 pm

In which version?


Edit: Never mind, I didn't realise you could opt-in to Beta releases on Steam. Thanks for your help!Exuro2013-09-24 15:03:00
B
10
S
2
G
2
Posts: 12
Reputation: 1,709


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests