this post was submitted on 26 Aug 2024
57 points (96.7% liked)

Ask Lemmy

27027 readers
782 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] lime@feddit.nu 7 points 3 months ago

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.