cocos2dx tiledmap 45度地图 世界坐标转换 格子坐标

Size mapSize = m_map->getMapSize(); Size tileSize = m_map->getTileSize(); Vec2 pos = position; float halfMapWidth = mapSize.width * 0.5f; float mapHeight = mapSize.height; float tileWidth = tileSize.w
相关文章
相关标签/搜索