CCActionCallBlock usage in Cocos2d Swift -


i used below cocos2d-swift code, giving 1 error. see below image.

var calbck  = ccactioncallblock.actionwithblock({                 self.showglasseffect()         }) ccactioncallblock var seq = ccactionsequence.actions(move, delay, calbck, nil) ccactionsequence 

enter image description here

how use ccactioncallblock in cocos2d swift ?

you need use:

var seq = ccactionsequence.actionwitharray(arr) ccactionsequence 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -