ttsim icon indicating copy to clipboard operation
ttsim copied to clipboard

Add a text box to the board

Open gemerat1 opened this issue 4 years ago • 1 comments

Hello, Along the board, it would be nice to see a text box (nothing fancy, just plain text without formatting) where to store a kilobyte of comments. It would help the player write what is the current set of issues he is facing, what are the attempts he has already tried and did not work, or write down the goal to reach when he saves a board that is the starting of a puzzle to solve that he wants to distribute. And thank you for this beautiful program !

gemerat1 avatar Jun 25 '20 14:06 gemerat1

Hello, I was discussing with a friend reminding me that PNG files (the format used to save the board) don't store text. I'm pretty sure I'm here reinventing the wheel, but we could consider adding a black line at the bottom of the picture to mean "here after comes the text" and then encode the text as a pixel per letter, with a palette mapping a colour for each ASCII value. Good luck !

gemerat1 avatar Jun 25 '20 16:06 gemerat1