Behaviors of the apple GC on android

patapplepatapple Member Posts: 873
edited September 2012 in Working with GS (Mac)
Hi,

We have almost finished our game and we are testing it on Android and iDevice and we want to add the game center on the iDevice version. Do i need to create different projects or GS will automatically delete the game center behavior if I create a build for android?

Tell me your experiences... :)

Comments

  • MarkOnTheIronMarkOnTheIron Member Posts: 1,447
    Make a "gameCenter" attribute and just wrap your Game Center behaviours in a Rule that says: if gameCenter is 1 then fire Game Center rule.

    With this you can set the attribute to 0 before publishing for Android and you're good to go.

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    In my experiences all the GameCenter behaviors are disabled on android builds. I still recommend removing them for good measure but I have never had an issue with them remaining in the project for all builds.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    I agree with @Tenrdrmer it's never smart to leave deadened code in anything. I would remove all traces of it. Just copy the file and rename it then delete all Apple specific code.
  • patapplepatapple Member Posts: 873
    Thanks to all for the reply. I will create a system like @MarkOnTheIron said :)
Sign In or Register to comment.