Hi everybody,
Im trying to use a timer.performWithDelay() function in my app.
My problem is:
I would like move a pj across the display automactly (with sprites).
First, move to the left during 1000 ms and after move up during 1000.
Im trying with:
onMoveX(old_x,new_x) – move Left
timer.performWithDelay (1000, onMoveY(old_y,new_y) ) – Launch onMoveY after 1000 ms
and dont function
What is the problem?
Is mandatiry develop a listener function for each move?
Please help!!
Thanks in advance
Regards