transmutrix

19 Followers
19 Following
26 Posts
i make slow code fast // freelancing // building Wizwag et al // games preservationist // JS, C, Lua 💛 // transmutrix.com // Appalachian hermit // she/it
websitehttps://transmutrix.com
itchiohttps://transmutrix.itch.io
stress test :3
Do players value integrated Steam Input support or an in-game rebinding system more? I've always done in-game rebinding, since it works whether the game is played on Steam or not, and is "timeless" in theory.
@stark @eniko If you store a length with your strings it doesn't matter if there are nulls in the file ^_^
@eniko ahhh ok I getcha. well, for that small amount of text i would definitely recommend just fread'ing the whole file and then parsing inside that continuous block. if you're using modern C, you could skip it even and define fonts with object literals (if that works for you / your team's needs)
@eniko also not sure if you wanted a solution or were just talking shit about C - my bad if the latter!!
@eniko and when i say "split it by lines" i usually mean make a bunch of { char *, length } strings that point into that one buffer without malloc'ing the individual lines, but again - depends on use case ^^
@eniko not sure if it fits your needs, but if the file is a file, my policy is almost always to read the entire thing into memory and then split it by lines if that's how i wanted it formatted
Periodic reminder: If you're an indie game dev (or small studio) making a game in JS, TS, or Lua and you have issues with long load times or poor performance, I may be able to help you!
LINOVICTUS has just reached 100 browser plays on itch! ^_^ Thanks to everyone who tried it out. I've just made one final update to the game before the jam ends, but feedback on the game is still appreciated! https://transmutrix.itch.io/linovictus/devlog/1465438/version-140-jam
Version 1.4.0 [JAM] - LINOVICTUS by transmutrix

I’m quite bad at leaving something alone, aren’t I? Someone should hire me to fix their performance issues so I have less free time this week. Changelog fixed: music volume slider only worked for...

itch.io
Was thinking about Wipeout Pure's aesthetic and wondered if I could make a "light mode" for LINOVICTUS with shaders - it's not perfect but it worked surprisingly well? I inverted the colors + bumped up the contrast + rotated the hues 180 to make the colors what they were _before_ '^^