base on Quick-cocos2dx-2.2.5, modify some bugs