Unable To Use Gamenetwork("corona", Prefs)

I trying for the first time to use corona-cloud-core.lua and gamenetwork(“corona”, prefs), unsuccessfully.

What I’m doing:

coronaCloud = require ( "corona-cloud-core" ) coronaCloud.init( CC\_Access\_Key, CC\_Secret\_Key ) coronaCloud.debugEnabled = true gameNetwork = require( "gameNetwork" ) local params = { accessKey = CC\_Access\_Key, secretKey = CC\_Secret\_Key, supportedOrientations="portrait"} gameNetwork.init( "corona", params ) gameNetwork.show( "dashboard" )      

But I get the following WARNING, and I get a void screen:

2013-04-08 09:17:45.425 Corona Simulator[7749:f03] WARNING: The 'gameNetwork' provider (corona) is not available on the simulator 2013-04-08 09:17:45.425 Corona Simulator[7749:f03] WARNING: The 'gameNetwork' library is not available on this platform.  

My Corona Simulator Build: 2013.1076, and the simulator device is iPhone.

Any help will be highly appreciated.

Thank you

Without seeing more of your log, you are likely missing some required include files that the UI for the corona provider needs.  It was included with a couple of sample apps that were in a previous daily build.  Those sample apps have been temporarily pulled and will be back soon.

Rob

Thanks a lot for your reply!

  1. I didn’t copy the full log the simulator dropped because I found it useless. Anyway, it’s copied below.

  2. I was unable to find an old build to search for the samples. Could you please also help me with this?

Cheers

Copyright (C) 2009-2013  C o r o n a   L a b s   I n c . 2013-04-08 09:17:45.397 Corona Simulator[7749:f03]     Version: 2.0.0 2013-04-08 09:17:45.397 Corona Simulator[7749:f03]     Build: 2013.1076 2013-04-08 09:17:45.398 Corona Simulator[7749:f03] The file sandbox for this project is located at the following folder:     (/Users/xxxxxxx/Library/Application Support/Corona Simulator/super-project-BC85B5267B9CCA8646ED40874D5EF617) 2013-04-08 09:17:45.425 Corona Simulator[7749:f03] WARNING: Cannot create path for resource file 'cloud\_assets/cloud\_imagesheet\_2x.png'. File does not exist. 2013-04-08 09:17:45.425 Corona Simulator[7749:f03] WARNING: The 'gameNetwork' provider (corona) is not available on the simulator 2013-04-08 09:17:45.425 Corona Simulator[7749:f03] WARNING: The 'gameNetwork' library is not available on this platform.  

I wouldn’t waste your time on it. The current gameNetwork implementation for Corona that I tested is pretty much unusable. The UI files are in an earlier daily build though if you really want to see it for yourself.

Marco

Thanks Marco

I’m planning to build an turned-base multiplayer puzzle game, and I thought Corona Cloud would be a nice choice.

As far as I could understand, it’s not mature enough for production, right?

I’m thinking in using Google AppEngine and build the core services by myself.

Any thoughts would be greatly appreciated!

Cheers

Hi,

Using Corona Cloud for a turn-based puzzle game is very plausible.

I think Marco suggested that you should not use the gameNetwork yet to let the user interact with CC.

However Corona Cloud is very usable as long as you create your own login and leaderboard screens.

Hope this helps!

Thanks qwertier, that is correct, I was suggesting that the Corona provided UI using gameNetwork isn’t usable. Pretty happy with everything else so far.

Without seeing more of your log, you are likely missing some required include files that the UI for the corona provider needs.  It was included with a couple of sample apps that were in a previous daily build.  Those sample apps have been temporarily pulled and will be back soon.

Rob

Thanks a lot for your reply!

  1. I didn’t copy the full log the simulator dropped because I found it useless. Anyway, it’s copied below.

  2. I was unable to find an old build to search for the samples. Could you please also help me with this?

Cheers

Copyright (C) 2009-2013  C o r o n a   L a b s   I n c . 2013-04-08 09:17:45.397 Corona Simulator[7749:f03]     Version: 2.0.0 2013-04-08 09:17:45.397 Corona Simulator[7749:f03]     Build: 2013.1076 2013-04-08 09:17:45.398 Corona Simulator[7749:f03] The file sandbox for this project is located at the following folder:     (/Users/xxxxxxx/Library/Application Support/Corona Simulator/super-project-BC85B5267B9CCA8646ED40874D5EF617) 2013-04-08 09:17:45.425 Corona Simulator[7749:f03] WARNING: Cannot create path for resource file 'cloud\_assets/cloud\_imagesheet\_2x.png'. File does not exist. 2013-04-08 09:17:45.425 Corona Simulator[7749:f03] WARNING: The 'gameNetwork' provider (corona) is not available on the simulator 2013-04-08 09:17:45.425 Corona Simulator[7749:f03] WARNING: The 'gameNetwork' library is not available on this platform.  

I wouldn’t waste your time on it. The current gameNetwork implementation for Corona that I tested is pretty much unusable. The UI files are in an earlier daily build though if you really want to see it for yourself.

Marco

Thanks Marco

I’m planning to build an turned-base multiplayer puzzle game, and I thought Corona Cloud would be a nice choice.

As far as I could understand, it’s not mature enough for production, right?

I’m thinking in using Google AppEngine and build the core services by myself.

Any thoughts would be greatly appreciated!

Cheers

Hi,

Using Corona Cloud for a turn-based puzzle game is very plausible.

I think Marco suggested that you should not use the gameNetwork yet to let the user interact with CC.

However Corona Cloud is very usable as long as you create your own login and leaderboard screens.

Hope this helps!

Thanks qwertier, that is correct, I was suggesting that the Corona provided UI using gameNetwork isn’t usable. Pretty happy with everything else so far.

Rob, are you able to give an estimated date as to when the gameNetwork interface will be usable? I’m trying to avoid having to code my own gui but will have to if the corona gui is going to be a while.

Many Thanks,

Marco

I’ll see what I can find out. 

Any news on this? Having a default UI to test with would be great. 

Yes, see the blog post from this Tuesday’s Tutorial post:

http://www.coronalabs.com/blog/2013/04/23/new-corona-cloud-api-library/

Rob, are you able to give an estimated date as to when the gameNetwork interface will be usable? I’m trying to avoid having to code my own gui but will have to if the corona gui is going to be a while.

Many Thanks,

Marco

I’ll see what I can find out. 

Any news on this? Having a default UI to test with would be great.