Deep@mander.xyz to Technology@lemmy.worldEnglish · 3 days agoThe gold standard of optimization: A look under the hood of RollerCoaster Tycoonlarstofus.comexternal-linkmessage-square17linkfedilinkarrow-up1335arrow-down16file-text
arrow-up1329arrow-down1external-linkThe gold standard of optimization: A look under the hood of RollerCoaster Tycoonlarstofus.comDeep@mander.xyz to Technology@lemmy.worldEnglish · 3 days agomessage-square17linkfedilinkfile-text
minus-squarechunes@lemmy.worldlinkfedilinkEnglisharrow-up32arrow-down7·3 days 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-up15·2 days 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-up22·2 days ago“Allow them to phase through each other” and this is why our IRL simulation has ghosts
minus-squarefunkless_eck@sh.itjust.workslinkfedilinkEnglisharrow-up1·1 day agoreality is also written in c, just a different c
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
reality is also written in c, just a different c