Application Examples

Real-world examples of using N-Slicer for complex sprites

Application Examples

Using the same principle, let's try a completely new image slicing method, not just 9-slicing.

Table Example

For example, let's say we have a table image like this:

table

We want to stretch this table naturally.

  • The table should be able to stretch horizontally, and the legs should be able to stretch as well.
  • However, we want the size of each object to be maintained.

Slicing

TableSlicing

We can slice it as shown above.

  • Set up a 3x5 grid
  • Keep the size of each object fixed
  • Allow only the necessary parts to stretch horizontally or vertically naturally without image distortion.

TableSample

A More Complex Example

Here's a more complex example with a closet image:

ClosetSlicing

ClosetSample

These examples demonstrate how N-Slicer can be used to create complex slicing configurations that wouldn't be possible with traditional 9-slicing, allowing for natural stretching of images while maintaining the proportions of key elements.