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