Two-dimensional time-dependent classical systems with confining potentials