Page 1 of 1

Allow more control over sprite/texture sizes

Posted: Mon Oct 19, 2015 6:18 pm
by keyboardhack
It's currently only possible to change the size and scale of entity animations. I propose to allow the same thing to be changed with these things:
  • Icons in all prototypes. Something like "icon_size" that the technology prototype has.
  • Tile textures. Allow us to define the texture width and height in the tile prototype like this:

    Code: Select all

    {
        picture = "__base__/graphics/terrain/deepwater/deepwater1.png",
        count = 8,
        size = 0.5,
        width = 1032,
        height = 542
     }
    

Re: Allow more control over sprite sizes

Posted: Sun Mar 13, 2016 11:31 pm
by keyboardhack
Updated with examples.

Re: Allow more control over sprite/texture sizes

Posted: Mon Mar 14, 2016 12:31 am
by PhasmaNL

Re: Allow more control over sprite/texture sizes

Posted: Wed Jul 06, 2016 9:37 am
by Dev-iL
+1
However, this would be difficult to implement, as mentioned by Rseding91 in IRC:
Rseding91 wrote: <@Rseding91|P> Tile sprites are all hard coded to 32x32 in every place that uses them.