31
Technical forum / Re: 2D sprites actor - How to improve performance when more than 2 in 1 scene?
« on: June 12, 2013, 04:05:09 PM »
Oh. That memory. Yeah it figures, I have 2GB. I was eating it all I suppose. Well I have to be more careful.
I chopped down the transparency margins of each frame and I got rid of the "global" shadow, which was the main reason for that transparency, It looked really cool, but too expensive. And Cut down animation lengths to 5 to 10 frames aprox. Now the game loads much faster and If I manage the same specs I can load 3 full characters in the same scene!. Animation looks kind of choppy for my taste, but I think players are going to live with that.
To be sure of one more thing. The game only retains in memory the main actor and the items collected right?. From scene to scene, everything else gets washed out?
I chopped down the transparency margins of each frame and I got rid of the "global" shadow, which was the main reason for that transparency, It looked really cool, but too expensive. And Cut down animation lengths to 5 to 10 frames aprox. Now the game loads much faster and If I manage the same specs I can load 3 full characters in the same scene!. Animation looks kind of choppy for my taste, but I think players are going to live with that.
To be sure of one more thing. The game only retains in memory the main actor and the items collected right?. From scene to scene, everything else gets washed out?