Game dev thread

game dev thread

Attached: female_programmer.png (1920x1080, 1.14M)

Not mobile friendly kmage

Attached: 572D388D-7977-4398-9981-1AEFB1D8B67E.jpg (702x1125, 510.99K)

Gotta admire people so fired up with creativity that they have to work on their game instead of finishing Programming 101.

Attached: 1366956852785.jpg (441x396, 81.22K)

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

Attached: 1568941435309.gif (267x212, 2.91M)

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