refactored SpriteConstants and removed use of makeConstantDescriptor in Sprite objects