CocosCreator实现动物同化AnimalGame.zip let ANI_ROW = 14; //小动物行数/列数 let ANI_TYPE = 14; //小动物种类数 let MAX_COUNT = 36; //最大次数 let __DESIGN_RESOLUTION_WIDTH = 1280; let __DESIGN_RESOLUTION_HEIGHT = 720; let lineDir = { NONE : -1, //空 TOP : 0, //上 BOTTOM : 1, //下