In this video Emmanuel Henri provides some details around where to find the exercise files and how to use them. With each video, he provides a start and end state of the application, which can be used accordingly to follow along.
- [Instructor] To get the exercise files, on the course page, simply click on the tab named Exercise Files, then download the zip file, then simply extract the zip file and move the folder to your desktop. So when you have the exercise files on your desktop, simply click on the particular movie or chapter we're on, then click on the particular movie, and then click on the start or end state. So, for example, if we are at the start of Video 1_05, then click on the start state and grab the files from here.
So let's go inside of VS Code and show you how to run these files. So let's go to VS Code and then click on Explore, then Open Folder. Again, go to the exercise files of that particular movies or at the start state, and then open those files. And then once you have the files inside of VS Code, all you need to do is go inside of View and open up the integrated terminal, and that's why I always mention to have an integrated terminal so the experience of building and developing our application is still in the same tool.
And then once you have that, you need to install the dependencies, and you can do that by doing npm install. And some people may prefer yarn, so you could do yarn, as well, but in this case, let's do npm install. So once the dependencies are installed, all you have to do at that point is do npm start to run the project, and then it will run your VR environment. So please keep in mind that sometimes the code is a work in progress and if you run npm start or yarn start, the application won't run and may return an error.
So this is expected and won't affect your ability to follow along.
- Finding inspiration on the web
- Testing projects with a Gear VR headset
- Working with 3D coordinates and transforms
- Building a 360-degree background
- Adding primate components and 3D models
- Adding sound and interactivity