Updated animated sprite sample