bc_tiled_plugin

Tiled plugin to edit Bondage Club maps
git clone https://git.neptards.moe/u3shit/bc_tiled_plugin.git
Log | Files | Refs | README | LICENSE

create_visible.sh (553B)


      1 #! /bin/bash
      2 
      3 set -ex
      4 
      5 cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null
      6 cd ..
      7 mkdir -p tileset_object_visible
      8 cd tileset_object_visible
      9 
     10 function do_conv()
     11 {
     12     local fname=$1 text=$2
     13     convert "../tileset_object/$fname" -gravity center \
     14             -pointsize 80 -font Inconsolata -fill black -stroke white \
     15             -strokewidth 2 -annotate 0 "$text" "$fname"
     16 }
     17 
     18 for c in Gold Silver Bronze; do
     19     for t in FloorDecoration_Key WallPath_WoodLocked; do
     20         do_conv "$t$c.png" "${c::1}"
     21     done
     22 done
     23 do_conv WallPath_WoodLocked.png A