sprite initialization logic and callbacks hooked