i have a CCLayer class on top of which i am adding another CClayer object from another class. But i want to add the CCLayer object with a frame only while it gets added to the whole screen and i am not able to get touches seprately for the layer beneath and nor the added layer. how can i add cclayer object with a certain frame??
Share
I dont believe you can ‘frame’ a layer, however you can ‘frame’ where the touches will be processed in the layer, something similar to :