Timeline for How to finish a sprite animation before going back to default animation?
Current License: CC BY-SA 3.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 15, 2013 at 15:48 | vote | accept | optimisez | ||
| Feb 28, 2013 at 6:19 | comment | added | House | That is displayed in the example I gave in the onAnimationEnd() function. | |
| Feb 28, 2013 at 6:18 | comment | added | optimisez | Ok. How to design it to make it to check nextAnimation whether it is null or not (second block code)? | |
| Feb 28, 2013 at 5:49 | comment | added | House | Sorry. I'm happy to answer questions on the site, but if you want my one on one programming support, I charge by the hour. | |
| Feb 28, 2013 at 0:07 | comment | added | House | It means that if the current animation is still playing and it's not allowed to be canceled early, then trying to apply a new animation gets applied to next. Otherwise it gets set to the current animation. It's a way of protecting the current animation from being changed if it's still playing. | |
| Feb 28, 2013 at 0:05 | history | edited | House | CC BY-SA 3.0 | added 13 characters in body |
| Feb 27, 2013 at 23:25 | comment | added | optimisez | I still not understand about how public void changeAnimation(Animation next) function works. Why assign next to nextAnimation and currentAnimation and what is the purpose of putting else? | |
| Feb 27, 2013 at 23:17 | vote | accept | optimisez | ||
| Feb 27, 2013 at 23:20 | |||||
| Feb 27, 2013 at 10:55 | vote | accept | optimisez | ||
| Feb 27, 2013 at 23:16 | |||||
| Feb 27, 2013 at 10:55 | vote | accept | optimisez | ||
| Feb 27, 2013 at 10:55 | |||||
| Feb 26, 2013 at 0:42 | comment | added | House | Yes, I've updated the answer. | |
| Feb 26, 2013 at 0:42 | history | edited | House | CC BY-SA 3.0 | added 1860 characters in body |
| Feb 26, 2013 at 0:28 | comment | added | optimisez | Can u show me how does Animation next, nextAnimation and currentAnimation work? | |
| Feb 25, 2013 at 16:19 | history | answered | House | CC BY-SA 3.0 |