- Building Android Games with Cocos2d-x
- Raydelto Hernandez
- 183字
- 2021-07-23 19:46:32
Setting up Python
All the Cocos2d-x configuration files are written in Python. If you are using Mac OS or any Linux distribution, it will already be installed on your OS. So, you can skip this section.
If you are using Windows, you need to download Python 2 from the following link: https://www.python.org/ftp/python/2.7.8/python-2.7.8.msi.
Take in to consideration that Python, as Cocos2d-x, keeps simultaneous support for versions 2 and 3. Cocos2d-x only supports Python 2. At the time of writing this book the latest version of the 2 branch was 2.7.8.
After the installer finishes with the setup, you should manually add the Python installation path to the PATH environment variable. The default installation path is C:\Python27
.
Open a new system console and type python
, if the Python console is shown, as seen in the following screenshot, then it means that Python has been installed correctly:

- 案例式C語言程序設(shè)計
- 程序員數(shù)學(xué):用Python學(xué)透線性代數(shù)和微積分
- JavaScript Unlocked
- 算法精粹:經(jīng)典計算機科學(xué)問題的Java實現(xiàn)
- Java Web及其框架技術(shù)
- 算法大爆炸:面試通關(guān)步步為營
- CKA/CKAD應(yīng)試教程:從Docker到Kubernetes完全攻略
- PHP+MySQL網(wǎng)站開發(fā)項目式教程
- QGIS:Becoming a GIS Power User
- Drupal 8 Module Development
- Cocos2d-x學(xué)習(xí)筆記:完全掌握Lua API與游戲項目開發(fā) (未來書庫)
- Mastering Android Development with Kotlin
- ANSYS Fluent 二次開發(fā)指南
- Julia高性能科學(xué)計算(第2版)
- Arduino家居安全系統(tǒng)構(gòu)建實戰(zhàn)