How to programmatically selecting atlas / texture?

Hi.

I read in post What is a proper way to handle textures on universal app for high and low res devices that Defold didn’t have a way to let us select atlas/texture based on retina / low resolution. (according to @sicher).

This post is quite old (it is almost 4 years old). Does Defold has this mechanisms nowadays?

There is no way to programmatically change them?

Thank you.

2 Likes

Defold implemented Resource Properties a while back, which allow you to set an atlas on an image at runtime.

2 Likes

Thank you for replying and pointing me these documents.

I’ll read them carefully.

Regards.