cocos2d lua 工作遇到的一些问题(不定时更新)

cocos2d lua 工作遇到的一些问题(不定时更新),第1张

概述Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer

Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
原因:不要用Node去运行Animate,要用Sprite。

游戏中实时替换新的sprite资源: Sprite: setSpriteFrame(cc.Sprite:create(“新资源”):getSpriteFrame());

总结

以上是内存溢出为你收集整理的cocos2d lua 工作遇到的一些问题(不定时更新)全部内容,希望文章能够帮你解决cocos2d lua 工作遇到的一些问题(不定时更新)所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1081001.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-27
下一篇2022-05-27

发表评论

登录后才能评论

评论列表(0条)

    保存