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

Screen blinking upon transition #37

Closed
ronsap123 opened this issue Aug 15, 2017 · 4 comments
Closed

Screen blinking upon transition #37

ronsap123 opened this issue Aug 15, 2017 · 4 comments
Assignees

Comments

@ronsap123
Copy link

I'm building a physics based application, that doesn't have any external plugins except for admobpro.
Do I need to terminate something in the current state before proceeding to the next to avoid the blinking?

I added an event listener that calls a function when I click on a button, the function is the following:

game.state.start('maingame',Phaser.Plugin.StateTransition.Out.SlideRight, Phaser.Plugin.StateTransition.In.SlideRight);

Of course I have preloaded the 'maingame' state.

The screen blinks and turns black for a moment then does the transition. I've heard that other transition plugins somehow interfered with different plugins on the same project thus causing the blink, but I doubt an admob plugin will do any trouble with that..

@cristianbote
Copy link
Owner

Hey @ronsap123,

Thank you, for reaching out!

I'll try to reproduce it locally, if not on codepen or something, and come back to you. If you already have it somewhere running, please let me know to check it out.
Meanwhile, try to reduce the transition duration/speed to see if it's still visible, or if it's still blinking.

I'll get back with some results.
Cheers!

@cristianbote
Copy link
Owner

Hey @ronsap123

Trying to clean up the issues 😄is this still relevant?

Thank you!

@cristianbote cristianbote self-assigned this Feb 14, 2018
@ronsap123
Copy link
Author

ronsap123 commented Feb 14, 2018 via email

@cristianbote
Copy link
Owner

Agh, sorry to hear that. Unfortunately that hits home 😃for me as well.

Best of luck and thanks for trying it out!

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