Skip to content

axmol v3 migrate guide

halx99 edited this page Oct 17, 2025 · 2 revisions

axmol v3 remove all deprecated APIs, so we write this guide. (WIP)

StringUtils removed?

A. StringUtils was renamed to text_utils, and the API format in it also was removed, use fmt::format instead


Color3B removed?

A. Color3B removed and Color4B was renamed to Color32, Color4F renamed to Color, use Color32 instead Color3B

AsyncTaskPool

A. Use Director::getInstance()->getJobSystem() instead

Other renameing

  • Director::convertToUI => Director::worldToScreen
  • Director::convertToGL => Director::screenToWorld
  • RenderViewImpl::createWithFullScreen => RenderViewImpl::createWithFullscreen
  • triangles.indices[i]].vertices => triangles.indices[i]].position
Clone this wiki locally