New games every week!
Handy Tool of the Moment Blog
11th February 2013
You know what I hate?
Icons.

You might've noticed that very few of my games include icons.
Not only do I hate having to draw icons, I also hate having to create 70,000 bazillion different sizes for every sodding size that might be needed.
Gah, I HATE icons!!!

AGameAWeek on Android means I need 3 icons every smegging week. Oh, great :

Today, I made a "Jay is too lazy for this" tool, called IconResizer.
Download IconResizer here.
I've supplied the BlitzMax sourcecode along with the program, so if you ever need to tweak it to add more icon sizes, it shouldn't be too difficult.

The basic idea is this.
You supply the original pictures, it generates a bunch of icons for your game.
Sorted!

The Lengthy version..
First, it needs Icon_SIZE.png files of various sizes. I'll typically be creating a 128 and 1024 icon for each of my apps, but the more you add, the clearer close-target sized icons will appear. (Less scaling = less dodgy!) For me, the 1024 one goes on the iTunes site, whereas the 128 one gets used by the app.

Once you've created all the Icon_SIZE.png's you can be bothered to make, you then need to create a Launch.png image, too. This is the one that will be rescaled to create all those stupid "Default.png" loader images that Apple makes us create.

Shove all these into the folder, and run the .exe file.
Give it a minute or two, depending on how fast your system is, and it'll flick through creating everything you need.
Once done, you'll find an icons/ folder containing all the icon files, and a launch/ folder with all those fiddly Default.png images.

Additionally, if you're using Monkey, it can also be used to create Android icons, too, helping you be extra lazy..
Assuming your game is "YourGame/YourGame.monkey" shove this into "YourGame/IconResizer/". It'll hunt for a "YourGame/something.build/android/res/" folder, and if it can find one, it'll place the three icons necessary for Android into the associated folders. Handy!
Views 26, Upvotes 5  
Iconresizer , Utility
New games every week!
Site credits : Jayenkai, one crazy fool who has far too much time on his hands.
(c) Jayenkai 2023 and onwards, RSS feed

Blog - Handy Tool of the Moment - AGameAWeek