In this paper, the modified extended tanh method is used to construct more general exact solutions of a(2+1)-dimensional nonlinear Schr¨odinger equation.With the aid of Maple and Matlab software, we obtain exact explicit kink wave solutions, peakon wave solutions, periodic wave solutions and their 3D images.