【问题标题】:How to render SVG files in Cocos Creator?如何在 Cocos Creator 中渲染 SVG 文件?
【发布时间】:2020-07-21 08:59:33
【问题描述】:

Cocos Creator 目前是否支持 SVG 格式文件?如果是这样,我如何在场景中渲染它们?如果没有,是否有某种扩展允许这样做?

【问题讨论】:

    标签: svg cocoscreator


    【解决方案1】:

    本机没有这样的选项。有一个第三方工具 (https://github.com/stefandee/raphael-example) 提供 SVG 文件支持,但它不完整(不适用于某些 SVG 文件)并且仅支持旧的 Cocos Creator 版本。

    来源:https://discuss.cocos2d-x.org/t/does-cocos-creator-support-svg-format-files/50967/2?u=quickz

    【讨论】:

      猜你喜欢
      • 2013-01-29
      • 2011-05-07
      • 2011-01-20
      • 1970-01-01
      • 2011-10-01
      • 2011-11-04
      • 2021-12-08
      • 2020-11-07
      • 1970-01-01
      相关资源
      最近更新 更多