• lime!@feddit.nu
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 个月前

    i fixed an old mod i published on steam years ago.

    i randomly got a ping on a workshop item for tabletop simulator that i hadn’t touched in aaages. in 2019, someone in my friend group had the idea to replicate the TechDif “Two of these people are lying” format, so i hacked together writeable and shuffleable note cards we could use to play online. a week or so ago i got a ping on that item, it was someone asking if they could ask me a question (never ask to ask, kids). this made me realize that it had hundreds of downloads, which made me a bit self-conscious about the code. looking at the other comments, i found some years old feature requests which i stayed up all night implementing.

    the most interesting part (or gross, depending on your pov) was the request to make a card read-only. there’s no way to mark a text entry box as read-only, but i found out that they are only interactable on one side. so i added a toggle that rotates the text box so the back side faces up, and sets the scale to -1 which mirrors the whole thing.