krzysztofzablocki / CCNode-SFGestureRecognizers

Adding UIGestureRecognizers to cocos2d, painless.
http://twitter.com/merowing_
Other
202 stars 34 forks source link

negative coordinates problem #3

Closed lukasa1993 closed 11 years ago

lukasa1993 commented 11 years ago

gesture recognition doesn't work when node's coordinates is in negative values can i don anything with that?

krzysztofzablocki commented 11 years ago

What exactly do you mean? Pos shouldnt matter as long as view touchRect is still partially visible on screen.

On Wednesday, 26 December 2012 at 14:49, luka dodelia wrote:

gesture recognition doesn't work when node's coordinates is in negative values can i don anything with that?

— Reply to this email directly or view it on GitHub (https://github.com/krzysztofzablocki/CCNode-SFGestureRecognizers/issues/3).

lukasa1993 commented 11 years ago

yes i found that but i wasn't change touchRect-value, now i set it manually i don't know why its happens i just use setPosition but with negative X - sometimes

krzysztofzablocki commented 11 years ago

Can you prepare a sample project showing your Issue? The current sample on Github allows you to move objects to negative coordinates and works fine.

On Thursday, 27 December 2012 at 11:56, luka dodelia wrote:

yes i found that but i wasn't change touchRect-value, now i set it manually i don't know why its happens i just use setPosition but with negative X - sometimes

— Reply to this email directly or view it on GitHub (https://github.com/krzysztofzablocki/CCNode-SFGestureRecognizers/issues/3#issuecomment-11705558).