Re:Riot: Source code for League of Legends and TFT were exfi...
by Q6T46nT668w6i3m on Tuesday January 24, 2023 @12:53PM
(#34507256)
So … Unreal? ;)
[ Parent
| on HN ]
Re:Riot: Source code for League of Legends and TFT were exfi...
by bob1029 on Tuesday January 24, 2023 @01:03PM
(#34507379)
I think it is natural that every game engine eventually winds up with some sort of god object placed into a recursive, tree-like structure.
You need some abstraction to represent "a thing in the world" and usually a way to say if a thing is subordinate to another thing.
Minon, GameObject, Actor, Item, etc., are all solving the same problem.
Re:Riot: Source code for League of Legends and TFT were exfi...
by aliqot on Wednesday January 25, 2023 @02:10AM
(#34515330)
> I think it is natural that every game engine eventually winds up with some sort of god object placed into a recursive, tree-like structure.
I experienced less distress when discovering Santa wasn't real.
Re:Riot: Source code for League of Legends and TFT were exfi...
by shoo on Wednesday January 25, 2023 @02:35AM
(#34515491)
reduce the signal to noise ratio of your cache reads with this one weird trick! data-oriented game engine developers hate him!
more seriously, resources:
CppCon 2014 Mike Acton Data Oriented Design and C++ https://www.youtube.com/watch?v=92KFSD3ObrY
Richard Fabian's https://media.handmade-seattle.com/practical-data-oriented-d...: https://www.dataorienteddesign.com/dodbook/
Handmade Seattle 2021 Andrew Kelley A Practical Guide to Applying Data-Oriented Design https://media.handmade-seattle.com/practical-data-oriented-d...