Cocos2d-x basics

Some articles about Cocos2d-x framework

Recent posts

Sep 23, 2020
The Sprite class

In this post we’ll try to create our really own program. It will not do much, only show a few spaceships images from a free pack. Our goal is to learn about Sprite class and its common properties.

Sep 22, 2020
Cocos2d-x basic ideas

Earlier we learned how to create a basic cocos2d-x project. Actually, the project was created by cocos script and all we had to do was to launch it.

Now I’m going to describe some basic cocos2d-x terms and then we’ll be able to look closely at the sources the cocos generated for us.

Sep 22, 2020
Project structure

You may have already noticed that even the basic cocos2d-x project takes a lot of space on hard drive. The situation was even worse with older versions of framework; it could use almost 1GB for small project. Some people think it’s not that significant, but just weird when you have a lot of projects and suddenly run out of space.

Sep 21, 2020
Information sources

There isn’t much info on Cocos2d-x but that’s enough to understand main ideas. The problem is the framework is old so some things rendered obsolete. You’ll have to constantly compare the articles and the real life implementation.

Sep 20, 2020
First steps

Cocos2d is an open source software framework. It can be used to build games, apps and other cross platform GUI based interactive programs. It has a lot of branches, but this tutorial series will focus on C++ and Cocos2d-x.