Code Monkey home page Code Monkey logo

native-gateway-cocos2dx's Introduction

Native Gateway Cocos2dx

It's Cocos2dx implementation of Native Gateway.

Native Gateway

Native Gateway allows you to create flexible native extension for cross-platform engines in easy way.

Getting Started

iOS

Drag&Drop repository folder to your project in XCode.

Android

  1. In Android.mk of your project:
  • include files from cocos2dx folder to your sources,
  • add cocos2d/cocos/platform/android/jni to your LOCAL_C_INCLUDES (LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../cocos2d/cocos/platform/android/jni)
  1. Add files from android folder to libs of your project.

General Hints

  1. Add repository as submodule of your project typing in your Classes folder:
git submodule add https://github.com/vedi/native-gateway-cocos2dx.git native-gateway
  1. Create static links for jars in proj.android/libs instead of copying:
ln -s ../../Classes/native-gateway/android/native-gateway-cocos2dx.jar native-gateway-cocos2dx.jar
ln -s ../../Classes/native-gateway/android/native-gateway-common.jar native-gateway-common.jar

Configuration

This package by itself does not need any configuration efforts, it's just a core library of Native Gateway.

Related projects

This repository includes prebuild native libraries, the sources are available at the following URLs:

native-gateway-cocos2dx's People

Contributors

vedi 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.