Sample projects using Cocos2D and Shephertz SDKs
Instructions to setup.
-
Login/Sign-up on AppHQ (ShepHertz developer dashboard)
-
From the dashboard, create a new app of type appwarp multiplayer cloud gaming.
-
Note its keys – you will require them to initialize the SDK in your code.
-
From the dashboard, create a new room with 2 max players. Note its room id – you may require this in your code.
-
Download the code from this repo and open the xcode project
-
Edit GameConstants.h and replace the api_key, secret_key and room_id values from steps 3 and 4.
-
Run the project on your device or simulator.