AI/Animation Integration and Cleaning up previopus animation code
Here's what I did:
- I made it so it is simple to add unique characters with unique sets of animations to tag game.
- I added an enemy sprite with a unique set of animations.
- I made it so use ever is tagged is tinted red.
- I fixed countless problems with the way animations were working in the last milestone and prettied things up.
- I made all the other animations on the list are in the game and work properly (before just running worked)
- I made it so that the collide animation is not available while the tagged animation is playing. This causes no problems and looks the way you would imagine it should.
These animations are now supported:
- Run N, NW, W, SW, S, SE, E, NE collide and tagged. Standing still will cause the animations to stop also.
Problems:
- I am using SDL_BlitSurface which is making it so I cannot draw the inverse kinematics... I'll solve that problem later, in the mean time the IK will not be able to be used at the same time that the sprite animations are working.
Download Source
Watch Cruddy Video