Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何如何实现blob #5

Open
fanjyy opened this issue Apr 19, 2018 · 5 comments
Open

请问如何如何实现blob #5

fanjyy opened this issue Apr 19, 2018 · 5 comments

Comments

@fanjyy
Copy link

fanjyy commented Apr 19, 2018

请问在wx.request的时候如何实现 responseType:blob呢??

@liurongqing
Copy link

我也遇到这个问题,用的phaser3,load图片的时候

@fanjyy
Copy link
Author

fanjyy commented Apr 24, 2018

我把图片的加载方式改了,现在可以加载图片,
不过出现了新的问题, 在编辑器里看着是正常的,手机预览的话就是一片黑。
错误大概是 webgl 或 canvas上下文不存在之类的

@ldwonday
Copy link

ldwonday commented May 4, 2018

@fanjyy 你是如何修改的,我也在用phaser3,遇到了同样的问题

@finscn
Copy link
Owner

finscn commented May 5, 2018

Hi , 二位好, wx小游戏环境里 没有 Blob对象, 所以这个很难模拟。
建议使用 arraybuffer 来代替。

@Fusyong
Copy link

Fusyong commented Nov 14, 2018

可以参考这篇文章:phaser3 微信小游戏若干问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants