Looking for an Asset. (if exists)

Hi, I’m working on a 2D project in which a lot of sprites have been imported at very high resolution.
I wonder if there is any Asset that takes all the sprites of a 2D game and automatically resizes all according to its size on screen and the target output resolution of the game.

I don’t know of an asset right off hand, but imagemagik is a command line tool that can do image resizing in batches to multiple target resolutions & DPI, and then you could then server up all of your 2d image resources from a server somewhere via unitywebrequest. That way you can keep you initial download super small (just the code and basic UI images) and then once the app is launched the first time, you can check the screen resolution and DPI and pick the right image size from the server and download those on demand.

If you are worried about people not having internet access during the initial launch of the game, maybe you’d pack in just the images needed for the tutorial or first level, but keep all the rest of the images on the server.

Hope that helps!

I’m working on a 2D project in which the artist added all the sprites and sheets in a ridiculous big size. They’re dozens, spread across a bunch of folders within the Assets directory. I wanted to experiment with different resolutions until I find a balance between the project’s size and quality.
This tool looks very useful! I have to study it, but I would say that it can save me a lot of time.
Thanks a lot!!

1 Like

If you need any help automating some of the resize jobs, I have a ridiculous amount of experience with writing command line tools to do this exact thing – but I only know how to make it work on Mac or Linux (or Windows if you have WSL installed). Let me know if I can help :slight_smile: