Another Sprite Tool - but it's mine :] for custom fonts, and image processing...

Previous topic - Next topic

dreamerman

Hi,
I needed some simple app to change transparent color on sprites and prepare font file, but I have some problems with ImageMagic and I don't know Gimp or other graphic editor scripts so I decided to make my own program. :]
And here it is, it basic function are: auto-cropping images, changing selected base color into final requested color, searching for sprites on image (returning their rect/positions) - and possibility to create glBasic ready to use bitmap font from selected file - there is an attached sample font bitmap made in Gimp.. (for it use rect spacing x=6, y=20)
More info and instructions, examples of code in glB are also included.
:]

It's win32 bin, but should work also on wine in Linux..

[attachment deleted by admin]
Check my source code editor for GLBasic - link Update: 20.04.2020

MrTAToad

I notice that the resulting font file isn't quite correct - the first few characters are duplicated.

dreamerman

For this included font You need to set 'max space between merged rects (X Y)' to 6 (X - first textbox) and 20 (for second)...
Also 'base color' must be set to rgb(0,0,0) - black, because bitmap have such background.
Check my source code editor for GLBasic - link Update: 20.04.2020