update animated tile for sprite batch rendering, fix from_image
move example out to separate dir