Developing games with cocos2d
Cocos2D is a game development platform.
It uses a hierachy of classes
- Director - there is only one director. The director is running scenes
- Scene - there can be multiple scenes, but at any one time only one scene is running
- Layers - a scene can be composed of multiple layers
- Sprites - sprites are animated images which can be part of a layer
- Install the Anaconda Distribution (https://www.anaconda.com/distribution/)
- Install VS Code from within Anconda (this installs automatically the Python extensions)
- Launch VS Code
- Select the /anaconda/bin/python3 environment ('base': conda)
Install Cocos2D for the user only
pip install --user cocos2d
Run platformer.py