This sample contains a basic three.js scene integrated with the 8th Wall Engine Binary.
- On this repository, click Code > Download ZIP. If you clone the repository instead, make sure you have Git LFS installed and run
git lfs pull - Unzip the folder to the location you'd like to work in
npm installnpm run serve- To connect to a mobile device, follow these instructions
- Recommended: Track your files using git to avoid losing progress
This project contains Github Actions configuration for deployment to Github Pages, which triggers automatically by pushing the main branch. You can also create a production build using npm run build, which outputs the production build to the dist folder, and publish to the web using this guide.
Please raise any questions on Github Discussions or join the Discord to connect with the community.
This project relies on the 8th Wall Engine, XRExtras, and Landing Page which are loaded as script tags in index.html.
<script src="https://cdn.jsdelivr.net/npm/@8thwall/engine-binary@1/dist/xr.js" async crossorigin="anonymous" data-preload-chunks="slam"></script>
<script src="https://cdn.jsdelivr.net/npm/@8thwall/xrextras@1/dist/xrextras.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@8thwall/landing-page@1/dist/landing-page.js" crossorigin="anonymous"></script>
