Hi, I am trying to set up Corona Cloud and I just put this at the top of my main.lua:
[lua]
CC_Access_Key = “MYaccessKEY”
CC_Secret_Key = “MYsecretKEY”
coronaCloud = require ( “coronaCloudController” )
coronaCloud.init( CC_Access_Key, CC_Secret_Key )
gameNetwork = require( “gameNetwork” )
local params = { accessKey = CC_Access_Key, secretKey = CC_Secret_Key, }
gameNetwork.init( “corona”, params )
[/lua]
and then in the terminal it says:
2013-03-24 14:15:07.632 Corona Simulator[20464:f03] Runtime error
module ‘coronaCloudController’ not found:resource (coronaCloudController.lu) does not exist in archive
no field package.preload[‘coronaCloudController’]
no file ‘/Library/Application Support/Corona/Simulator/Plugins/coronaCloudController.lua’
no file ‘/Users/Zac/Documents/code/llamaOrDuck/coronaCloudController.lua’
no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/coronaCloudController.lua’
no file ‘/Library/Application Support/Corona/Simulator/Plugins/coronaCloudController.dylib’
no file ‘./coronaCloudController.dylib’
no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/coronaCloudController.dylib’
stack traceback:
[C]: ?
[C]: in function ‘require’
?: in function ‘require’
/Users/Zac/Documents/code/llamaOrDuck/main.lua:19: in main chunk
2013-03-24 14:15:07.633 Corona Simulator[20464:f03] Runtime error
stack traceback:
[C]: ?
[C]: in function ‘require’
?: in function ‘require’
/Users/Zac/Documents/code/llamaOrDuck/main.lua:19: in main chunk
I think that maybe there are asset files that I am supposed to download because it looks like it can’t find the CoronaCloudController.lua file. If I take out those lines then it just gives me these warnings basically saying that there is an asset folder missing (I think):
2013-03-24 14:09:46.630 Corona Simulator[20464:f03] WARNING: Cannot create path for resource file ‘cloud_assets/cloud_imagesheet_1x.png’. File does not exist.
2013-03-24 14:09:46.631 Corona Simulator[20464:f03] WARNING: The ‘gameNetwork’ provider (corona) is not available on the simulator
Does anyone know what I am missing? Any help would be appreciated!