Hello,

I'm using schedule to control the movement of a game object.  It works
great in the simulator, but on the actual device the first third of
the movement is skipped entirely.

I tracked down the problem to my schedule selector function not
reporting the correct delta time on the very first call.  Here's my
debug output:

2009-06-07 14:51:22.005 Block Drop[6512:20b] LEVEL: MoveMan  JUMP
START  START SCHEDULE
2009-06-07 14:51:22.010 Block Drop[6512:20b] LEVEL: MoveMan  END
2009-06-07 14:51:22.016 Block Drop[6512:20b] LEVEL: ProcessNextMove
END
2009-06-07 14:51:22.021 Block Drop[6512:20b] LEVEL: MoveManCache END
2009-06-07 14:51:22.029 Block Drop[6512:20b] LEVEL: ManJumpProcess
delta=0.192232

The [self schedule: @selector(ManJumpProcess:)]; command is called at
14:51:22.005

The first call to the schedule selector occurs at 14:51:22.029

The actual delta time is clearly .024 seconds, but the selector
reports the first delta as .192232 seconds.


Am I doing/expecting something wrong?  Is this a known problem?


Thanks!

Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to