Closed chrisyer closed 6 years ago
I've fixed your fiddle: https://jsfiddle.net/L6wn9b4p/
There were a number of things causing it not to work
document.body.appendChild(app.view);
res.test
to create the Sprite(ps. I'd really recommend using a non minified version of pixi for your fiddles. It makes debugging so much easier!)
Thanks very much for you reply.
发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用
发件人: Dave Moore notifications@github.com 发送时间: Saturday, August 11, 2018 6:51:48 PM 收件人: englercj/resource-loader 抄送: Cheng; Author 主题: Re: [englercj/resource-loader] i can't load a image from url (#115)
I've fixed your fiddle: https://jsfiddle.net/L6wn9b4p/
There were a number of things causing it not to work
― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/englercj/resource-loader/issues/115#issuecomment-412267551, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANtC1KqgXnqZ-7pGShy4eJHSceU2MxJsks5uPrdEgaJpZM4V5Flc.
I try to load a image from
http://thirdwx.qlogo.cn/mmopen/XYrRG5UShDcrTQs7ZnsUks0uT8AqAPcwNPnwmnHef1c0a5O2ScvubY5iaB9nHCAswFCWJLicic6Z3FLWcXTEYvw1qYOQG2f9gQn/132
param:
but i find the resource's data is text
example: https://jsfiddle.net/w6puqrsx/8/