美文网首页
Cocos2d-x with Vungle Android SD

Cocos2d-x with Vungle Android SD

作者: 账房先生2016 | 来源:发表于2016-11-28 14:23 被阅读0次
    1. Create Cocos2d-x Project(http://www.gamefromscratch.com/post/2014/09/29/Cocos2D-x-Tutorial-Series-Installation-Creating-a-Project-and-Hello-World.aspx)

    2.Use Cocos command line tool to run the project to phone or just compile
    cd to the project folder and use command:
    cocos run -p android --android-studio

    3.Use JniHelper to
    3.1.Call Java from C++
    3.2.Call C++ from Java

    4.Integrate Vungle Android SDK

    github:
    https://github.com/vincentyao2016/Cocos2dx-VungleSDK
    引用:
    Create Cocos2d-x Project
    http://www.gamefromscratch.com/post/2014/09/29/Cocos2D-x-Tutorial-Series-Installation-Creating-a-Project-and-Hello-World.aspx
    Call Cocos C++ function from java
    http://stnguyen.com/cocos2d-x/call-cpp-functions-from-java.html
    Call java function from Cocos C++
    http://www.cocos2d-x.org/wiki/User_Tutorial-Call_Java_functions_in_Cocos2d-x
    Cocos command-line tool
    http://cocos2d-x.org/docs/editors_and_tools/cocosCLTool/

    相关文章

      网友评论

          本文标题:Cocos2d-x with Vungle Android SD

          本文链接:https://www.haomeiwen.com/subject/bujdettx.html