Enormously, and in a fairly traceable line.
It began with the era of the SNES and its contemporaries, where movement was largely two-dimensional and linear: Mario running left to right, screen by screen. Then came top-down perspectives, which let you move freely within a space, as in the early Zelda games.
Once hardware allowed it, developers added scrolling, layered graphics, richer soundtracks and eventually full 3D worlds with a camera that followed the player. Storytelling, voice acting and orchestral scores arrived in the same wave.
Today motion controls can track a hand in the air, headsets put you inside the scene, and online infrastructure means a game's world persists whether or not you are logged in. The through-line from Mario to that is the same one: each generation gave players more ways to act on a world.