You are here

tiles

SpriteSheet from Layer Groups

1) To install, copy SpriteSheetGroups.scm to {GIMP-HOME}\share\gimp\2.0\scripts\SpriteSheetGroups.scm
2) Either close Gimp and re-open, or simply select menu: Filters > Script-Fu > Refresh Scripts
3) Load your images via File > Open as layers (select all the images you want to in the spritesheet)
4) Run menu option Filters > Sprite-Sheet > Create From Layer Groups...

Each group should have layers for that particular animation. The plugin will output each animation on a row from left to right.

Example Of a layer tree

Add/Remove Sprite Sheet Gutter, Padding, and Spacing

Takes a heavily-packed sprite sheet with no padding between sprites/tiles and adds padding or spacing. Can also create a "gutter" around seamless tiles, filling the padding with the tile's edge pixels, preventing seams from appearing when using the tile in a 3D rendering environment due to interpolation.

Can also remove padding/spacing from a sprite sheet.

--------------------------------
Update Version 1.1 (5/17/12):
- Script now supports non-opaque sprites
- Moved scripts to Filters > Sprite Sheets menu

Update Version 1.0:

Volume Express..for simple tiles

This script-fu (created mainly from the script "add-bevel.scm" which is installed by default) adds to an existing layer, a layer composed of squares or rectangles (size of your choice) in shades of gray but with bevels. The goal is to facilitate the creation of pavements with a little "volume". arfff. Difficult to explain -_-'

You can find "00 - Volume Express..for simple tiles" in Filters>2D Isometric-Fu>

A picture is better than a thousand explanations:

Isometric roof (26.57 degrees)

This script-fu rotates an image -/+ 26.57 degrees to help to make an isometric roof. There are some little options to resize, to cut the semi-transparent pixels, to merge down.
I don't know if this script will be very useful. It is for me, so I am sharing.

You can find "03 - Isometric Roof (26.57 degrees)" in Filters>2D Isometric-Fu>

example:

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.

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/

Offset

This script-fu allows to shift tiles/bricks/blocks one row or column out of two. It will help to draw brick walls, etc...

You can find "00 - Offset by froGgy" in Filters>2D Isometric-Fu>

I know this is not isometry, but I want to gather together in the same directory all the little script-fu that can help draw walls, floors, roofs etc...before their transformation into isometry.

example:

Fibonacci spiral

Converts a square or rectangular image into a Fibonacci spiral by making smaller copies of the image, rotating them, and arranging them into a spiral tiling. If the initial image is square, then the tiling has no overlap; for a rectangular image, the user can specify a blending mode for how the overlap is treated.

Golden yucca

USAGE NOTES:

Sprite Sheet / Animation tiles

Creates a new spritesheet (animation frames) from the layers of an image.


1) To install, copy SpriteSheet.scm to {GIMP-HOME}\share\gimp\2.0\scripts\SpriteSheet.scm
2) Either close Gimp and re-open, or simply select menu: Filters > Script-Fu > Refresh Scripts
3) Load your images via File > Open as layers (select all the images you want to in the spritesheet)
4) Optionally re-order your layers to determine ultimate order. Bottom-most layer will be left-most image in final merge.

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.

Pages

Subscribe to RSS - tiles