Color Code Editor

Post Reply
User avatar
Grenwyn
Sword Grand Master
Sword Grand Master
Posts: 288
Joined: Mon Dec 17, 2007 8:22 pm

Color Code Editor

Post by Grenwyn » Tue Aug 29, 2017 11:30 pm

Hi everyone,

I slapped together a basic color code editor for some building and thought I'd share:

https://glitchassassin.github.io/fk-ascii-editor/

You can export to copy/paste into a text editor (for building, books, paintings, etc.) or export with escaped backslashes to copy/paste directly into a game client (to write to a piece of parchment).

If you have some art already color coded, you can paste that into the editor and it should be automatically parsed.

I literally threw this together this afternoon so there may be some bugs. If you run into any, leave a comment here or open an issue on the GitHub project:

https://github.com/glitchassassin/fk-ascii-editor

Happy building!
Kashiik, Firemage
Urul, Young Blood
Gottschalk, Apprentice Witchdoctah

Levine
Sword Master
Sword Master
Posts: 216
Joined: Tue Sep 28, 2004 7:31 am

Re: Color Code Editor

Post by Levine » Tue Sep 05, 2017 12:16 pm

This is pure genius, thank you very, very much. May I just check (because my browser can be funny at times) that there are four main buttons in total?

Also, what's the difference between the first and second export buttons? Finally, any chance for multi-line descs and exporting? :3
Must I kill them
To make them lie still

User avatar
Grenwyn
Sword Grand Master
Sword Grand Master
Posts: 288
Joined: Mon Dec 17, 2007 8:22 pm

Re: Color Code Editor

Post by Grenwyn » Tue Sep 05, 2017 6:00 pm

There are indeed four main buttons: foreground color, background color, export, and export (escaped).

A lot of ascii art includes backslashes ("\"), which, on my game client, disappear (or do weird things) when pasted directly. To actually write a backslash on a piece of parchment (for example), I have to type an escaped backslash ("\\"). That's what the second export button is for.

Multi-line descs should export just fine - it just looks like one line because of how the popup works. When you copy-paste, it'll preserve your line breaks. I might find a better way to handle the copy-paste, but that was the easy way.
Kashiik, Firemage
Urul, Young Blood
Gottschalk, Apprentice Witchdoctah

Post Reply