Cocos2d-x basics

Some articles about Cocos2d-x framework

Recent posts

Sep 28, 2020
imagemagick tricks

imagemagick is a free console software to create, edit, compose, or convert bitmap images.

Sep 28, 2020
Scrolling the map

Sometimes in your game you’ll have to scroll the map when your character moves to some new position. For some games the scrolling creates a really significant part of user experience; I’d recommend to read this article just to understand how important it is.

Sep 27, 2020
Working with different screen sizes

In one of the first articles, I’ve recommended to remove from the default AppDelegate.cpp file everything related to work with multiple screen resolutions.

Sep 26, 2020
Tiled maps

If you are creating some really large project like a strategy game or a platformer you’ll need some tool to design levels. And this tool is probably Tiled - a universal open source level editor.

Sep 26, 2020
Switching between scenes

The Cocos2d developers wanted the internal part of the game look like theater or movie: there is [the director(https://docs.cocos2d-x.org/api-ref/cplusplus/v4x/d7/df3/classcocos2d_1_1_director.html)] and some scenes. The director orders scenes to change one another.