设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 3087|回复: 6
打印 上一主题 下一主题

[有事请教] 有關 pixi.js 的這些錯誤怎麼解決....感覺好多...[求助]

[复制链接]

Lv4.逐梦者

梦石
0
星屑
7107
在线时间
1363 小时
注册时间
2018-12-16
帖子
1946
跳转到指定楼层
1
发表于 2021-5-26 21:07:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
本帖最后由 play337 于 2021-5-26 21:11 编辑

就是這幾行.... 看了好討厭...

---

Deprecation Warning: DisplayObjectContainer has been shortened to Container, please use Container from now on.
pixi.js:27682

PixiJS 4.5.4 - ✰ WebGL ✰      http://www.pixijs.com/    ♥♥♥

Deprecation Warning: DisplayObjectContainer has been shortened to Container, please use Container from now on.
pixi.js:28174 Deprecation Warning: DisplayObjectContainer has been shortened to Container, please use Container from now on.
pixi.js:28174 Deprecation Warning: DisplayObjectContainer has been shortened to Container, please use Container from now on.
pixi.js:28174 Deprecation Warning: DisplayObjectContainer has been shortened to Container, please use Container from now on.
pixi.js:28174 Deprecation Warning: DisplayObjectContainer has been shortened to Container, please use Container from now on.
pixi.js:28174 Deprecation Warning: DisplayObjectContainer has been shortened to Container, please use Container from now on.
pixi.js:28174 Deprecation Warning: DisplayObjectContainer has been shortened to Container, please use Container from now on.
pixi.js:28174 Deprecation Warning: DisplayObjectContainer has been shortened to Container, please use Container from now on.
pixi.js:28174 Deprecation Warning: DisplayObjectContainer has been shortened to Container, please use Container from now on.
DevTools failed to load SourceMap: Could not load content for chrome-extension://njgcanhfjdabfmnlmpmdedalocpafnhl/js/libs/pixi.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load SourceMap: Could not load content for chrome-extension://njgcanhfjdabfmnlmpmdedalocpafnhl/js/libs/pixi-tilemap.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load SourceMap: Could not load content for chrome-extension://njgcanhfjdabfmnlmpmdedalocpafnhl/js/libs/pixi-picture.js.map: System error: net::ERR_FILE_NOT_FOUND

---

請問各位大佬有辦法解決嗎?

Lv3.寻梦者

梦石
0
星屑
3461
在线时间
292 小时
注册时间
2020-1-27
帖子
190
2
发表于 2021-5-26 21:22:18 | 只看该作者

回帖奖励 +4

本帖最后由 zths 于 2021-5-26 21:25 编辑

除非你愿意重写代码把 DisplayObjectContainer  换成 Container , 不然你只能选择去掉这个提示.
直接格式化 pixi.js 的代码然后删掉那个 warn 保存.
我猜你大概是用了老插件..


//编辑:
直接把插件的 DisplayObjectContainer  全文替换成 Container  就行了 是一个东西.....

点评

有! 用好了! 666666  发表于 2021-5-29 21:38
不是pixi.js里的..是你插件里的...  发表于 2021-5-29 14:49
太強拉~ 666666  发表于 2021-5-26 22:25
取代完 畫面一片黑 ... 甚麼都無法顯示了 >_<  发表于 2021-5-26 22:05
把 pixi.js 文件 DisplayObjectContainer --> Container 就可以了嗎?  发表于 2021-5-26 22:03
回复 支持 1 反对 0

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-5-8 08:02

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表