The Spacetime standard kit provide developers with turnkey virtual environments. This package will provide multiple metaverse features like multiplayer, custom avatars, vehicle and blockchain connection.
We are making this codebase open source and free to use by our community members and partners in order to facilitate the standardization of the metaverse.
The environments are built using ThreeJs.
The peer to peer multiplayer is built using PeerJs.
This standard kit project was initially started to populate this universe with uniquely generated worlds. It has now extended to much more. As multiple other projects use our open source kit to create their own virtual environments and connect them to the spacetime metaverse.
Partners and contributors should keep in mind that; even as the project gets more traction, our main focus will always be on populating the space chunks with complete worlds and valuable experiences. Also, every feature will be reviewed and developed in orientation to the spacetime meta roadmap.
Create a simple environment with avatar, ui and multiplayer:
// start by creating a basic virtual environment
let virtualEnvironment = new VirtualEnvironment();
// fill your world with the stuff you want
init();
function init() {
virtualEnvironment.loadTerrain('terrain.glb');
virtualEnvironment.spawnPlayer('avatar.glb');
}
// then start the animation
animate();
function animate() {
virtualEnvironment.update();
requestAnimationFrame(animate);
}
If everything works properly, you should see something like this base template
Thanks to our contributors 💎🚀