Yes. They do change.
The energy of an ideal gas molecule can be given according to the equipartition theorem as derived from statistical thermodynamics.
It states that the energy is equally divided among all the degrees of freedom with each of them having an energy
Thus, for a gas molecule with
Thus rms velocity is dependent on the number of degrees of freedom.