I read many themes about optimization, but I still have few questions:
1) Somewhere I saw, that Ashley says that "delete" action makes "trash" in javaskript code. So what can I do?
If I no longer needed some sprite, I can replace it with "set position" action, but it not good, because I remeber that set position/angle/size/opasity... are optimization killers.
And what can I do with bullet or fume animation, to example? "Spawn/delete-Spawn/delete-Spawn/delete..." or "set position to gun" on launch and "set position (-1000, -1000)" when it hit another object?
It's difficult to understand... especially with my English ((
2) And anybody know what sprite limit has C2 for internet or mobile games?
I mean they are not on the screen at once. On screen just ststic backplane and hero with one enemy which have very many animation frames. It's , haven't scroll, haven't physics, or smth difficult like that, just many animation frames. So how many can I store in C2? 200, 300...?