A new project can be started by running npm create croquet-microverse@latest
in an empty directory on your computer and then run npm start
in the directory. If you wish to make a new Microverse world with a stable version of library, no need to clone this repositoty. For more information, refer to The Quick Start Guide. This repository contains the source code and build scripts of "Microvese Library" that is ued in the npm create ...
command. If you wish to learn more aboutMicroverse system itself and modify code in the library to enhance it for your projects, please read on the following.
Croquet Microverse is a framework for building multiplayer immersive 3D virtual worlds on the web. It is built on the Croquet OS and the Worldcore framework.
By combining all together, Croquet Microverse helps developers to create a metaverse world interactively and quickly. Crucially, the deployed web app requires zero-installation to run on users computers.
The source code and assets in this repository are licensed under Apache License 2.0.
The quickest way to get a feel for Microverse is to visit a default world served from the Croquet site:
There are other Microverse worlds on https://croquet.io.
The worlds on the Croquet server cannot be modified by you. But if you are a developer who already has the tools git
and npm
, follow these steps to get a taste of how straightforward it is to set up your own shareable worlds:
https://github.com/croquet/gallery
, https://github.com/croquet/factory
, etc.cd gallery
npm install
npm start
localhost:9684
. As in the publicly deployed example above, you will find yourself alone in a new world, at a URL that has automatically been extended with a session ID and password.[bonus activity] To join the world from other devices that are on the same network, you'll need a URL in which localhost:9684
is replaced with your computer's IP address. If you don't know the address, one place to find it is in the output from the npm start
that you ran in step 5. Look for a line of the form
(Network IPv4 "en0") http://192.168.0.103:9684
...and don't forget to add the session ID and password parts of the URL. Once you have loaded this URL on any device, the QR code that it will display from the hamburger menu will work for other devices on the same network.
To learn more about modifying Microverse code and worlds, and obtaining the API key that will let you deploy them beyond your local computer, see the documentation below.
This repository has the equivalent of gallery world and also the "test" world that only has a sky box and a programatically generated flat gridded floor. Check out docs/Development.md for making changes to the system code and test it.
The documentation for the Croquet Microverse is located in the docs directory.
This project is tested with BrowserStack
Copyright (c) 2022 Croquet Corporation