This repository pairs with the BabylonJS Mixed Reality module that is part of the Microsoft Learn learning path inspired by the Space Jam: A New Legacy film.
There are two options for completing this module:
- Write the code from scratch by creating a repository based on the BabylonJS WebPack template. Simply fill in the form, name your repository space-jam-a-new-legacy-babylonjs.
- Create a repository based on this template repository by clicking "Use this template", or clicking this generate link and filling in the form. Name your repository space-jam-a-new-legacy-babylonjs.
Once you have a repository on your personal GitHub account based on one of the above two template repositories, clone it to your local computer.
The rest of this README will assume you have generated a repository based on this template and clone it to your local computer.
To make sure you have the code working on your machine, you need to install the packages needed for this project, build the project, and start the project.
To do this, open the repository folder in Visual Studio Code and open the terminal.
Then run the following commands:
Install packages
npm install
Build Project
npm run build
Run the project
npm start
If you navigate to https://localhost:8080 you should see the following empty scene:
Head back to the Microsoft Learn module to continue learning how to build out this project.
To see the completed project, you can switch to the completed-code
branch.
CodeTour is a Visual Studio Code extension that guides you through code with further explanation. For this project there are two CodeTours; one on the main branch (where you are filling in the code) and one on the completed-code
branch (to guide you through the completed code).
To get started, open the CODETOUR
tab in the Explorer pane and click play on the "Get Started" tour.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
© 2021 WBEI TM & ©2021 WarnerMediaDirect, LLC. All Rights Reserved.