tile

Transpose all tiles from a tile-based layer

Suppose the current layer has a tile-based image (e.g. the tileset for a game). This script will transpose all tiles, so that the tile at the position (1,0) will end at (0,1).

Very useful if you have your sprite sheet as a tall strip of frames (one on top of the other), but you need it as a horizontal strip (with frames side-by-side, as required by Game Maker). With this plugin, you can transpose the frames to convert from one format to another.

If somehow I forget to update the script in this page, check also:
https://bitbucket.org/denilsonsa/small_scripts/src/tip/gimp-2.6-plug-ins/

Split layer into tiles

Split a layer into many layers, one for each tile. This is useful for editing tile-based images for some games and applications.

If somehow I forget to update the script in this page, check also:
https://bitbucket.org/denilsonsa/small_scripts/src/tip/gimp-2.6-plug-ins/

Isometric Wall

This script-fu skews an image in order to help to draw walls for isometric projection. It can also scale image with few options (ratio, a second layer with interpolation and opacity)...

For further explanation, see also http://registry.gimp.org/node/25040

You can find "02 - Isometric Wall" in Filters>2D Isometric-Fu>

example:

Isometric Floor

This script-fu turns a "flat" image into isometric image. This helps to draw floors. It can also scale image with few options (ratio, a second layer with interpolation and opacity)...

You can find "02 - Isometric Floor" in Filters>2D Isometric-Fu>

example:

Why is there "a second layer with interpolation and opacity" for scaling?
There is always a first layer without interpolation to try to keep the grain texture. This is practical for stone for example. The opacity of this layer is always 100%.  read more »

Isometric Tile and Template

This script-fu creates an isometric tile in your patterns and a template from it.

You can find ""00 - Isometric Tile and Template"" in File>Create>Patterns or in Filters>2D Isometric-Fu>

example:

Respace Tiles

 

This Script-fu scripts could help with certain tileset manipulations. Specifically changing margin and spacing.

 read more »

Half Tile Offset

Offsets all layers by half. Image/Half_Tile_Offset Useful when creating a tilable texture. Just press Alt+I,O and you can start editing the image-edge seams.

A workflow-friendly fast alternative to going around every layer and selecting Layer/Transform/Offset... / Offset by x2,y2 / OK

 

Usage:

Let's say we have this 256x256 crop:

Original image, before editing

   read more »

tiles to files

Partitions an image into tiles (with, optionally, either gaps or overlaps between them) and then writes each tile as a separate jpeg file.

An alternative method of doing the same thing would involve first setting up a grid of guides (eg, http://registry.gimp.org/node/12003), then using Image->Transform->Guillotine (as noted here: http://registry.gimp.org/node/20826), and then saving each of the generated images to a file.  read more »

Texture Generator (for 3d artist - I hope!)

The purpose of this script is to create textures for floors or walls without having a repetition, sometimes annoying.
For more information:
http://krypt77.altervista.org/index_gimp.htm

Count tiles for a mosaic

# Author: Chris Mohler
# Copyright 2009 Chris Mohler
# License: GPL v3
# GIMP plugin to count the number of tiles of the FG color

This plugin breaks the layer into tiles and counts the number of tiles containing a percentage of the FG color, and optionally draws a grid in the bg color. The plug-in also reports the total percentage of the FG color in the layer. For best results, use a flattened copy of your layered image.

Parameters:
Tile size: Enter the tile size in pixels
Minimum Percent: Ignore tiles with lower than this percent of the fg color.  read more »

Syndicate content