View Single Post
True
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default True - 07-05-2014, 09:21 AM

Logical naming is definitely important for readability, especially for someone who might have to maintain your software at a later date. Always consider the people who might have to work on your stuff after you move on, and up, as Mark and I have over the years.

However, for this topic it would mean using multiple Dummy objects as place holders for specific objects that need to be reused at different locations as the world moves one scene to the next.

An easy process if you create a set of parallel arrays, and calls to a single relocate method that accepts a parameter for scene number.

As mentioned, it also saves a significant amount of memory by replacing objects with pointers, and reduces coding.

Structure and efficiency are also keys to success.

Last edited by MrMoke; 07-05-2014 at 09:32 AM.
   
Reply With Quote