By jlnr (dev)
Date 2010-08-23 09:27
Hmmm, in my current game I have an ObjectGraphics convenience class with a string constructor that shares images over an internal map<>. Then the level class just gets a few of those as members, so they will preload objects' graphics. It's kind of sad that there is no "on program startup" section for each .cpp file. :(
Re: Xcode, if you drag the media folder into Xcode tell it to keep it as a folder reference, that way it will move the whole folder and you don't even need to refresh its contents manually.