Animation Sample 2 in XNA
From WorkCDN
- Description: A minor update to the previous version. Less than 10 lines changed/added to enable collisions between characters. This update makes the animations pause when a collision occurs that prevents them from continuing their path. When the obstruction is removed the animation continues from where it left off. Note the boundaries may seem off in this sample because it takes into account the entire texture area which is wider than the character. Also the order of drawing hasn't been implemented yet so the controllable character will always be under all the others(this may be next on the implementation list though I am starting to see some other work I may have to take into account).
- External Link: http://swight1423.googlepages.com/AnimationSample1.zip
