Skip to content

资源预加载时,没有运行变量插值导致预加载失败问题 #997

Description

@JoveCat

因为游戏可选男女主角,立绘加载的是用变量,比如;
setVar:p_phone=男主看手机.png;

游戏运行过程中立绘都能正常显示出来,但我用chrome调试模式,发现很多404报错,报错的链接比如
/game/figure/%7Bp_phone%7D

解码后是:
/game/figure/{p_phone}

chrome资源直接加载这个链接/game/figure/%7Bp_phone%7D,而不是/game/figure/男主看手机.png

请问这是bug还是我使用的方法不对?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions