Skip to content

Pocket Warriors Setting Up documents

9miao Mobile Game edited this page Aug 20, 2014 · 1 revision

Pocket Warriors Setting Up documents

Basic Environment

Client environment:
Client development environment: mac osx 10.9
Client development tool: xcode5.01
Client development engine: cocos2d-x 2.2.0

Server environment:
Server development environment: windows 7 sp1
Server development tool: eclipse, Python 2.7
Server development engine: firefly-v1.4

Client Setting Up

In mac osx:
(1). Download cocos2d-x 2.2.0 version.
(2). Put Pocket Warriors package file into project folder or sample folder of cocos2d-x 2.2.0 root directory.
(3). Run project file in proj.ios and open xcode and click run button.
Caution: this Pocket Warriors version must use cocos2d-x 2.2.0 on account of cocostudio UI editor it uses. Since cocostudio UI editor only supports cocos2dx that has the same release time with it and is not compatible with before or after released version, so here we can only use version 2.2.0.

In Windows 7:
(1). Download cocos2d-x 2.2.0 in any directory.
(2). Put Pocket Warriors package file into project folder or sample folder of cocos2d-x 2.2.0 root directory.
(3). Right click ‘project’ and click ‘generate’, and right click the generated file to set as startup, then run.

Eclipse in Mac:
(1). First you need to prepare eclipse, and inherit android sdk version; you also need to prepare android ndk.
(2). Import project into eclipse after preparation. Right click to configure NDK path in C++ environment.
(3). Then click run.