construct & cocoon js - collected experiences

0 favourites
From the Asset Store
Casino? money? who knows? but the target is the same!
  • anyone experienced a flickering in their game after a few minutes, i.e. pausing the game for a few minutes?

  • now only work on Android 4.x.

  • psyko666,

    The only flickering we get with our games are after the cocoonjs splash screen is displayed. This happens for one or two seconds an then our custom loading screen is displayed. Has anyone else experienced this?

  • simwhi

    I encountered that flickering but it went away after deleting keyboard and facebook complete plugins.

  • Sollaano

    Very interesting. I will try it out and let you know. Many thanks for the information.

  • Sollaano, ludei

    There are no references to either the keyboard or Facebook plugins. Any other ideas to stop this flickering screen.

  • simwhi

    Download CocoonJS Launcher to your phone and run game's zip file in it. Then check the errors. Thats how i found answer to my flickering problem.

  • Sollaano thanks for the tip, noted. :)

  • simwhi yeah that too i experience flickering after they show ludei splash screen

  • I have not experienced any flickering.

    I have tried my app on my tablet and phone.

    There must be something in your app that cocoonjs does not like that is causing it.

  • psyko666

    When testing our game using the cocoonjs launcher we do get some error but we are not sure what it refers to. We will send a bug report to Ludei to investigate.

  • I wanted to integrate the camera support with User Media in Construct but it doesn't work. I see now that CocoonJS does support that with its camera extension (which works great in the Video Puzzle demo). Once i export the game from Construct, how do I integrate the camera extension? If it is even possible.

  • "- How do we integrate the game with Facebook? I want the users to be able to publish their score to their walls

    • I have the same need with twitter. I want my users to be able to tweet about their scores.

    I've been trying to implement Clay.io and I think the developer is trying to integrate it with CocoonJS, but I'm wondering if there are other solutions that I don't know about.

    I also know that CocoonJS says that is fully integrated with Facebook+Twitter, but I can't find any documentation on that."

    This post was made a while back and I have exactly the same question.

    All I want is for the Android game to login and post messages and high scores to facebook- Is it true that the construct 2 Facebook object is not supported in Coccoon?

    If so, what do I do?!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Here's a possible solution for those having flickering problems, namely one that occurs whenever the game changes layout:

    CocoonJS does not support letterbox scaling and if you try it, CocoonJS will default to Scale outer for fullscreen. If you use Scale outer with Construct 2 however, and you do not use the Scroll to behaviour anywhere in your project, then every time the game moves from one layout to another, Construct2 first puts everything in the middle of the screen for the first frame(s), then moves it all to the left side, resulting in a jarring flicker.

    The way to fix this is simply add a Scroll to (0,0) call to the start of each layout.

  • "- How do we integrate the game with Facebook? I want the users to be able to publish their score to their walls

    - I have the same need with twitter. I want my users to be able to tweet about their scores.

    I am looking at doing the same. Does anyone know how to do this?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)