src: added resizing of player and enemies