It's a generic code to get a sprite showing and reducing the image for 50% for higher resolution dirplayes.
This is a generic code to get a sprite showing and reducing the image by 50% for higher resolution displays.