Mindustry icon indicating copy to clipboard operation
Mindustry copied to clipboard

Support of mods with textures in different resolution (HD or low-res)

Open hortiSquash opened this issue 1 year ago • 0 comments

Co-Authored-By: citrusMarmelade [email protected]

Meant to be used alongside https://github.com/Anuken/Arc/pull/126

Example of a mod using it : image One of the two is BE, the other mine. Can you guess which is which? :)

You can test it with test texturepacks https://mega.nz/folder/TihAXagK#-smsi-_RhQ6VKDvF___4Lw Or make/update your own mod

Works for both overrides and new sprites

Tutorial : in your mod.hjson, you add a line texturescale = with the scale factor to apply (1.0 is vanilla, 2.0 is low-res, 0.5 is HD... etc)

  • [x] I have read the contribution guidelines.
  • [x] I have ensured that my code compiles, if applicable.
  • [x] I have ensured that any new features in this PR function correctly in-game, if applicable.

hortiSquash avatar Sep 20 '22 15:09 hortiSquash