We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const earthPNG = 'https://p3.ssl.qhimg.com/t01806718065fe97c65.png', earthJSON = 'https://s3.ssl.qhres2.com/static/d479c28f553c6cff.json';
await scene.preload([earthPNG, earthJSON]);
在node端运行上面的代码加载雪碧图会直接报错,fetch is not defined
The text was updated successfully, but these errors were encountered:
问题出现在 spritejs/lib/uitls/texture.js 文件的 227行左右
Sorry, something went wrong.
No branches or pull requests
const earthPNG = 'https://p3.ssl.qhimg.com/t01806718065fe97c65.png',
earthJSON = 'https://s3.ssl.qhres2.com/static/d479c28f553c6cff.json';
await scene.preload([earthPNG, earthJSON]);
在node端运行上面的代码加载雪碧图会直接报错,fetch is not defined
The text was updated successfully, but these errors were encountered: