Allow more control over sprite/texture sizes

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
keyboardhack
Filter Inserter
Filter Inserter
Posts: 478
Joined: Sat Aug 23, 2014 11:43 pm
Contact:

Allow more control over sprite/texture sizes

Post 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
     }
    
Last edited by keyboardhack on Fri Apr 22, 2016 12:42 pm, edited 3 times in total.
Waste of bytes : P

keyboardhack
Filter Inserter
Filter Inserter
Posts: 478
Joined: Sat Aug 23, 2014 11:43 pm
Contact:

Re: Allow more control over sprite sizes

Post by keyboardhack »

Updated with examples.
Waste of bytes : P


User avatar
Dev-iL
Filter Inserter
Filter Inserter
Posts: 290
Joined: Thu Jul 02, 2015 2:48 pm
Contact:

Re: Allow more control over sprite/texture sizes

Post 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.
Leading Hebrew translator of Factorio.

Post Reply

Return to “Modding interface requests”