Deep@mander.xyz to Technology@lemmy.worldEnglish · 1 day agoThe gold standard of optimization: A look under the hood of RollerCoaster Tycoonlarstofus.comexternal-linkmessage-square12fedilinkarrow-up1259file-textcross-posted to: programming@programming.devgamedev@programming.dev
arrow-up1259external-linkThe gold standard of optimization: A look under the hood of RollerCoaster Tycoonlarstofus.comDeep@mander.xyz to Technology@lemmy.worldEnglish · 1 day agomessage-square12fedilinkfile-textcross-posted to: programming@programming.devgamedev@programming.dev
minus-squarechunes@lemmy.worldlinkfedilinkEnglisharrow-up24·21 hours agoI dunno, I’m sort of underwhelmed. use the smallest data type you need for a given purpose (which you don’t really need to worry about on modern hardware for integer types) use bitwise arithmetic when possible use fake pathfinding when possible (in this case random walk), and when not possible, limit search depth don’t do collision detection on thousands of guests; allow them to phase through each other This is all fairly basic stuff I would hope any game dev would be aware of.
minus-squareCileTheSane@lemmy.calinkfedilinkEnglisharrow-up7·6 hours ago This is all fairly basic stuff I would hope any game dev would be aware of. The article was written for people who aren’t game devs.
minus-squareGutterRat42@lemmy.worldlinkfedilinkEnglisharrow-up15·21 hours ago“Allow them to phase through each other” and this is why our IRL simulation has ghosts
I dunno, I’m sort of underwhelmed.
This is all fairly basic stuff I would hope any game dev would be aware of.
The article was written for people who aren’t game devs.
“Allow them to phase through each other” and this is why our IRL simulation has ghosts