resize player sprite in example