Back to project page Ready-Set-Rogue.
The source code is released under:
GNU General Public License
If you think the Android project Ready-Set-Rogue listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.warsheep.scamp.desktop; import com.badlogic.gdx.tools.texturepacker.TexturePacker; //from w ww . jav a 2 s . c o m public class AssetPacker { public static void main (String[] args) throws Exception { TexturePacker.Settings settings = new TexturePacker.Settings(); settings.pot = true; settings.square = true; String creatureInputDir = "../android/assets/creatures_24x24"; String creatureOutputDir = "../android/assets/creatures_24x24"; String creaturePackFileName = "creatures"; TexturePacker.processIfModified(settings, creatureInputDir, creatureOutputDir, creaturePackFileName); String worldInputDir = "../android/assets/world_24x24"; String worldOutputDir = "../android/assets/world_24x24"; String worldPackFileName = "world"; TexturePacker.processIfModified(settings, worldInputDir, worldOutputDir, worldPackFileName); } }