-2
\$\begingroup\$

How to use different texture(image) for different resolution in libGDX? Also specify how to detect it from asset folder?

\$\endgroup\$
1
  • 3
    \$\begingroup\$ You really need to expand this question and tell us what your problems are and what research you've done so far yourself. How are we supposed to help you reading just this single line blurp of thoughts :) \$\endgroup\$
    – Roy T.
    Apr 4, 2012 at 11:37

1 Answer 1

2
\$\begingroup\$

The question is pretty vague, but if I'm interpreting it correctly, you're going to need to do it manually, but libgdx can help. You're going to want to use the ResolutionFileResolver. The author of libgdx provides an example in his AssetManagerTest. I wrote about how to use the ResolutionFileResolver in this answer.

I think if you read through the code, that should be enough to get you started, and you can come back with more specific questions.

\$\endgroup\$
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .