Giter Site home page Giter Site logo

sdkboxsamples-creator's Introduction

SDKBox Samples for cocos creator

English

this is a sample project for how to use SDKBox plugin in cocos creator project.

Steps:

  1. build project in creator build setting window(or press Shift+Command+B and build)
  2. now creator has generate cocos2d-x project under build/jsb-xxx folder
  3. run sdkbox import iap -p build/jsb-xxx or other plugin
  4. compile this project
  5. run

Now, this project just implement code how to invoke IAP, Facebook, GoogleAnalytics, Review, AdMob, InMobi plugins, other plugins of SDKBox is the sample. and we will add more sample code of other plugins ASAP.

中文

这是一个把SDKBox的插件集成到cocos creator project中的样例工程. 在creator中已写好了IAP,Facebook插件的代码,只需要你构建好工程,把对应你想验证的插件集成进工程中就可以了.

以下是步骤:

  1. 在 Creator 的工程构建界面,构建工程(也可以直接快捷键 Shift+Command+B 调出构建窗口,然后构建)
  2. 构建好后, Creator 就把-x工程生成出来了, 放在 build/jsb-xxx 下
  3. iap, facebook 或其它插件 安装到工程中, 运行以下命令 sdkbox import iap -p build/jsb-xxxsdkbox facewbook -p build/jsb-xxx
  4. 编译工程
  5. 运行

现在此工程中只写了 IAP, Facebook, GoogleAnalytics, Review, AdMob, InMobi 插件的调用实现代码,其它插件雷同,后续也会不断补充进新的插件调用方法

sdkboxsamples-creator's People

Contributors

greatestever avatar hugohuang1111 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.