Coco2D 安裝《cocos2d installment》

 

中文版本:

 

日期:2016、11、1—>注意時間,版本升級很快,可能新的內容本文章就落後了!

Cococs2d詳細介紹參考官方網站即可!

下面介紹其初始教程:(本版本爲vs2015,cocos2d-3.13.1,win7-64,python2.7)

 

一、安裝vs2015版本(下爲網址:)

https://www.visualstudio.com/post-download-vs/?sku=community&clcid=0x804&downloadrename=true#

下載完找到“.exe”程序。直接打開安裝,首次安裝耗時一個小時左右。安裝過程中無需做任何操作。【當然,如果安裝有殺毒軟件,安裝過程中會提示惡意程序修改程序。直接允許該程序所有操作即可。】

 

二、安裝python2.7(下爲網址:)

https://www.python.org/downloads/release/python-2712/

該版本全程是:2.7.12;不要以爲最新版本做好。當前最新版本3.5的實際上和cocos2d-3..不兼容的(當前時間哈!以後可能會。)所以建議下載python2.7.12- Windows x86-64 MSI installer(64位機);Windows x86 MSI installer(32位機)。打開安裝即可。

 

         環境配置:path(你安裝python的位置!)例如我安裝在C:\Python27【這裏注意,他不是C:\Python2.7.12,但無論怎樣,找到

有python.exe的文件的窗口。直接複製上面的路徑】

檢測是否成功:出現版本信息就成功了。

 

 

三、cocos2d-3.13.1(不用安裝)

http://www.cocos2d-x.org/download

 

下載圖中標示的。

解壓後,打開setup.py(後綴名是python的縮寫);一直按enter鍵到最後。即完成。

 

四、下一篇查看各種demo和新建一個HelloWorld工程.

 

 

ENGLISH-VERSION

         Thedate is due to 2016\11\1; Please attention to the current version and keep eyeson the latest version.

         Anydetail can be acquired at cocos.org.

         Now let`sinstall our software in our computer.(os:win7-64,python-v:2.7.12,cocos2d-v:3.13.1,visual studio-v 2015.)

Step1: Install visual studio 2015

        Here is the website:

         https://www.visualstudio.com/post-download-vs/?sku=community&clcid=0x804&downloadrename=true#

                   Afterdownload the file. Find the file with suffix of “.exe”; click it and wait aboutone hour to finish the installment. Pay attention to defender, it will reportsome software try to modify the program, just allow all the behaviors of thesoftware.

Step2: Install python2.7

         Hereis the website:

         https://www.python.org/downloads/release/python-2712/

                   Thefull name is python2.7.12; and the latest version is 3.5 but not company withcocos2d-3… so better is python2.7.12; Windows x86-64 MSI installer (OS: 64bit); Windows x86 MSI installer (OS: 32bit). Thenclick to install.

                   Environment:path->the path which you installed python, if you are not sure whetherphthon27 or python2.7.12. find the file with the name :”python.exe”; copy thepath and paste in path variable; here is the picture. To know whether youinstalled it successfully or not, run the control line, if you can see theversion of python. That is to say, you get success. Cheers!

 

Step:3 Install or download cocos2d-3.13.1

         Hereis the website:

         http://www.cocos2d-x.org/download

 

Followed by the highlight!

After unzip the file, open the program: ”setup.py”;(“py” is the short form of python);click the key [enter] until the windowdisappeared!

 

Step:4 Next we will have a look at thedemos which was given by org.cocos2d. And we will build the first project withthe name of “helloword”;

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章