Collision handler done with platforms for player