jocean's Spriter core define and utils