Skip to content

LD2Studio/VirtualBuilder

Repository files navigation

Virtual Builder (👷 ALPHA version)

A framework for building virtuals worlds in a web application.

Getting started

Requirements

  • Node.js

Creating a new project

  1. Create a folder for your project
mkdir my-project
cd my-project
  1. Install dependencies

VirtualBuilder :

npm install git+https://github.com/LD2Studio/virtualBuilder.git

Vite :

npm install vite -D
  1. Create a index.html file
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="main.js" type="module"></script>
</head>
<body>

</body>
</html>
  1. Create a main.js file
import { app } from 'virtualbuilder'
app.init()
  1. Run Vite
npx vite

That's it!

Creating an asset for your virtual world

An asset is a virtual object made up of one or more rigid parts, which can be attached together by joints, in order to create complex objects which can be used in the virtual world.

About

Creating a virtual physical and interactive world in a web page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors