ID:179664
 
Is there a way to setup icons in Dream Maker to work for the editor, but not be downloaded when someone logs into the game? Say I want to use a graphical map while I'm creating my text game, but I don't want players to download the graphics (since the icon panel is disabled anyway). I don't know if this is possible, so I figured I'd ask.
I'd say the easiest way to do this is to use some preprocessor defines and ifdefs. Make a define called USE_ICONS or something - if defined, you will get the icons for development; if undefined, you won't. Then every time you set an icon for a turf, surround that line with #ifdef USE_ICONS/#endif. Example:
#define USE_ICONS

turf
#ifdef USE_ICONS
icon = 'turf.dmi'
#endif

// turf code...

grass // turf subtype
#ifdef USE_ICONS
icon = 'grass.dmi'
#endif

// grass code...

And so on. When you compile your release version, just comment out the #define USE_ICONS line.