Related: code-oriented C++ 2D game engine - Axmol Engine. It's an actively maintained Cocos2D-x fork: https://axmol.dev