嗯,恐怕我们对此无能为力,因为这是Visual Studio Code的问题。 您的替代方法是:
1.创建较小的资产。 您的纹理图集的.png文件很可能很大。 您可以按比例缩小它们。
2.不要使用数据URI,而应将资产托管在.html文件旁边。
Ah, I'm afraid there's not much we can do about it, as that is a problem of Visual Studio Code. Your alternatives are:
- Create smaller assets. Most likely the .png files of your texture atlas are very big. You can scale them down.
- Don't use data URIs, but instead host the assets next to your .html file.