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

v1.0.0 add Action.follow(...), add .easeInOut() helpers #2

Merged
merged 12 commits into from
Apr 22, 2024

Conversation

reececomo
Copy link
Owner

@reececomo reececomo commented Apr 22, 2024

What's changed?

  • Implemented the four SKAction.follow(_:CGPath, ... ) actions as two methods:
    • Action.follow(path, duration), and
    • Action.followAtSpeed(path, speed)
    • Implementing reversing, orientation, etc.
  • Added sensible global helpers for easing timing modes:
    • Chainable helpers for .easeInOut(), .easeIn() and .easeOut() helpers to access.
    • Global constants for default easeInOut, easeIn and easeOut.
    • Defaults to Sine family of curves, can be set easily.
  • Docs improvements
  • Renamed scaleXBy and related to scaleByX for consistency with other methods.

@reececomo reececomo changed the title v0.10.0 Add Action.followPath(...) and Action.followPathAtSpeed(...) v1.0.0 Apr 22, 2024
@reececomo reececomo changed the title v1.0.0 v1.0.0 add Action.follow(...), add .easeInOut() helpers Apr 22, 2024
@reececomo reececomo merged commit bf57860 into main Apr 22, 2024
2 checks passed
@reececomo reececomo deleted the add-follow-path-actions branch April 22, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant