No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cpp
js
lua
.gitignore
README.md
run.sh
setup
setup_win32.bat

README.md

How to run sdkbox samples

Steps:

mkdir samples
cd samples

# must clone this repo
git clone --depth 1 https://github.com/sdkbox/sdkbox-cocos2d-x-binary.git

# clone sample repo
git clone --depth 1 https://github.com/sdkbox/sdkbox-sample-admob.git

# run sample with specified language and platform
# eg: cpp and ios
./sdkbox-cocos2d-x-binary/run_sample.sh admob cpp ios
# or
cd cpp && cocos run -p ios
# javascript and android
./sdkbox-cocos2d-x-binary/run_sample.sh admob js android
# or
cd js && cocos run -p android

# <optional> if exists "download-depends.sh" in sample repo, execute it
# ./sdkbox-sample-admob/download-depends.sh

Memo:

  1. Sample repo and cocos2dx repo must be in same level directory
+-- sdkbox-cocos2d-x-binary
+-- sdkbox-sample-admob
| +-- cpp
| +-- lua
| \-- js

reward video

If you can not get reward video, please try to set target=android-24 in project.properties file.