Mercurial > skaapsteker
diff scripts/tileset-composer.sh @ 107:a770ac0c3385
created xcf with tile shapes and Olli's backgrounds; wrote xcf2png script to generate tiles; switched levels to real tilesets
author | Adrianna Pińska <adrianna.pinska@gmail.com> |
---|---|
date | Mon, 04 Apr 2011 21:27:17 +0200 |
parents | |
children | 75938c6ac3d0 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/tileset-composer.sh Mon Apr 04 21:27:17 2011 +0200 @@ -0,0 +1,10 @@ +#!/bin/bash + +for background in "fan_gold" "fan_green" "red" "blue" "flower_dark" "flower_light" +do + mkdir -p $background + for piece in "floor" "wall" "wall-end-"{"t","b",""}{"l","r"} "floor-"{"start","end"}"-"{"l","r"} "arch-"{"l","r"} "decor-1" + do + xcf2png $1 "$piece" "$background" --mode Screen > $background/"$piece.png" + done +done