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

Using skipFrames params in spritesheet not working #514

Closed
omretterry opened this issue Mar 27, 2018 · 1 comment
Closed

Using skipFrames params in spritesheet not working #514

omretterry opened this issue Mar 27, 2018 · 1 comment
Milestone

Comments

@omretterry
Copy link

omretterry commented Mar 27, 2018

This Issue is about

  • A bug in the API:
    • Phaser version(s): 2.10.0
    • Live example: Codepen
    • What should happen: screen shows number: 4-17
    • What happens instead: screen shows number: 0-17

Api says skipFrams will skip frames.My understand is animations play will skip the head of frames.

@samme
Copy link
Collaborator

samme commented Apr 6, 2018

Agreed, I can't tell what skipFrames is trying to do. If it's positive and maxFrames is -1, there's no change; and if it's positive and maxFrames is positive, frames at the end of the sheet are omitted.

If we change it, it should be in v2.11.0.

@samme samme added this to the 2.11.0 milestone Apr 11, 2018
@samme samme removed the thoughts? label Jun 9, 2018
@samme samme closed this as completed in 4489fdd Jun 22, 2018
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

No branches or pull requests

2 participants