The Picard Maneuver@lemmy.world to Gaming@lemmy.worldEnglish · 3 days agoThe audacity!lemmy.worldimagemessage-square101fedilinkarrow-up1639arrow-down19
arrow-up1630arrow-down1imageThe audacity!lemmy.worldThe Picard Maneuver@lemmy.world to Gaming@lemmy.worldEnglish · 3 days agomessage-square101fedilink
minus-squareSkaveRat@discuss.tchncs.delinkfedilinkEnglisharrow-up22·2 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-up13·2 days agoApparently Undertale works this way as well. All of its dialog is one massive switch statement.
minus-squareSynopsisTantilize@lemm.eelinkfedilinkEnglisharrow-up1·2 days agoI remember reading undertales code is nightmare fuel.
minus-squarefrayedpickles@lemmy.cafelinkfedilinkEnglisharrow-up5·2 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)
If it works it works.
Apparently Undertale works this way as well. All of its dialog is one massive switch statement.
I remember reading undertales code is nightmare fuel.
Yeah a lot of games have shit code and always have. Real time strategy “ai” is especially egregious if I remember right.