[Resolved] cocos2d-html5 deploying to multiplatform?

Current using cocos-html5 develop branch.
How do I deploy to multiplatform like,Web,Android ,IOS?

Searching it but less of solution or article,just find one.
I have reading this article:


But seen is out of date,deploying to web,but loading sources 404 error.

  1. For android,how do open create-android-project.sh??

Thank you.

It is recommended to use the updated one:
http://www.cocos2d-x.org/wiki/How_to_create_a_multi-platform_project_in_one_command_line

Follow the guide to create a JSB project, and then treat your cocos2d-html5 game files (without engine files) as resources.

Please make sure your cocos2d-html5 engine version is closed to cocos2d-x engine version, for example, x v2.2.1 andhtml5 v2.2.1.

Shun Lin wrote:

It is recommended to use the updated one:
http://www.cocos2d-x.org/wiki/How_to_create_a_multi-platform_project_in_one_command_line
>
Follow the guide to create a JSB project, and then treat your cocos2d-html5 game files (without engine files) as resources.
>
Please make sure your cocos2d-html5 engine version is closed to cocos2d-x engine version, for example, x v2.2.1 andhtml5 v2.2.1.

Thank you for reply any latest guide.
But when running the script,its show “No such file of directory”,what the problem actually?
Using ~~x 3.0alpha1,~~html5 develop branch form GitHub

UPDATE:

Problem solve after searching the solution,look like the script has been moved to tools/project-creator/ and renamed to create_project.py. & using the following script:

./create_project.py -project MyGame -package com.MyCompany.AwesomeGame -language javascript

I think the tutorial should be update too prevent user confuse too.

Official WIKI:
http://www.cocos2d-x.org/wiki/How_to_create_a_multi-platform_project_in_one_command_line

Hi, St Goh, thanks for your reminding. I have updated the wiki.