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

- Rust實戰
- Microsoft Application Virtualization Cookbook
- 摩登創客:與智能手機和平板電腦共舞
- Mastering Selenium WebDriver
- Visual Basic程序設計(第3版):學習指導與練習
- Practical Windows Forensics
- UML+OOPC嵌入式C語言開發精講
- Banana Pi Cookbook
- iOS開發實戰:從入門到上架App Store(第2版) (移動開發叢書)
- GameMaker Essentials
- Instant Zurb Foundation 4
- Practical GIS
- Groovy 2 Cookbook
- XML程序設計(第二版)
- Getting Started with hapi.js