hi all
I have a problem with event propagation in 0.8.2.
I use targetedTouchDelegate on 2 layers and the root layer (parent of the other) doesn't send event to child. my ccTouchBegan return kEventIgnored and swallowsTouches (of the parent node )is set to NO.
My child node is actually a sprite <targetedTouchDelegate>, I don't think i is a problem because I made that worked before in 0.8...
any idea guys ?
are my touch events lazy ?
event propagation problem
(4 posts) (3 voices)-
Posted 2 years ago #
-
Hi,
I'm having the same trouble but in 0.9...
I have a layer witch creates an instance of a CCTextureNode class on ccTouchBegan, adding it to the layer, then I would like to process immediately the current touch event in that instance. But it only works when I touch the second time...
Can anyone help?Thanks
Posted 2 years ago # -
Is this a limitation of cocos v0.9 ?
Posted 2 years ago # -
touches in v0.8 might be a bit slower than in v0.7, but you should receive all of them.
Posted 2 years ago #
Reply
You must log in to post.