Crash - Multiple Movements
Hi, this happened with two games now that I'm porting to iOS. As well as a test environment I set up.
I have an object with 2 movements. Then there is an event that causes the object to change to a different movement. For example, going from path movement to bouncing ball.
Now, probably one out of five times it works, the other four, the app will crash. Is there a work around for this?
Thank you,
Brian.
Edit: This is with iOS 4.1 right up into iOS 5. Compiled with Xcode 4.1 and 4.2. All the same results.
Re: Crash - Multiple Movements
OK this is a very annoying bug, related to the fact that youchange the movement within a Collision event.
You can solve it by setting an alterable value in the collision and changing the movement depending on that value:
Collision with object
- Set Alterable Value A to 1
Alterable value A =0
- Set movement to 0
Alterable value A=1
- Set movement to 1
Re: Crash - Multiple Movements