Projects > cpp > Issues > Refactor #2860

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Project_creator supports creating project at any folder and supports UI

Refactor #2860 [Closed]
zhangxm 2013-09-28 04:17 . Updated almost 3 years ago

Now create_project.py will create a project in COCOS2DX_ROOT/projects/, and it can not be moved to other places. It is better to enable to create a new project in any directory.

Fixed at https://github.com/cocos2d/cocos2d-x/pull/4657
Support:
1) Create project in any folder, the created project doesn’t depend on original cocos2d-x folder, it will copy all engine codes
2) UI support by using python ui.

project-creator.png (200.2 kB) dumganhar, 2013-12-31 08:01

zhangxm 2013-11-15 03:38
  • Priority changed from Normal to High
  • Target version changed from 3.0-alpha1 to 3.0-beta
ricardo 2013-11-21 22:18

yes!

We need a much better installer.
Not sure if we have the time to create a great installer for this version.

Just as an example, take a look at http://libcinder.org/docs/welcome/CinderBlocks.html.

Cinder has a very nice installer.
It allows you to create new projects by:
a) creating a project that references (sym links) to the cinder library (similar to our approach)
b) creating a project by copying the cinder project (this is being used by cocos2d-iphone)
c) creating a project by using a git repo for the cinder project

I think b) is the less error prone way to do it.
c) is very nice too, but we need for sure a b) solution.

dumganhar 2013-12-31 07:56
  • Description updated (diff)
dumganhar 2013-12-31 07:56

@riq,
b) was done.

dumganhar 2013-12-31 07:58
  • Tracker changed from Bug to Refactor
  • Subject changed from Can not move project folder created by create_project.py to other directory to Project_creator supports creating project at any folder and supports UI
dumganhar 2013-12-31 08:01
dumganhar 2014-01-01 15:37
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:bbd4a0501ca80381bc0c6b1e7bb0975e2c0b805f.

Atom PDF

Status:Closed
Start date:2013-09-28
Priority:High
Due date:
Assignee:WenHai
% Done:

100%

Category:all
Target version:3.0-beta

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.