Synfig Studio is a free and open source 2D vector graphics and timeline-based computer animation program. Illustrate characters and animate them into sprites for use in design and game projects.
Blender is a free and open source 3D creation suite. It supports the entirety of the 3D pipeline -- modeling, rigging, animation, simulation, rendering, compositing and motion tracking, even video editing and game creation.