Module 1 - Setup
Note: This content is intended as a companion to the tutorial world of the same name, which you can access through the desktop editor. When you open the tutorial world, a copy is created for you to explore and leverage, and this page is opened so that you can follow along. For more information, see
Access Tutorial Worlds.
Welcome to the Text as Assets tutorial world! The goal of the world is to show some simple examples of how you can use the feature to add more content to your world. Example uses include:
- Text as content: Imported text can be applied as text to in-world entities, enabling you to centralize text content outside of the code files.
- Text as metadata: Text in JSON format can be used to specify assets to spawn into your world.
- Text for timed events: Text in JSON format can be used to define events timed for execution after the world is initialized.
Before hopping in, you may want to take a look at the following worlds that showcase how to use the basic versions of the concepts used inside the Text as Assets world:
- Intro to Desktop Editor and TypeScript world: This world covers the desktop editor application, a primary interface for world building. Through the desktop editor, you can access and build TypeScripts to power your world. For more information, see Intro to Desktop Editor and TypeScript.
- You also should also take a look at the feature documentation.
Key game development areas
Introduction to Text As Assets Tutorial world
This world demonstrates some examples of using the Text as Assets or Data As Assets feature as it is seen in the
official documentation.
Note: This world only uses JSON as text assets. No other format for text as assets is supported.
Before you begin, please verify that you have acquired access to your own clone of the world.
Open your cloned world in the desktop editor, where you can explore it in either Build mode or Preview mode to familiarize yourself with the world and its structures before modifying it.
Note: This tutorial assumes that you are familiar with the desktop editor, a desktop application for world building in Meta Horizon Worlds. If you are new to the desktop editor, you might want to start with the Intro to Desktop Editor and TypeScript tutorial. See
Intro to Desktop Editor and TypeScript.
Note: Desktop users must be signed in first.
There are three stations in the world, each described in one of the following modules. For each world, we use a direct reference to a Text Asset, which includes the Asset ID and asset’s Version ID.
To get started, you must create a new world based on the tutorial world. For more information on this workflow, see
Access Tutorial Worlds.