ID:2306646   Oct 18 2017, 11:41 pm (See the best response by Ter13.) Whenever an animation is activated for the first time it appears choppy as though it is loading it or something. Also I noticed same thing for my maps, I have 3 dmi files for each continent when I go close to a continent I get 1 sec lag, but that only happens once for each graphic. I mean aren't they already loaded at compile time??
 <-> Oct 19 2017, 7:12 am Do you have your preload_rsc set? If it's set to 0 then no resources are preloaded and you only download them as you need them. 1 preloads all the compiled resources. 2 preloads all the compiled and dynamic resources.
 <-> Oct 19 2017, 9:18 am well I don't have much of a problem with animations as I have with some dmi files containing many large objects. And yeah I'm trying to cut back on graphics since I went overkill with large icons. Btw now that we mention the preload_rsc is it possible that I split graphics in 2 rsc like main map rsc and level interior rsc. Since they use entirely different graphics I mean I've never tried anything like this, will it be effective? Also is it possible that byond will improve support for games with many resources?? I mean I get almost 0 lag from code but graphics are killing me.
 <-> Oct 19 2017, 10:07 am Btw now that we mention the preload_rsc is it possible that I split graphics in 2 rsc like main map rsc and level interior rsc. Since they use entirely different graphics I mean I've never tried anything like this, will it be effective? Also is it possible that byond will improve support for games with many resources?? I mean I get almost 0 lag from code but graphics are killing me. You could do that, but when you compile an included rsc file, it gets compiled into the project's main RSC file, so it wouldn't make a difference.
 <-> Oct 19 2017, 10:10 am Feared so, so there is no way that I can remove graphics and add dynamically later??
 <-> Oct 22 2017, 1:23 am Ok got everything to the lowest possible, it all works without the crashes at around 1450MB. But now I'm worried on sound and video cut-scenes is it possible to play them with an external player?? I mean run works but I don't know how to close the file later. And also I get a permission dialogue for each run that really breaks the game. I'd like it to play externally on the background without player noticing it. Also memory management on graphics should be a standard feature I mean most rts games use a lot more assets than I did. Also wouldn't it be great to be able to display a graphic and when no longer needed to be able to remove it from memory?? And when you are about to need it again you can add it again, this is not unreasonable in most engines its the garbage collection norm. Isn't this feasible in Byond?? maybe there could be an automatic behavior like Client/CleanUnusedGraphics=0 0 is default behavior and =1 would also free Memory when a certain graphic is not used anywhere. Or if that is too much there could be an experimental feature where we could get a reference of an object in memory and then manually remove it. That would allow us to do this: ` var/sound/s=sound('MainTheme.ogg'); usr<