The Picard Maneuver to Gaming@lemmy.worldEnglish • 5 months agoThe audacity!lemmy.worldimagemessage-square72fedilinkarrow-up1639arrow-down10
arrow-up1639arrow-down1imageThe audacity!lemmy.worldThe Picard Maneuver to Gaming@lemmy.worldEnglish • 5 months agomessage-square72fedilink
minus-squareSkaveRatlinkfedilinkEnglish22•5 months agowhatever you do, don’t look into its code. It’s basically a single lua file with more if/else/switch nesting than god intended (unless it was refactored in the last couple months)
minus-squaredual_sport_dork 🐧🗡️linkfedilinkEnglish13•5 months agoApparently Undertale works this way as well. All of its dialog is one massive switch statement.
minus-square@frayedpickles@lemmy.cafelinkfedilinkEnglish5•5 months agoYeah a lot of games have shit code and always have. Real time strategy “ai” is especially egregious if I remember right.
whatever you do, don’t look into its code.
It’s basically a single lua file with more if/else/switch nesting than god intended
(unless it was refactored in the last couple months)
Apparently Undertale works this way as well. All of its dialog is one massive switch statement.
Yeah a lot of games have shit code and always have. Real time strategy “ai” is especially egregious if I remember right.
If it works it works.