[REQUEST][SOLVED] Plugin to get user screen resolution

Post your work in progress addons and get feedback

Post » Fri Mar 28, 2014 2:26 am

Basically, since I am not going for full screen with my game, I need a plugin to help me extract the user screen resolution variable.

This is so that I can center the game window every time the player change the screen resolution and at the start of the game itself using node-webkit.

My Javascript skill is terrible and I hope there would be a kind soul that can help to make this plugin for me and others who also intend to use it.

From here, I see that it looks easy but I kinda new to the whole making your plugin thing.
http://stackoverflow.com/questions/10022584/can-you-get-a-users-screen-size-resolution-using-javascript

Thanks for reading.
Last edited by Sethmaster on Fri Mar 28, 2014 2:40 am, edited 1 time in total.
B
36
S
18
G
11
Posts: 248
Reputation: 8,694

Post » Fri Mar 28, 2014 2:39 am

Close this request because the function is already available via Browser object. I am just too blind and need more sleep.
B
36
S
18
G
11
Posts: 248
Reputation: 8,694


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 3 guests