Hi all,
I'm developing a platform game on iphone using cocos2d and box2d. The idea is non-moving character and moving platform from right to the left on the screen. When the platform is generated I will give it a velocity heading to left. The character is dynamic object and the platforms are kinematic objects.
The problem is when I press home key on iphone and go back to the game, all the platform will stop, the character still can jump, but the platform will not move any more. Both iphone3GS and iphone4 is tested. This also happens when I have any breakpoint triggered while debugging and continue the game.
Anyone has any idea how this is happening and how to fix it?
Thanks very much.
Regards
Blaze