Jump to content
You must now use your email address to sign in [click for more info] ×

What is Batch Builder and How Can I Use It?


Recommended Posts

I'm always big on batch processing and an efficient export workflow.  I've spent quite a bit of time trying to get the most out of AD 1.5 exporting - but i'm still mystified at what Batch Builder actually does.

 

No help on it.  No google returns outside of the feature list saying: Batch Builder for multi-slice imagesets (Xcode asset JSON)

 

 

And it seems to be very oriented around touch icons - is there scope for more?

 

 

Please affinity, let us in on the secret?

 

one planet, one chance

Link to comment
Share on other sites

  • Staff

The "Builder" entry on each Slice generates a supplementary file per slice.  We currently have 3 presets, all for creating the JSON file used to define an image/icon for Xcode.  If you chose the Export Preset for a slice that defines icons you will see it fills the Builder entry out to create the right kind of JSON file for that icon type.

 

The "Batch Builder" creates supplementary files based on the entire export - so, all the Slices that are ticked for inclusion in the export when using the "Export Slices (n)" button at the bottom of the panel.  This can be used on its own or in conjunction with the per-slice Builders.  It will generate files in any or all of the folders in the tree of export folders.

It can be used if you use multiple slices (one for each resolution/scale) to create a single Xcode icon.  We also have a Spine preset which will create the Spine JSON file in the root folder of the export.

 

Without going into a lot of explanation, it's best to just experiment and see what files it generates in your export folder.  We will open this feature up in a later version to allow you to fully customise the Builders so that you can script additional files to output as part of your export.  This could be used for cataloging your output, generating XML or CSS, etc.

SerifLabs team - Affinity Developer
  • Software engineer  -  Photographer  -  Guitarist  -  Philosopher
  • iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395
  • MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300
  • iPad Pro 10.5", 256GB
Link to comment
Share on other sites

  • 3 years later...
  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.