- 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:

- Boost程序庫完全開發(fā)指南:深入C++”準(zhǔn)”標(biāo)準(zhǔn)庫(第5版)
- 精通Nginx(第2版)
- JavaScript高效圖形編程
- MySQL數(shù)據(jù)庫應(yīng)用與管理 第2版
- Microsoft Application Virtualization Cookbook
- C#程序設(shè)計教程
- GitLab Repository Management
- 重學(xué)Java設(shè)計模式
- 飛槳PaddlePaddle深度學(xué)習(xí)實戰(zhàn)
- Natural Language Processing with Python Quick Start Guide
- Fastdata Processing with Spark
- JavaScript從入門到精通(視頻實戰(zhàn)版)
- Learning Android Application Testing
- 數(shù)據(jù)分析與挖掘算法:Python實戰(zhàn)
- HTML5游戲開發(fā)實戰(zhàn)