Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.
/ NityLife Public archive

This simple project is cocos-2dx c++ multi-patform(win32, android, ios, linux) game in 2014.

License

Notifications You must be signed in to change notification settings

skydoves/NityLife

Repository files navigation

NityLife

This simple project is cocos-2dx c++ multi-patform(win32, android, ios, linux) game in 2014.
There are a title, main scene, two mini games and shop scene.

screenshot_2014-08-17-00-13-28

Get it on Google Play

Prerequisites:

  • python 2.7.x or 3.x.x
  • Cocos2d-x v3.11.1
  • Android NDK
  • Android SDK OR Eclipse ADT Bundle
  • Android AVD target installed
  • Android Gingerbread 2.3 api level 10 (eclipse project)

Building project on Android

There are two ways of building Android projects.

  1. Eclipse
  2. Command Line

Import Project in Eclipse

####Step 1: C/C++ Environment Variable NDK_ROOT

  • Eclipse->Preferences->C/C++->Build->Environment.
  • Click Add button and add a new variable NDK_ROOT pointing to the root NDK directory. Example
  • Only for Windows: Add new variables CYGWIN with value nodosfilewarning and SHELLOPTS with value igncr

####Step 2: Adding and running from Eclipse

Example Import

  1. File->New->Project->Android Project From Existing Code
  2. Browse to your project directory and Add the project
  3. Click Run as Android Application to run on connected device or emulator.

That's all !!!

Running project from Command Line

$ cd NEW_PROJECTS_DIR/MyGame
$ cocos run -p android -j 4

License

Copyright 2014 skydoves

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

This simple project is cocos-2dx c++ multi-patform(win32, android, ios, linux) game in 2014.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published