Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you create a desktop app with this? #49

Open
ghost opened this issue Mar 31, 2016 · 5 comments
Open

Can you create a desktop app with this? #49

ghost opened this issue Mar 31, 2016 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 31, 2016

I'm looking for an alternative to Electron.

I hate how Chromium disables RequestAnimationFrame on minimized windows and looking to just get my game working inside a canvas element and ship it as just an app. I could convert my ui using html to use webgl instead.. would switching to use this be a good idea?

Thanks

@mikeseven
Copy link
Owner

node-webgl is based on nodejs. The implementation of RequestAnimationFrame() is based on nodejs timing so it is of higher resolution than in web browsers.

On Mar 31, 2016, at 11:47 AM, Dillybob92 <notifications@github.commailto:notifications@github.com> wrote:

I'm looking for an alternative to Electron.

I hate how Chromium disables RequestAnimationFrame and looking to just get my game working inside a canvas element and ship it as just an app. I could convert my ui using html to use webgl instead.. would switching to use this be a good idea?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/49

—mike

@ghost
Copy link
Author

ghost commented Mar 31, 2016

Hmm. Thanks. I'm wondering if it's possible to then edit node's source and disable the requestanimationframe from not happening when the window is minimized? I guess doing that would be a lot easier than re-compiling Chromium, right?

@mikeseven
Copy link
Owner

yes you can edit the code to your own purpose.

On Mar 31, 2016, at 2:29 PM, Dillybob92 <notifications@github.commailto:notifications@github.com> wrote:

Hmm. Thanks. I'm wondering if it's possible to then edit node's source and disable the requestanimationframe from not happening when the window is minimized? I guess doing that would be a lot easier than re-compiling Chromium, right?


You are receiving this because you commented.
Reply to this email directly or view it on GitHubhttps://github.com//issues/49#issuecomment-204136653

—mike

@nrei0
Copy link

nrei0 commented Aug 23, 2017

So, if node-webgl depends on nodejs, it means that is enough to have nodejs onboard of various of platforms to run your webgl application?
I'm endeavouring my own game, so I'm seeking for solution to run my game from every platform as standalone.

@mikeseven
Copy link
Owner

mikeseven commented Aug 23, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants