Godot HTML5 Example

This document provides a guide for exporting a Godot project for HTML 5 and publishing to VIVERSE


Introduction

In this getting-started guide, we will cover the basics of setting up a Godot HTML5 project and publishing to VIVERSE using the VIVERSE CLI.

For this guide, we are using the VIVERSE CLI, but it is also possible to compress and upload your build file directly to the VIVERSE Studio.

A. Project Settings for Godot

Web support for Godot currently requires the engine version to be Godot 4.1 or higher for successful exports. Currently using Godot without C# is essential. However, web export support for C# is expected soon from a recent announcement.

B. Export Setting for Godot

Select the desired platform for export. For web exporting, choose HTML5. Also make sure that the export path is set to Build/index.html. This will lower your packaged build size and rename project exported .html to index.html so VIVERSE can easily find and run the project.

C. Publish to VIVERSE

From here you can publish the project using the CLI tool just like any other platform.

1

Login to VIVERSE platform

A. Open a command prompt and type: viverse-cli auth login, then click Enter.

B. Enter VIVERSE email and password.

C. Confirm login was successful.

2

Publish Content

A. To publish content to VIVERSE type the following command with the project path to the project's production build folder: viverse-cli publish <path>, then click Enter.

B. Enter an Application title and Application description.

C. Confirm the content was published successfully.

3

Re-publishing content

A. To re-publish content to VIVERSE when a project is already published, type the following command with the project path to the project's production build folder: viverse-cli publish <path>, then click Enter.

B. Confirm the manifest file is updated.

C. Confirm the content was published successfully.

4

Test project

A. Confirm project was published successfully and working properly in VIVERSE by visiting the URL that is printed in the Publish Details.

General Limitations of Godot and Web Export

List of Godot WebGL rendering issues: https://github.com/godotengine/godot/issues/66458

Last updated

Was this helpful?