defos
defos copied to clipboard
White flash on startup
I've found that on startup of the application I get a white flash for 4-5 frames when using Defos that doesn't happen on vanilla Defold.
Is this something that can be fixed/worked around or is part of the loading process?
It would be worth making an issue https://github.com/defold/editor2-issues/issues here about this. I assume on their vanilla engine they have the clear color set to black, but in the extended version it's set to white.
Yep, will do. Will have to check first if with other native extensions it happens as well.
Thanks!
I assume on their vanilla engine they have the clear color set to black, but in the extended version it's set to white.
I don't think this is true anymore (or if it ever was). We did however make a change maybe half a year ago where the engine sets the clear color earlier during initialization than it did before.
Note that I can't recall seeing a white flash on startup in projects using DefOS though). @gianmichelemariani are you still experiencing this problem? Which OS?
Let me check again. I haven't used defos in a while :)
Apology for the delay. I've tested this, without defos and with all the latest launchscreen storyboard, etc. Version is 1.2.181 beta (but I think it happens in other version too) and it's a debug build.
What is happening here is that on launch of the application, the storyboard part is shows (I have just a white background), then there is a flash to black, and then the render kicks in (I have a clear background color to white and a logo animated).
I'm attaching a video for reference. You'll need to go through it frame by frame to see it (quicktime is good).
https://user-images.githubusercontent.com/46694168/112043808-f6d11f00-8b40-11eb-8245-66d6b8453cd7.mov
What might be causing this?
@gianmichelemariani Do you have any other native extensions enabled?
Just these 2
