Sword art online is set in the future where virtual reality is possible using this technology called the nerve gear. It lets you put on a device on your head which connects to your nerves an transports you to a game where it will actually feel like you are your character in the game. In the story of this, the designer of sword art online decides to trap all the players that logged in to the game by taking off the log off button from the menu, and if they die in the game they die in real life.
TRON legacy is about a boy who grew up without his father because he disappeared when he was a young. Then he starts to look for answers om what happens to his dad once he is a teenager. Then he later finds out that his father was working on a game and found a way to go into the game. he was trapped there.
This is the gaming set-up i have a got at home that will in my story board in the scenes with my room. In the story, the virtual reality device will be connected to this setup which will allow the character to enter the virtual reality world.
Shown below are the inspirations for the virtual reality device mentioned in the story that allowed the players to enter a virtual reality world with full body control.
Microsoft Hololens
https://www.microsoft.com/microsoft-hololens/en-us

Project Morpheus
https://www.playstation.com/en-gb/explore/ps4/features/project-morpheus/

Ref/ sources:
https://www.google.co.uk/search?q=SWORD+ART+ONLINE&safe=active&espv=2&biw=1440&bih=799&source=lnms&tbm=isch&sa=X&ei=oClLVfaWFOyy7Qb8yICoCg&ved=0CAYQ_AUoAQ#imgrc=MqZTeThHrPL0aM%253A%3B4yUBCW8TnIoQtM%3Bhttp%253A%252F%252Fcloud-2.steamusercontent.com%252Fugc%252F67870869492644026%252FE42C4D15FCD4A81C9C88EAAED7E2207AB29F61AA%252F%3Bhttps%253A%252F%252Fsteamcommunity.com%252Fsharedfiles%252Ffiledetails%252F%253Fid%253D295001573%3B1920%3B1080
http://images4.fanpop.com/image/photos/17900000/Tron-Legacy-tron-legacy-17995014-1920-1200.jpg
http://images4.fanpop.com/image/photos/17900000/Tron-Legacy-tron-legacy-17995014-1920-1200.jpg