如何从单个图像文件生成 Corona SDK 应用程序的所有图标图像?

How can all the icon images for Corona SDK apps be generated from a single image file?

为了在使用 Corona SDK 游戏引擎时为各种平台正确自定义应用程序图标,需要在项目的根目录中包含相当大的一组特定大小的图像文件,并在 build.settings 中指定文件(详细要求见 Building/Distribution Dev Guide

有没有什么方法可以从单个高分辨率图像文件开始轻松生成 iOS 和 Android 构建所需的所有图像文件?

可以找到使用各种图像处理应用程序的解决方案on the Corona Community Forum。我自己的解决方案是在 Scheme for GIMP 中编写一个 Script-Fu 脚本。

对于那些感兴趣的人,脚本 (make-corona-icons.scm) 和它的 README(带有简单的安装说明)可以在这个 public GitHub repository. GIMP, the open-source cross-platform "GNU Image Manipulation Program", is free and excellent and can be downloaded here.

中找到

我在之前的游戏中使用生成器 Icon Generator for Corona SDK

我用makeappicon.com。多年来对我很好