More work on animated sprite