Shack's Forum Posts

  • Can someone please point me in the direction of an up to date tutorial for getting Game Center to work in the most recent build of Construct 2 please? Everything seems to be out dated.

    >

    > > I've found with Ejecta and Game Center - when you run in the Emulator it will ask to sign in to Game Center but it will fail the first time. When you run the game in future it should then give you a Game Center 'not available' error in the console log, but still run the game OK. Game Center functions will work on a real device but only in Sandbox mode. Make sure you go to Settings on the device and set Game Center to 'Sandbox'.

    > >

    > > A black screen indicates something else is wrong however. Can you run a basic project in Ejecta e.g. just displaying a few sprites?

    > >

    > > Oh, make sure to use the Ejecta plugin for Game Center - not the native one, as that only works on a PhoneGap/Cordova build.

    > >

    >

    > Thanks for the quick reply. Which plugin is the correct one? I am using GameCenter in Construct 2. Should I be using Ejecta or something different? https://www.scirra.com/tutorials/926/ej ... ow-for-ios

    >

    > Also, the latest update for Construct 2 removed the Ejecta Export option and I had to do it with Cordova.

    >

    why removed c2 ejecta exporter?

    i make with cordova, have synex error

    I didn't remove it, it looks like Scirra did.

  • >

    > > I've found with Ejecta and Game Center - when you run in the Emulator it will ask to sign in to Game Center but it will fail the first time. When you run the game in future it should then give you a Game Center 'not available' error in the console log, but still run the game OK. Game Center functions will work on a real device but only in Sandbox mode. Make sure you go to Settings on the device and set Game Center to 'Sandbox'.

    > >

    > > A black screen indicates something else is wrong however. Can you run a basic project in Ejecta e.g. just displaying a few sprites?

    > >

    > > Oh, make sure to use the Ejecta plugin for Game Center - not the native one, as that only works on a PhoneGap/Cordova build.

    > >

    >

    > Thanks for the quick reply. Which plugin is the correct one? I am using GameCenter in Construct 2. Should I be using Ejecta or something different? https://www.scirra.com/tutorials/926/ej ... ow-for-ios

    >

    > Also, the latest update for Construct 2 removed the Ejecta Export option and I had to do it with Cordova.

    >

    why removed c2 ejecta exporter?

    i make with cordova, have synex error

    I didn't remove it, it looks like Scirra did.

  • Is it better to create basic objects outside of Construct2 then import them or to build them in it. By basic objects I mean simple colors/boxes such as a background color or menu bar color.

  • I've found with Ejecta and Game Center - when you run in the Emulator it will ask to sign in to Game Center but it will fail the first time. When you run the game in future it should then give you a Game Center 'not available' error in the console log, but still run the game OK. Game Center functions will work on a real device but only in Sandbox mode. Make sure you go to Settings on the device and set Game Center to 'Sandbox'.

    A black screen indicates something else is wrong however. Can you run a basic project in Ejecta e.g. just displaying a few sprites?

    Oh, make sure to use the Ejecta plugin for Game Center - not the native one, as that only works on a PhoneGap/Cordova build.

    Thanks for the quick reply. Which plugin is the correct one? I am using GameCenter in Construct 2. Should I be using Ejecta or something different? https://www.scirra.com/tutorials/926/ej ... ow-for-ios

    Also, the latest update for Construct 2 removed the Ejecta Export option and I had to do it with Cordova.

  • Hi, I am trying to submit my game to the App Store and want to test it out first. Using XCode, I built a version that succeeded, but when I tried to test it on a device or emulator, I get the Ejecta load screen followed by a black screen that prompts me to log into my itunes account. It does not accept any account information and if I hit cancel it stays on the black screen. I am using Game Center for leaderboards and achievements, so could that be why the game is asking me to log in right away? I have it set to, on start of layout, sign in, but even if the user ignores it, shouldn't it go straight to the game? Any idea why this is happening or how to fix it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, I recently tried to update my app in the Google Play Store. I exported it from Intel XDK and put it in beta, but it lags now. I tried to install it directly to my device via the Intel XDK download link, and it runs completely fine. My question is if anyone knows what might be causing this? It is very difficult for me to test through trial and error because I can only see the lag when playing the Google Play version, but it can take about 5 hours for the store to actually update for me to test. There doesn't appear to be any leaks or objects being created to slow down the app.

  • You do not have to use a server, most stores (iap restore purchases) will provide a way to deal with lost data.

    If you do want to keep a users data, and don't want to own a server, you can use a service.

    Thanks

  • I don't see how you can escape a server. The very basis of Construct is HTML games, which implies a web server to run your HTML files on. I guess I am a little confused by your skittishness with servers.

    The server is the only safe place where you can do any kind of state tracking. The client only exists to display whatever the server tells it to. You cannot really run an HTML game apart from a server.

    State tracking server-side is done by sessions, like this: http://machinesaredigging.com/2013/10/2 ... sion-work/

    https://play.google.com/store/apps/deta ... .com&hl=en

    It is a mobile game, not web or desktop. It is my first game and more of a learning tool for me. I did not want to spend money on servers just yet since it is a simple high score game with not much depth. I would like to add more features which is why I am trying to get more info on IAP or in game stores.

  • They all use servers. Otherwise you are throwing your customers (or yourself) under the cybersecurity bus by letting people steal their data (or letting them manipulate yours; like giving themselves free credits).

    Alright, thanks for the info. Would it still be risky to use a pay to remove ads feature? That would not require servers, correct? It would just require the game to check if the IAP has been made through their Google/Apple account so it can restore the purchase.

  • No. You must set up servers (or contract someone to do it for you).

    The browser is unsecurable. So you should never, never, never rely on client-side security.

    So does everyone who uses IAP set up servers or just put a warning?

  • Hi, I want to add IAP and a store that uses currency you can ear in game. In addition you can purchase more currency with real money (IAP). I know that you can test to see if the user has purchased an item, but how can I protect them from clearing their cache or re installing? My fear is that someone will spend $1 for 1,000 of in game money, and potentially lose that 1,000 if they have to clear their cache for some reason. Is there a way to protect them from this without having to set up servers?

  • Hi,

    The built-in from scirra is based on a web view. If you want to use it on mobile games (Android, IOS, etc) then I recommend the free plugin from cranberrygame.

    You can download it here: http://shatter-box.com/downloads/phonegap-game/

    Also a tutorial for how to set it up is available here: http://shatter-box.com/wiki/phonegap-ga ... amecenter/

    If you still want to use the built-in Google Play plugin from scirra, you can check out this tutorial: http://shatter-box.com/wiki/google-play ... a-version/

    I got it working this way.

    Thanks! That explains why this thing wasn't working.

  • Bump

  • Are you using scirra's plugin or cocoonjs Google play services ??

    I am using the scirra one that is in Construct 2.

  • I can't get this working. the tutorials online say i need a Client Id, but when trying to make one on the google developer console, it only gives me an app id and says that i do not need the Client Id.

    I asked the game to request a login on startup and when touching the leaderboards button, but nothing happens when tesing on my device or with the play store build.