transition.to weird problem

Hello,

transition.to is not working when i resume the game for some reason. Here is what happened.

I created a bomb which will explode in 10 seconds. When it explodes, it creates a smoke effect which uses transition.to. This works perfectly.

The problems occur when i pause and resume the game. When the game quits (which will pause the game since i set UIApplicationExitsOnSupend = false in my build.settings), the time left for the bomb and the bomb created time will be saved.

onResume, it will get the load time - bomb created time. If this is > than the time left, the bomb will explode. Now all this logic works fine. The bomb will explode, the smoke will be created. But the transition is not working, the smoke will just be stuck there forever or sometimes 3-4minutes before transitioning.

Is this a transition.to bug? I tried my best explaining the situation. Sorry for the poor english. Any help would be appreciated. Thanks in advance. [import]uid: 74723 topic_id: 13901 reply_id: 313901[/import]

it will be difficult to find what the problem is with out seeing the code. [import]uid: 71210 topic_id: 13901 reply_id: 51074[/import]

Give me a moment, rewritting the code to reproduce the bug now as i can’t just paste the whole game file here. Should be done in 5-10minutes.

UPDATE:
Can’t reproduce it for some reason. Will reupdate this thread when i figure what is causing it.

Currently i checked with a transition handle in my game by using
[lua]local test = transition.to( … )
if test then
print(“true”)
end[/lua]

It is showing true, but i have no idea why smoke ain’t moving [import]uid: 74723 topic_id: 13901 reply_id: 51078[/import]