User Tools

Site Tools


iceee:development:createpreview

Creating Preview Images For Credit Shop Items

Each credit shop item that has an appearance (basically armour and pets) needs a preview image. I would suggest the following workflow :-

  1. Take a screenshot of a character wearing the entire set. Also take individual screenshots of each piece.
  2. Use an image editing tool to cut out the entire character from it's background and the individual pieces.
  3. Create a preview image by merging each of your cut out pieces and the CS preview background image.

This may look a little daunting, but it is not really, and once you have done it once I have been finding I can do a complete set of 8 items in about 30-45 minutes.

1. Taking Screenshots

Each piece of the armour (or pet) to add to the credit shop should have its own screenshot, and if the piece of part of a complete set, also take a shot of a character wearing the entire set.

I would recommended using a screenshot utility for this, it will make things easier.

  • Shutter - Linux.
  • PLEASE ADD - Windows
  • PLEASE ADD - Mac OS X

I would also suggest taking the screenshots in a 'blank' zone, i.e. one the does not have any clouds or terrain. This makes cutting out the image easier later on. A zone has been created for this purpose.

/warpi blank

Also turn off Bloom in the option to reduce the brightness of the background and prevent bleeding through of the bright background onto your characters clothes (giving them a fuzzy edge)




When you are done, you should end up with the following screenshots.










2. Cutting Up The Images

Now using your favourite image editing tool, you will cutting the entire set and each individual piece from it's background.

I use the GIMP to do this, it's free and has all the required tools.

* GIMP - For Linux, Mac OS X and Windows

This tutorial will not go into the basics such as loading,importing, saving and cutting and pasting in the GIMP. You should first familiarise yourself with these features and have an understanding of layers and scaling them

Select the background

Use the tool to select all the background areas. In the GIMP, this is the Fuzzy Select (the 'wand' icon). Click this tool, then any of the light blue background, and the tool will select all adjacent pixels of the same colour. Depending on the background, you may need to adjust the 'Threshold' of the selection. For the gaps in between arms and other areas, you may have to Add to selection by pressing Shift and adding more areas to cut out.



You should now Grow the selection by 1 pixel, then use the Feather Selection option. This smooths out the hard edges you would otherwise get.

Adding the Alpha layer

Because we want to overlay this image onto another, the background needs to be transparent. In GIMP, this is done by LayerTransparencyAdd Alpha Channel



Cutting the selection

Now we have an alpha channel, we can cut our selection, which should remove the light blue background and leave us with just the character on a transparent background (in GIMP, a chequer board indicates transparency).



Now save your new image somewhere safe, and repeat this procedure for each of the pieces.

Cutting out individual parts for the highlight images

You should not need to do this for main complete preview image, but for the individual pieces that are used for the 'highlights', you have some more cutting work to do …

Take one of the transparent piece images (in the example the arms are used), and use the Free Select tool to select the shape of the arm.



Now use the Invert Selection tool, this reverse the area selected so the everything OUTSIDE of the selection is actually selected instead of everything INSIDE.

Then use Cut again, and you will be left with just the arm.



Save this image, and again repeat this for each individual piece. You are now ready to create the the preview images themselves.

3. Creating The Preview Images

You will now need the preview backgrounds. There are two different backgrounds, one for individual items that are not associated with any 'Set', and one for pieces that are part of set.



You can right click these images above to save them and use them as the templates

Creating Set Piece Preview Images

Creating image previews for set pieces is slightly different, because in the complete image, the set piece must be highlighted by being slightly brighter than the surrounding image.

First off, open up the background template image, and then paste the complete set image on top of it. You may need to resize set image slightly so that it fits in the background image correctly (see existing CS preview images for how this should look).



Now use the Free Select tool again to mark out the area that you wish to highlight. This should be as accurate as possible, although it wont be too noticeable if you are a little off. Once the area is selected, use Invert Selection again, as we won't actually be highlight the piece we want, we will be 'lowlighting' the pieces that we DONT want highlighted.



Now open up the Brightness/Contrast dialog and adjust the Brightness. The areas we want lowlighted should get darker.



Now you can paste in your previously cut and prepared image for the individual piece. In the example above, the Legs were used. Paste this as a new layer into the smaller box at the top right of background image, scaling it to fit.



The final stage is too add a drop Glow to inset image. I use a very light yellow for this, with a width 15 and X and Y offsets of 0.



Thats it. Save the image. For this example, the filename would be ArmorPreview-Glacial_Legs.png. Always use this pattern, prefixing with ArmorPreview- and replacing spaces with _ underscores. This is the file you should send to the project admin for inclusion into the game. Consider adding an Asset Request on the GitHub Issue Tracker



Creating Single Piece Preview Images

The procedure here is a very similar technique except you will of course be able to just screenshot and cut up a single image for adding the single item background image. For example, the final credit shop preview image for one of the pets would end up looking like this.



iceee/development/createpreview.txt · Last modified: 2015/08/24 08:42 by emerald