4 ms·
Also they tend to have manager classes iterating over a list of NPC data, rather than lots of NPC classes and executing "run" methods. Edit: undo autocorrect t
by opless 9y ago
Also they tend to have manager classes iterating over a list of NPC data, rather than lots of NPC classes and executing "run" methods.
Edit: undo autocorrect typos
- letharion 9y agoAnd while you're iterating the same code over many NPCs, you could take great advantage of GPUs and gain significant performance by running all those NPCs in parallel.