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
相關文章
相關標籤/搜索