摘要: 像素点跟tile的索引之间的转换//从cocos2d-x坐标转换为Tilemap坐标CCPoint GameMap::tileCoordForPosition(CCPoint position){ int x = position.x / this->getTileSize().width; int... 阅读全文
posted @ 2014-07-25 13:23 rexzhao 阅读(1149) 评论(0) 推荐(0) 编辑