Multi Player - example

I have setup successfully ‘noobhub’ on my digital ocean droplet. I have coded my simple app to handle messages, via the publish/subscribe process, and update game factors based on those messages.  All code is client side, and is working fine.

My question has to do with the ‘challenging’ another to a head-head game:

What would be the normal method to store/save a list of ‘friends’, that would pop up when a user wants to invite/challenge a friend?  A database on the server?  

If so which database would be best for this?

Some way to pull up the user’s contacts off their device? Is that even possible with corona?

I have checked the internet and can find no example code or tutorials showing, how to setup a ‘game-room/lobby’ screen where a user could access a list of their friends to challenge.  Does anyone have some sample code to share, showing this process?

Thanks

Hi @cyberparkstudios,

I assume you’ve considered Coronium? What about GameCenter and Google Play Game Services?

Take care,

Brent

Thanks Brent… looks like coronium is what I am leaning towards.  I want it to be cross platform, so i think Game Center is out.   I hear that Google Play Game Services ‘might’ be cross platform ios-android, but I have not been able to confirm that.

Thanks

Hi again,

Glad to help. If Coronium doesn’t meet your needs, you could use GameCenter on iOS and GPGS on Android via basic checks to determine the platform and then make the proper calls. Many of the function calls are similar or closely related in structure; in fact I’m updating the documentation this week to make it clearer.

Brent

That other option would work also. 

Thanks

+1 on the documentation update, Brent.  Thanks!

Michael,

Here is a link I found with a google play game services   iOS-sdk:

https://developers.google.com/games/services/downloads/

have not used it yet, but seems like it would do the trick. 

Although, I heard yesterday, Develphant is getting ready to put out a CoroniumGS (game server api) that might be even better to use.  But it is only in alpha at this point as I understand it.  His code always seems very easy to understand and implement.

Coronium looks like a good option.  I’m going to give it a shot.

Hi @cyberparkstudios,

I assume you’ve considered Coronium? What about GameCenter and Google Play Game Services?

Take care,

Brent

Thanks Brent… looks like coronium is what I am leaning towards.  I want it to be cross platform, so i think Game Center is out.   I hear that Google Play Game Services ‘might’ be cross platform ios-android, but I have not been able to confirm that.

Thanks

Hi again,

Glad to help. If Coronium doesn’t meet your needs, you could use GameCenter on iOS and GPGS on Android via basic checks to determine the platform and then make the proper calls. Many of the function calls are similar or closely related in structure; in fact I’m updating the documentation this week to make it clearer.

Brent

That other option would work also. 

Thanks

+1 on the documentation update, Brent.  Thanks!

Michael,

Here is a link I found with a google play game services   iOS-sdk:

https://developers.google.com/games/services/downloads/

have not used it yet, but seems like it would do the trick. 

Although, I heard yesterday, Develphant is getting ready to put out a CoroniumGS (game server api) that might be even better to use.  But it is only in alpha at this point as I understand it.  His code always seems very easy to understand and implement.

Coronium looks like a good option.  I’m going to give it a shot.