Timeline for How do you handle animations that are for transitioning between states?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 3, 2011 at 22:36 | comment | added | you786 | Well I guess it's because my implementation uses the playerState for more than just animation/drawing, it also used it for physics logic. So if I used different states for between-crouching-and-standing and crouching, I would have huge if statements to decide if the player is crouching: if(playerState == betwee..-standing || playerState == crouching || etc. etc.) | |
| Jul 4, 2011 at 1:56 | comment | added | BlueRaja - Danny Pflughoeft | +1 to Fxlll's answer, I don't see why the between-crouching-and-standing animation needs to be a special case - how is it different from any other animation state? | |
| Jul 4, 2011 at 1:30 | vote | accept | you786 | ||
| Jul 4, 2011 at 1:30 | history | answered | you786 | CC BY-SA 3.0 |