I’m working on our new game and I want to get rid of the huge system memory usage by doing a lot of transition.to transitions in the game. Most of the calls look like this:
local trans=transition.to(obj[x],{time=2000,x=x1,y=y1,transition=easing.inOutQuad,onComplete=function() moveBack(obj[x]) end})
Doing this kind of transitions really are using a lot of system memory when they get started. This makes a huge peak when a lot of objects have to be moved on screen simultaneously.
I now wonder what is the best practice here doing this the “correct” way, so everything works fast while at the same time save system memory?
I already have reduced the transition count a little bit, but I still have to work with a lot of object movement and explosions and stuff I have to move around on screen.
UPDATE: I’m doing a lot of path transitions like (obj.path{time=1000,x1=45,y1=32}) … so maybe this is the performance killer here???
