The Picard Maneuver@lemmy.world to Gaming@lemmy.worldEnglish · 15 days agoThe audacity!lemmy.worldexternal-linkmessage-square93fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkThe audacity!lemmy.worldThe Picard Maneuver@lemmy.world to Gaming@lemmy.worldEnglish · 15 days agomessage-square93fedilink
minus-squareSkaveRat@discuss.tchncs.delinkfedilinkEnglisharrow-up0·14 days 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 🐧🗡️@lemmy.worldlinkfedilinkEnglisharrow-up0·14 days agoApparently Undertale works this way as well. All of its dialog is one massive switch statement.
minus-squarefrayedpickles@lemmy.cafelinkfedilinkEnglisharrow-up0·14 days 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.