Dynamic Memory Allocation and Memory Management

Posted by Bunkai.Satori on Game Development See other posts from Game Development or by Bunkai.Satori
Published on 2011-02-06T19:37:08Z Indexed on 2011/02/06 23:36 UTC
Read the original article Hit count: 459

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.

© Game Development or respective owner

Related posts about architecture

Related posts about mobile