summaryrefslogtreecommitdiffstats
path: root/assets/build.gradle
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-30 21:44:12 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-30 21:44:12 +0100
commit2c58bbf094d26f755eb43ee83fad0c17854224c0 (patch)
tree9ba8999f146a870399ae7ef01a6682ccbe93be8f /assets/build.gradle
parentda40130331b292b6b4a143959fe111a9312d8f9d (diff)
downloadRustAndDust-2c58bbf094d26f755eb43ee83fad0c17854224c0.zip
RustAndDust-2c58bbf094d26f755eb43ee83fad0c17854224c0.tar.gz
extract ui.atlas from hud.atlas
Diffstat (limited to 'assets/build.gradle')
-rw-r--r--assets/build.gradle12
1 files changed, 12 insertions, 0 deletions
diff --git a/assets/build.gradle b/assets/build.gradle
index 808ae80..674c38a 100644
--- a/assets/build.gradle
+++ b/assets/build.gradle
@@ -30,6 +30,18 @@ task copySounds(type: Copy) {
into '../android/assets/sounds'
}
+task packUi(type: JavaExec) {
+ main = 'com.badlogic.gdx.tools.texturepacker.TexturePacker'
+ classpath = configurations.texturePacker
+ args = ['../assets/ui', '../android/assets/data', 'ui']
+}
+
+task packMenu(type: JavaExec) {
+ main = 'com.badlogic.gdx.tools.texturepacker.TexturePacker'
+ classpath = configurations.texturePacker
+ args = ['../assets/menu', '../android/assets/data', 'menu']
+}
+
task packHud(type: JavaExec) {
main = 'com.badlogic.gdx.tools.texturepacker.TexturePacker'
classpath = configurations.texturePacker