加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Expression: pSpriteFrame != 0

发布时间:2020-12-14 17:08:06 所属栏目:百科 来源:网络整理
导读:cocos2dx 使用plist的时候,如果修改了plist的文件名称,则也需要修改文件里面,最下面的值 dict keyformat/key integer2/integer keyrealTextureFileName/key stringmjtt.png/string keysize/key string{1024,2048}/string keysmartupdate/key string$Textu

cocos2dx

使用plist的时候,如果修改了plist的文件名称,则也需要修改文件里面,最下面的值

<dict>
<key>format</key>
<integer>2</integer>
<key>realTextureFileName</key>
<string>mjtt.png</string>
<key>size</key>
<string>{1024,2048}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:222222222222222222222222222222$</string>
<key>textureFileName</key>
<string>mjtt.png</string>
</dict>


不然会找不到值,报Expression: pSpriteFrame != 0

??

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读