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
Electron 2.0.6 causes flickering on Native export (#566) #572
Comments
The hard thing is to come up with a solution that allow to properly check if we're on mobile or not. There is The thing is that these checks are notoriously hard to maintain in the long term and not always very reliable. |
I don't know either. The issue I linked in the last PR just gave a solution that worked for others but no explanation. |
Yesterday I managed to build an Electron App locally on my system but eventhough I removed the changes made in |
I did a little more research and it seems that Electron itself is the culprit. @4ian : |
Good catch!
No but the latest version being used and Electron 2.0.6 being released a few days ago, the build service is now using it. Also I want at some point to update Electron that is used for the IDE (https://trello.com/c/fIyghcLM/87-update-electron-to-latest-version), let's try to find something that has not this issue. |
Should be fixed by 9a55167 |
It also flickers on desktop, using the latest electron version 2.0.6. |
@rikazukun Yes, see the previous messages ;) |
I don't think we need to go back that far, 2.0.5 was working without issues. (I just tested it again) I couldn't find a bug report about the flickering over at electron but the changelog for 2.0.6 states this:
I don't really understand what they did in that PR, but they changed something OpenGL related. |
Reported bug on Electron Repo:
|
Electron 2.0.7 seems to have fixed it. |
Awesome. Thanks for reporting the issue on electron and glad that they already had the fix :) |
Sounds good, closing this now. |
Might be a good idea to bump GD to use Electron 2.0.7 too btw. |
Describe the bug
The recently submitted patch for solving the flickering on Android and Ubuntu Touch causes flickering in the Electron export (tested on Windows and Linux). #566
To Reproduce
Other details
I think I need to set the new "transparent=true" parameter to only apply to mobile exports and keep the "transparency=false" for the Electron export.
@4ian is it ok If add a condition like this to
runtimegame-pixi-renderer.js
?The text was updated successfully, but these errors were encountered: