SJHDoesGames

Try To Make Your Skill Ultimate!

Game designer, writer, casual artist, and Twitch streamer. Fighting games are fun but also kind of painful lol. Big fan of Kamen Rider, anime, and video games in general, but especially JRPGs and fighting games.

Other pages:
FF14 stuff (like questions of the day, asking about FF14 stuff, etc): @FromTheLadiesOfLight

posts from @SJHDoesGames tagged #programming

also: #software development, #coding

so i've been continuing to work on this as I can, and today after much cussing & wailing i managed to mostly pin down a system for switching text localization in-game without having to restart! I have no idea how it runs in terms of actual performance but that's not important yet.

on the backend, the system is relatively straightforward.

  • i have a language manager that keeps track of what the current language is set to; that language manager has a function that's made to change said language, as well as a C# action that other scripts can subscribe to for when the language is changed.
  • i also have a localization data manager that handles loading which database of localized terms we need to be looking at (english, japanese, etc).
  • any text that needs to be localized either has a script that subscribes to an event that fires when the language is changed or is already running through the localization manager to send its text in the first place, and will automatically switch to the right language when the localization data manager switches which database it's looking at.

i also finally got controller glyphs working more consistently, which was a a pain in the ass until i realized what I was doing wrong lol. i prooooooobably won't be able to do anything with in-line text and icon display so whenever i get around to setting up a proper level 0 then you can expect to see our favorite standby, the floating text bubbles.

i'm moving on to trying to get the text speed to work properly now for dialogue display. that's going about as smooth as driving offroad in a regular car so it might be time to get ready for bed instead. 🥴