Well,
I thought everything was fine and dandy and my game would be up on googleplay now but alas how wrong could I bee( not a spelling mistake).
I will strip this down to its simplest form.
An object collides with another 5 times, on the fifth time the health bar is depleted, a game over function is called as is a change scene function.
Issue is that on the fifth collision the game crashes and returns to the phones desktop.
I have a countdown tiwner also that when it reaches zero it calls the game over function and then the change scene function all working fine. So I guess the gameover function is doing its job.
Logcat gives me a fatal signal 11 SIGSEGV fault, great…
The object is infact an animated sprite which collides with another animated sprite, a single frame is played at collision before the end of the sequence.
I am thinking it may be a timer/transition problem.i.e not cancelling but I am sure I have covered all this and cancelled and destroyed all objects before changing scenes.
I am thinking it has to be something in the way the 2 sprites react, but I am struggling to find the answer.
All the code is fresh and not borrowed from anywhere
I know its difficult to diagnose, what I am looking for are ideas please?
[import]uid: 127675 topic_id: 31700 reply_id: 331700[/import]