阅读背景:

如何处理大量的drawables

来源:互联网 

I am developing a game, where I use lots of drawables. The "drawable" catalog hold over 10MB memory ( about 900 of drawables ). At the beggining of each game level I am loading the array of drawables only the necessary drawables, so when I am drawing them I only refer to certain drawables. This reduce the amount of my drawables to about 300, but there are some cases when then can be even 900 drawables that are used. Even though when I readed drawables they use over 40 - 50MB of memory. I was trying to load them them during the game but this was useless, because the game slows incredible.I am developing a game, where I use lots of dra




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: