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

Terrible Flickering issue with Google Play Services only on Lollipop #64

Open
MichaelVParent opened this issue Mar 19, 2015 · 13 comments
Open

Comments

@MichaelVParent
Copy link

Hi,

My game works fine with opeing Google Play services on android devices, that is, EXCEPT for new devices that run on Lollipop.. for these newest devices Google Play Services opens, but the background green color flickers terribly.

Any ideas?

Thanks,
Mike

@MichaelVParent
Copy link
Author

It's been nine days since I reported this issue and no response. Is anyone looking into this? My client is afraid to release the game because with this current flickering bug he's afraid to trigger epileptic seizures in people who are on Lollipop Android devices. He tested several other games on the same device that open and use Google Play Services and none of them cause the flickering. Also, On my android with an older version of Android OS there is no flicker problem, so it seems specific to Cocoonjs+Lollipop.

Thanks,
Mike

@MichaelVParent
Copy link
Author

I should add I had my client test other published games by big publishers on the same device that open Google Play services and none of them have the flickering issue, so its definitely not an issue specific to the phone or OS..I'm guessing there's something special to Lollipop that cocoonjs's Google Play services code is not yet compatible with.

@ArcadEd
Copy link

ArcadEd commented Mar 29, 2015

I don't think it's just a lollipop thing, Hungry Hal has always done it and it was released before 5.0. It looks pretty bad, but could never figure out a way around it. It only seemed to happen if there was movement of other objects on the screen. If the screen was full static when the call was made, it doesn't do it. At least in my experience.

@MichaelVParent
Copy link
Author

Hmm.. well my game never creates this problem on my older android device... only my clients device, which is newer and uses Lollipop... so clearly there's something that makes some Android devices more sensitive to it. But thanks for the hint. I'll look into setting timescale to zero before opening game-center so see if that solves the issue... but of course this is a hacky work-around at best (if it will work) and the real issue needs to be solved.
Thanks ArcadEd

@MichaelVParent
Copy link
Author

Hi Again,

I set timescale to 0 before opening Google Play services so there's no movement on screen at all in he game but the flicker is still there. Where are you Ludei?

Here's a video of the Flickering: (This was recorded before the build that sets the timescale to zero, but the flickering is the same)

https://dl.dropboxusercontent.com/u/61721248/IMG_4009.MOV

Thanks,
Mike

@LibelulaV
Copy link
Contributor

Hello,

After testing during a while, I still can't reproduce the flickering on our devices. If possible, can you please include me as a tester inside your app at google play?

Regards.

@MichaelVParent
Copy link
Author

It doesn't flicker on my device either, BUT does on my clients device and does for ArcadEd's device with his games as well. So, this is a problem for certain versions of Android OS? It's not a hardware issue, because, as I said, other commercial games on the same devices do NOT flicker, where as the once compiled with cocoonjs DO have the flicker.

If you can't get the flicker to happen, its because it will NOT happen on that particular Device Android/OS combination.

@LibelulaV
Copy link
Contributor

The flickering can be caused by so many things. That is why I need to reproduce it.
Can you please at least provide a device log?

@MichaelVParent
Copy link
Author

I don't own a device on which the games flicker... ArcadEd does, maybe he can do so... the device that my client has is a One And One, @ArcadEd, can you also tell LibelulaV what devices you know of that have the flicker issue with Cocoonjs games and what Android OS they are running?

Thanks,
Mike

@ArcadEd
Copy link

ArcadEd commented Apr 1, 2015

My device is a Nexus 7 running 5.0. I have a few others I can check it on, but I am out of town and won't be back until Monday.

@Lucidical
Copy link

The flickering is possible caused by the transition of the "login" notice. I had similiar problems. Just try to delay the Google Play popup with a "Waiting" action. (Wait until the transition is over) Also try not to use fullscreen effects while open GooglePlay/Game Center. I have heard the root of this problem is the "frame buffer" but Iam not sure. I only have this problem with my Samsung S5 with Android 5. Everything is fine on my S3 with Android 4.4.4 .

@MichaelVParent
Copy link
Author

Hi Lucidical. The flicker percists after the transition.. And how can you make the game wait until after "the transition" Before showing google play? I don't understand. What would those event and actions look like?

What do you mean by fullscreen effects?

Thanks,
Mike

@Lucidical
Copy link

Hey Mike,
it depends on your project but basically you can set a "wait" with the time frame of your transition. The following example shows the event triggered in my project after the layout(and game) starts the first time and calls the login function. Without the 0.1 second wait time flickering will occur.
login
This fixed the problem in my project.
achievement
I also implemented a wait time when opening the leaderboard or achievement.

With fullscreen effect I mean effects on layers/layouts. This also can cause flickering.

Best regards.

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

4 participants