As a fellow placeholder user, here's a tip that is making my life a lot easier:
Create a resource file with all the UIDs in one place mapped to easy-to-read names. That way, when it is time to change over to new assets, it's just a matter of finding them in a list, rather than searching through multiple files and many lines of code.
I personally use something like
Code:
#define WORLD0_UID UID(####,####,####)
#define PLRCHAR_UID UID(####,####,####)
etc in my level builder code file. This way, it keeps them in 1 easy to access spot and doesn't use extra memory allocating them before they are used.
I know it's considered good practice to avoid pre-processor statements, so if you aren't worried about some extra memory, you could also do something like
Code:
namespace World0Resources
{
const UID WORLD0_UID(####,####,####);
const UID PLRCHAR_UID(####,####,####);
}
But darnit, those #defines don't use memory and are so convenient for this type of stuff. Anyone else have thoughts about this?