Dynamic Memory Allocation and Memory Management
- by Bunkai.Satori
In an average game, there are hundreds or maybe thousands of objects in the scene.
Is it completely correct to allocate memory for all objects, including gun shots (bullets), dynamically via default new()?
Should I create any memory pool for dynamic allocation, or is there no need to bother with this? What if the target platform are mobile devices?
Is there a need for a memory manager in a mobile game, please? Thank you.
Language Used: C++;
Currently developed under Windows, but planned to be ported later.