-
Notifications
You must be signed in to change notification settings - Fork 60
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
Comments
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 <[email protected]mailto:[email protected]> 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? — —mike |
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? |
yes you can edit the code to your own purpose. On Mar 31, 2016, at 2:29 PM, Dillybob92 <[email protected]mailto:[email protected]> 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? — —mike |
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? |
Yes that is correct.
…--mike
________________________________
From: Andy Tyurin <[email protected]>
Sent: Wednesday, August 23, 2017 12:17:58 AM
To: mikeseven/node-webgl
Cc: Bourges-sevenier, Mikael; Comment
Subject: Re: [mikeseven/node-webgl] Can you create a desktop app with this? (#49)
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.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#49 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAxYLG1M25H4r24o4hz_2BSu_GgUx-TFks5sa9ImgaJpZM4H9Din>.
|
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
The text was updated successfully, but these errors were encountered: