Construct 2, Clay.io, and CocconJS

0 favourites
  • 1 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • Hi!

    I was wondering if someone could help me with implementing Clay.io with Construct 2. I have the login and leaderboard functions of Clay.io working, but I'm struggling with implementing them in the layout for my game. My game has a main menu with different options the player can touch to choose, and when the Clay.io dialog boxes pop up they can still touch these options behind the dialog boxes, meaning as the user logs into clay.io or interacts with the leaderboard, they can unknowingly be pressing different menu options like starting the game. Is there any way to put the Clay.io dialog boxes on another layer, or only have the menu options work when there isn't a Clay.io dialog box on the screen? I noticed this doesn't happen nearly as much using the mouse and keyboard controls, but when I export to cocoonjs and try on my ipad/iphone the issue is glaring, and every interaction with the clay.io dialog box also affects the game world.

    Here is the .capx to try it out

    dropbox.com/s/vgyo4kqgngc2qgv/EndlessRunner.capx

    Thanks in advance

    -Dan

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)