game dev thread
Game dev thread
Not mobile friendly kmage
Gotta admire people so fired up with creativity that they have to work on their game instead of finishing Programming 101.
as someone who has never made a video game and is still learning the basics of programming, I'd like to hear how other game devs would handle a better way of dealing with dialogue.
I imagine the recommendation would be switch statements as well as not using string comparisons, but it's fun to ask anons about optimization so let's hear it Yas Forumsros
spreadsheet or other external file with lines of dialogue that have references, both of which can be passed onto the function handling your in-game text printing
holy kek
xml/similar files with references to text in the game
you can programatically reference them without using strings and if/else statements and makes it easy to do localization
All else and no if makes devs create dull games