A couple Node-Webkit questions

Get help using Construct 2

Post » Tue Dec 24, 2013 12:06 am

Hey, I just have a couple of questions regarding a Node-Webkit game -

1. Is it possible to have the game call up a webpage on the user's default browser?

2. Is it possible to retrieve the current PC's screen resolution?

Thanks!
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,679

Post » Tue Dec 24, 2013 7:19 pm

I haven't tested it yet but in CC you could execute a file and instead of a file path, put a http web link instead.

The browser object has screen width and height expressions.
Moderator
B
94
S
33
G
33
Posts: 3,006
Reputation: 27,744

Post » Tue Dec 24, 2013 7:53 pm

Thanks @Arima.

I tried the web link as file path, but it didn't seem to do anything.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,679


Return to How do I....?

Who is online

Users browsing this forum: Bobbyneal100, stevenode and 11 guests