Skip to content

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

Description

@MichaelVParent

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

Activity

  1. MichaelVParent commented on Mar 28, 2015

    @MichaelVParent
    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

  2. MichaelVParent commented on Mar 29, 2015

    @MichaelVParent
    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.

  3. ArcadEd commented on Mar 29, 2015

    @ArcadEd

    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.

  4. MichaelVParent commented on Mar 29, 2015

    @MichaelVParent
    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

  5. MichaelVParent commented on Mar 30, 2015

    @MichaelVParent
    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

  6. LibelulaV commented on Mar 31, 2015

    @LibelulaV
    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.

  7. MichaelVParent commented on Mar 31, 2015

    @MichaelVParent
    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.

  8. LibelulaV commented on Apr 1, 2015

    @LibelulaV
    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?

  9. MichaelVParent commented on Apr 1, 2015

    @MichaelVParent
    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

  10. ArcadEd commented on Apr 1, 2015

    @ArcadEd

    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.

  11. Lucidical commented on Apr 2, 2015

    @Lucidical

    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 .

  12. MichaelVParent commented on Apr 2, 2015

    @MichaelVParent
    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

  13. Lucidical commented on Apr 2, 2015

    @Lucidical

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions