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

Sprite API #25

Open
3 of 5 tasks
tjvr opened this issue Aug 20, 2017 · 0 comments
Open
3 of 5 tasks

Sprite API #25

tjvr opened this issue Aug 20, 2017 · 0 comments
Assignees

Comments

@tjvr
Copy link
Member

tjvr commented Aug 20, 2017

  • Event emitters: replace .on('tap', … with .onTap(… everywhere
  • Forever: replace forever(...) with sprite.forever
  • Co-ordinates: Rename x and y to posX and posY. (Rename x/y #21)
  • the x/y position of Text/Polygon/Rect should be its center.
  • Don't make isTouching/getTouching the default--they're too slow. (get/isTouching is slow #24)
@tjvr tjvr self-assigned this Aug 20, 2017
tjvr added a commit that referenced this issue Aug 20, 2017
For #25. See discussion on #10.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant