iphone - Disable touches on layer/scene for pause -


i'm trying create pause menu game. using [[ccdirector shareddirector] pause] works well, game sprites have own cctouch methods, can still dragged around while game paused.

i'm creating pause menu creating cclayer on top of existing scene, , removing , resuming when hit resume.

is there easy way perhaps make perhaps pause layer receives touches? or other alternatives?

thanks

you can implement kind of lock , unlock of layers, in disable , enable user interaction. implement logic translate lock/unlock commands lockable children. can implemented, example, protocol


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -