public void keyReleased(KeyEvent e) {
	    key = e.getKeyCode();

	    if (key == KeyEvent.VK_A) {
	    	move_x = 0;
	    }
	    if (key == KeyEvent.VK_LEFT) {
	    	move_x= 0;
	    }

	    if (key == KeyEvent.VK_D) {
	    	move_x = 0;
	    }
	    if (key == KeyEvent.VK_RIGHT) {
	    	move_x= 0;
	    }
	}