You will can makes game creation by Mozilla Hub (BGs Project)

Luke Metaverse worker (Belivvr CEO/CTO)
BELIVVR(EN)
Published in
4 min readSep 8, 2023

Mozilla Hub, an open source project for the WebXR metaverse, has many strengths, but one of the strongest is its ability to easily create metaverse spaces with a web editor. However, one of the weaknesses of creating these spaces is that they do not allow for game-like freedom and interactivity.
However, it looks like we’ll be able to implement such interactions in the near future. That’s because of the Behavior Graphs (BGs) open source project I’m introducing today.

Below is a video from last year, August 15, 2022, where Developers demonstrated the code at a developer event at Mozilla Hub, tinkering with it. They showed a case where a door opens when one person walks up to it, and other people at a distance synchronize the animation with the state of the 3D object of the door. Hence the title of the video, “Building a networked interactive animated component in Mozilla Hubs”.

a news was just announced on August 18, 2023 on the hub’s Discord. I haven’t had a chance to try it out myself yet, but I’m go over some of the concepts, share some related articles and videos

1. It’s “Turing-complete”. you can development Interactive game.

The presentation touted “turing complete” and showed a crain game example.

Crane Game by Mozilla hubs

This may be the first time you’ve heard of Turing completeness, but you’ve seen the meme, right?
In the past, HTML/CSS could not be called a programming language because it was not Turing complete. Today, however, HTML/CSS is Turing complete. It is a programming language.

Previously, Mozilla hubs was a viewable metaverse with 3D assets and avatars that you could move around in it, but in the example above, It’s show implemented the computer logic to implement a crane game by BGs

2. non-developer artists can create interactive content with Node UX as a plugin in Blender without coding.

And the biggest importat point with this announcement is that instead of coding, you can add logic to provide the above synchronized functionality by a Blender plugin which a node-formatted UI like the one below.

This is a very familiar UX, isn’t it? Yes, it is. It’s the UX of Unity’s VisualScript and Unreal’s Blueprints. Nowadays, StableDiffusion also uses a node-like

3. 4 categories and different types of nodes available

Actually, I’m new to node-based development, so I’m not sure what the four categories mean yet. I’ll have to try them out for myself for know

However, the different types of nodes below are very familiar terms in programming. In text-based programming, they would be called keywords (reserved words), and their functions and concepts are the same as in programming?

Various types of nodes

4. synchronize by network components

The main topic of the presentation was on how to synchronize components based on which plays. To do this, the concept of ownership was explained, as well as the algorithm for acquiring it. However, you may be more interested in what can be synchronized.

Rigid Body(Type, Mass, Gravity), Transform(Position, Rotaion, Scale), Behavior, Animation, Audio/Video, MediaFrame, Text

This seems to imply that the components can be synchronized. Looking at the current MozillaHub source, I can see that MediaFrames and Audio/Video are synchronized, so I assume the same applies here.

5. You don’t have to use must a game engine to develop a 3D metaverse.

This seems to be the biggest trend in the metaverse lately. Apple’s Vision OS is taking over the development environment for 3D app development from Unity with XCode and Reality Kit Pro, and Mozilla Hub is will making node-based frameworks accessible to artists. The implications of this are clear. Once thought to be the preserve of 3D game engines, the 3D metaverse is finding its way into apps and the web. Ultimately, these developments suggest that the metaverse is here to stay, and the revelations of BELIVVR’s belief that the Internet will soon be a 3D metaverse continue to come.

  • In the first half of 2024, we’re working to bring this functionality to our SaaS platform, BELIVVR’s XRCLOUD.
    If you’re interested in adopting MozillaHub, be sure to check out BELIVVR’s XRCLOUD.

--

--