This commit is contained in:
Anuken
2020-12-15 15:31:45 -05:00
parent 50125166a6
commit dd9095bfba
4 changed files with 8 additions and 9 deletions

View File

@@ -383,7 +383,7 @@ task pack(dependsOn: classes){
println("\n\nPacking normal 4096 sprites...\n\n")
//pack normal sprites
TexturePacker.process("core/assets-raw/sprites_out/", "core/assets/sprites/", "sprites.atlas")
TexturePacker.process(new File(rootDir, "core/assets-raw/sprites_out/").absolutePath, new File(rootDir, "core/assets/sprites/").absolutePath, "sprites.atlas")
println("\n\nPacking fallback 2048 sprites...\n\n")
@@ -393,7 +393,7 @@ task pack(dependsOn: classes){
}
//pack fallback 2048x2048 sprites
TexturePacker.process("core/assets-raw/sprites_out/", "core/assets/sprites/fallback/", "sprites.atlas")
TexturePacker.process(new File(rootDir, "core/assets-raw/sprites_out/").absolutePath, new File(rootDir, "core/assets/sprites/fallback/").absolutePath, "sprites.atlas")
}
}