Rewritten spriter method