I am creating a sprite and placing it on the screen at a specified location. As seen in code below, sprite is supposed to be placed in the center of the screen but for unknown reason, the Y axis positioning is not correct.
The x appears in center but Y is way down the screen.
The value seen 640 is the height of the screen so dividing it by 2 should have placed it in center of screen.