Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 libGDX 中为不同的分辨率使用不同的纹理(图像)?还指定如何从资产文件夹中检测它?
我必须将不同分辨率的图像存储在您指导我的不同文件夹中,请给出具体示例。
使用AssetManager加载您的资源。加载资源时,您可以使用不同的“文件解析器”来根据您的环境确定要加载的特定资产。对于基于屏幕分辨率的决定,请使用ResolutionFileResolver.
ResolutionFileResolver
AssetManagerTest很好地证明了这一点。
I have successfully embedded am html e-book in an object tag so that i can view it with my JQ Mobile app, its been successful but the problem is it's taking an average of 40 seconds to fully load, is