Similar to Android unlock pattern where in, initially all the circular cells will be in grey color. During when we draw some pattern, those cells touched will become green colored and if that pattern is not a correct one, then the cells touched will become red colored and after some 3 seconds, they become grey colored. I am doing similar thing using COCOS2D. I am getting difficulty in introducing that 3 seconds delay before making the cells back to grey colored. Any suggestions…Thanks.
Similar to Android unlock pattern where in, initially all the circular cells will be
Share
You can use
CCSequencein that first putCCDelayTimeand in second putCCCallFuncN(which contain logic of again color your circle to grey)Below i am providing you iOs code logic