Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCActionFollow should use positionInPoints because it operates on the view size #901

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Ben-G
Copy link
Contributor

@Ben-G Ben-G commented Jul 25, 2014

Currently CCActionFollow breaks with normalized position types, because it is implemented assuming that the position types of the target Node and followed Node are points, which is necessary to compare positions to the viewSize. Since new position types have been introduced in Cocos2D 3.0 this action should use the positionInPoints property to always access the position in points.

@Ben-G Ben-G changed the title CCActionMoveTo should use positionInPoints because it operates on the view size CCActionFollow should use positionInPoints because it operates on the view size Jul 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant