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.1.0 updated moveBy, moveTo, scaleBy, scaleTo #3

Merged
merged 3 commits into from
Apr 23, 2024

Conversation

reececomo
Copy link
Owner

What's changed?

  • Simplified a number of initializers to match SpriteKit equivalents:
    • Renamed Action.moveByVector({ x, y }, duration) to Action.moveBy({ x, y }, duration)
    • Renamed Action.moveToPoint({ x, y }, duration) to Action.moveTo({ x, y }, duration)
    • Renamed Action.scaleByVector({ x, y }, duration) to Action.scaleBy({ x, y }, duration)
    • Replaced Action.scaleToSize({ x, y }, duration) with Action.scaleTo({ width, height }, duration)
  • Added hints for defaults on Action.follow() and Action.followAtSpeed()
  • Updated README examples

@reececomo reececomo changed the title v1.1.0 updates to initializer stubs v1.1.0 updated moveBy, moveTo, scaleBy, scaleTo Apr 23, 2024
@reececomo reececomo merged commit e6144e1 into main Apr 23, 2024
2 checks passed
@reececomo reececomo deleted the update-initializers branch April 23, 2024 05:06
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