Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits) (+3)

Let's chat about

chatWindow

This is a contraption that I made for a thing I did recently. It's a resizable window intended for chat logs, with white monospaced text on a black background.


The text shows up in black when you edit it, but if you change the color of the text it will be reflected in the window.


You can change the border if you like by just redrawing it on the prototype, but if you change the size of the border you might have to change the margins and/or resize the text field.

It doesn't have a scroll bar so... try to make the text fit in the box.

Inspired by Internet Janitor's macWindow and Faffotron's modification.

%%WGT0{"w":[{"name":"chatWindow2","type":"contraption","size":[48,48],"pos":[206,219],"def":"chatWindow","widgets":{"field":{}}}],"d":{"chatWindow":{"name":"chatWindow","size":[48,48],"resizable":1,"margin":[16,16,16,16],"description":"Industrial-looking chat window.","version":1,"script":"on get_field do field end\non get_value do field.value end\non set_value x do field.value: x end","image":"%%IMG3ADAAMAZAgHAoDBiPyKRyiSQ6nUaWdEqtWq9U4xMqbXm/4LB4DJYGtsUuec0Wm7cBVntO97LOxHjYxe/7/4CBfGF3Q3FyXy5Mi4xHLmWKaWCKjZVMj4lnepmWnUqIXpSglJ6lR6NRnKamqJstpKuera2xspy0tZazqrmVu6G9nb+vwbq3vMVMw7DJS8vNjM/QysfA087VxNef2czbrqLI39Lfp93lSOTo6uXs4+foqda47fDx7tv41/rT/ND+zQAmG6atXiYArlrceXcQoRo7+SZFKoLpC5aLGKfswWOoYp2PYiZCGQSyJB+OTwKQLEnnJBpDKgXJnOlHy8s839AEAQ==","attributes":{"name":["value"],"label":["Text"],"type":["rich"]},"widgets":{"field":{"type":"field","size":[28,28],"pos":[10,10],"locked":1,"font":"mono","pattern":0,"show":"transparent"}}}}}