I have a game that you can choose the color of the clothing as you go. in doing this i create a new icon file and use the SwapColor procedure to swap a default color with the player designated color. I let the player choose how much red, blue, and greem they want want in the color, i realize that this could create millions od .dmi files after a period of time.
Eventualy could this take up too much memory even though each .dmi file is only 11 to 12 Kb in size? If so how do i prevent this from happening with out changing my prevous procedure.
All help is appreciated and thank you in advance.
ID:176887
Nov 30 2002, 11:49 am
|
|
With the /icon datum, if you keep your work in progress restricted to the datum, no .dmi files are created at all. The .dmi is only created after you assign this to an atom or use fcopy_rsc(). And the file is temporary, so you don't have to worry about it slowly cluttering up your game.
Lummox JR