You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
We have around 100k, + LoC using a game engine framework and have packaged our app with Electron. We are using Chromium and our game is a multiplayer game and I have a request concerning RequestAnimationFrame.
Currently, we can use the command line argument disable-renderer-backgrounding to prevent the background processes being stopped while chromium is running in the background (or in this case with Electron, the window is minimized).
The disable-renderer-backgrounding command line does work, but it does not work with RAF. When I say it doesn't, it doesn't keep RAF updated while Chromium is ran in the background.
I am sincerely hoping that you please let us choose if RAF should run in the background. Our game is multiplayer and our game physics run off RAF. And if a player minimizes the game, we need RAF to keep the game lively. Especially when it's multiplayer. We cannot use Web Workers for physics as this will cause too many problems and add a huge overhead.
I know the design philosophy around stopping RAF when the app is minimized is a good feature for browser usage, but we are developing something totally different in Chromium.
With that said, I ask from the bottom of our heart that the team atleast consider's this as an option.
Kind Regards,
--Nick
The text was updated successfully, but these errors were encountered:
It's been a long time coming but the libchromiumcontent repository is being archived as it is no longer used in the Electron build system (🎉 this is a good thing).
If your issue is still relevant to Electron in it's current build system (please verify first) then you should probably raise a similar issue on electron/electron.
Hi everyone!
We have around 100k, + LoC using a game engine framework and have packaged our app with Electron. We are using Chromium and our game is a multiplayer game and I have a request concerning RequestAnimationFrame.
Currently, we can use the command line argument
disable-renderer-backgrounding
to prevent the background processes being stopped while chromium is running in the background (or in this case with Electron, the window is minimized).From this issue here: electron/electron#4925 (comment)
The
disable-renderer-backgrounding
command line does work, but it does not work with RAF. When I say it doesn't, it doesn't keep RAF updated while Chromium is ran in the background.I am sincerely hoping that you please let us choose if RAF should run in the background. Our game is multiplayer and our game physics run off RAF. And if a player minimizes the game, we need RAF to keep the game lively. Especially when it's multiplayer. We cannot use Web Workers for physics as this will cause too many problems and add a huge overhead.
I know the design philosophy around stopping RAF when the app is minimized is a good feature for browser usage, but we are developing something totally different in Chromium.
With that said, I ask from the bottom of our heart that the team atleast consider's this as an option.
Kind Regards,
--Nick
The text was updated successfully, but these errors were encountered: