cocos2dx 3.0 有前面的include就会报后面的错 去掉编译就能经过 怎么解?spa
缘由:Player.h 和 Player.cpp的常量名字和库里的冲突编译
Player.cpp #define ACCELERATION 0.5 ->im
#define PLAYER_ACCELERATION 0.5img
Player.h co
#define GRAVITY 1.5 ->
#define PLAYER_GRAVITY 1.5