While working with my current employer (Webcore Games), I saw the need to create a tool that optimizes and fixes inadequate game texture files to the game engine we use (Unity).
Why? Because all the textures on the project I’m currently working on are made by another company, which is not a game studio, and they don’t always follow the basic guidelines. (like exporting textures with resolutions in the power of 2 or leaving margins for tweaking object sizes or adding effects such as outlines)
As the problem solver I am, I decided to make a very simple application using Python.
I called this tool “Game Image Converter” and you can get it from my GitHub page.
This tool allows you to open an image file and:
– change the resolution to powers of 2 without distorting the image
– add margins
– automatically add prefixes and suffixes to the file name based on its category, which can be things such as “Object, Character, Scenario”, etc…
Future plans for this tool:
– adding an option to add an outline (or glow) effect to the objects in the texture
I’m sharing this tool hoping that it helps other people facing similar challenges in their work environment.
Have an amazing day!