Submitting app via Xcode question

Get help using Construct 2

Post » Tue Jan 27, 2015 3:12 am

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?
B
6
S
1
Posts: 71
Reputation: 548

Post » Tue Jan 27, 2015 9:36 am

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.
B
24
S
7
G
1
Posts: 186
Reputation: 2,716

Post » Tue Jan 27, 2015 3:36 pm

aquinn wrote: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.
B
6
S
1
Posts: 71
Reputation: 548

Post » Wed Jan 28, 2015 5:25 pm

If you are exporting to Ejecta you must use the Ejecta plugin to access Game Center. You can still do an Ejecta export by right clicking on the Export window and click "Show deprecated Exporters".

If you are using exporting to Cordova and building with the Intek XDK, or Phonegap Build then the native C2 Game Center plugin should work OK.
B
24
S
7
G
1
Posts: 186
Reputation: 2,716

Post » Sun Feb 08, 2015 5:04 pm

Shack wrote:
aquinn wrote: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
B
5
S
1
Posts: 4
Reputation: 472

Post » Mon Feb 16, 2015 4:14 pm

sinitra wrote:
Shack wrote:
aquinn wrote: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.
B
6
S
1
Posts: 71
Reputation: 548

Post » Mon Feb 16, 2015 4:16 pm

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.

sinitra wrote:
Shack wrote:
aquinn wrote: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.
B
6
S
1
Posts: 71
Reputation: 548


Return to How do I....?

Who is online

Users browsing this forum: MassimoF and 25 guests