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

View changed but animation doesn't update on the new view. #27

Closed
alamboley opened this issue Jan 14, 2013 · 4 comments
Closed

View changed but animation doesn't update on the new view. #27

alamboley opened this issue Jan 14, 2013 · 4 comments
Labels

Comments

@alamboley
Copy link
Member

The problem is (using a dragon bones asset example) :

  • at first the object is created without a view specified (created by Flash Pro for example).
  • it plays the function set animation.
  • it isn't a armature at the moment so he won't played its animation.
  • we set up the dragon bones animation.
  • the function set animation won't go to dragon bones part since the animation hasn't changed.

To resume, the view has changed but not the animation so its animation isn't updated.

@biscito
Copy link

biscito commented Jan 14, 2013

on thing, when hero kill the enemy, animation update view to "die",

@alamboley
Copy link
Member Author

Yes, your animation has changed (and your dragon bones view has already be set up) so it will go into the dragon bones animation code and it will works perfectly. The problem is when animation doesn't change and the view has been updated.

@biscito
Copy link

biscito commented Jan 15, 2013

i'm trying to force view, my enemy is created over a platform, so when he fall & collide, it's suppose to change
but no result

@alamboley
Copy link
Member Author

fixed with the last commit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants