From bcc7562babfa869ef4af7df5bc9570af546fbbe5 Mon Sep 17 00:00:00 2001 From: Tyler M-Wise <74430503+TylerMWise@users.noreply.github.com> Date: Sun, 9 Mar 2025 15:38:55 +0000 Subject: [PATCH 1/4] Create horizon-worlds.md --- content/en-us/horizon-worlds.md | 124 ++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 content/en-us/horizon-worlds.md diff --git a/content/en-us/horizon-worlds.md b/content/en-us/horizon-worlds.md new file mode 100644 index 000000000..0f7bdef03 --- /dev/null +++ b/content/en-us/horizon-worlds.md @@ -0,0 +1,124 @@ +--- +title: Roblox for Meta Horizon Worlds developers +description: If you're an experienced Meta Horizon Worlds developer, use this page to get oriented with Roblox. +--- + +import ScriptTypes from './includes/engine-comparisons/script-types.md' +import CodeSample from './includes/engine-comparisons/fishing-pole-code-sample.md' +import ScriptLocations from './includes/engine-comparisons/script-locations.md' +import Transforms from './includes/engine-comparisons/transforms.md' + +## Meta Horizon Worlds vs. Roblox Studio: A Comparative Documentation + +This document compares Meta Horizon Worlds and Roblox Studio, focusing on key features and differences relevant to content creators. + + +# **1. Core Creation Environment:** + +## **1.1. Hierarchical Organization:** + +| Feature | Meta Horizon Worlds | Roblox Studio | Similarity | +|------------------|--------------------------|--------------------------|--------------------------------------------------------------------------| +| Organization Tool| Hierarchy window | Workspace (Explorer window)| Tree structure for parent-child object relationships. | +| Purpose | Managing 3D entities | Managing 3D parts and objects | Facilitates scene management and object organization. | + +**1.2. Asset Management:** + +| Feature | Meta Horizon Worlds | Roblox Studio | Similarity | +|------------------|--------------------------|--------------------------|-------------------------------------------------------------------------| +| Asset Acquisition| Asset Store | Creator Store | Centralized library for acquiring reusable assets. | +| Asset Management | Assets window | Inventory | Tools for managing and organizing imported and acquired assets. | + +## **1.3. Terminology Differences:** + +| Meta Horizon Worlds | Roblox Studio | Notes | +|----------------------|---------------|-------------------------------------------------------------------------| +| World | Place | Represents the primary environment or game level. | +| Entity | Part | Basic building block or object within the 3D environment. | +| Asset Template | Packages/Models | Container object grouping multiple gameplay elements. | +| Transform | Transform/CFrame| Represents an object's position, rotation, and scale. | +| Hierarchy window | Explorer window | Tool for managing the scene's object hierarchy. | +| Properties window | Properties window| Tool for modifying object properties. | +| Scene window | Viewport | 3D view of the world or place. | +| Assets window | Toolbox | Tool for accessing and managing assets. | +| SpawnPoint | SpawnLocation | Location where players appear in the world or place. | +| Console | Output | Window for displaying debugging information and script output. | +| Asset Library | Creator Store | Online asset library for importing assets into a project. | + +# **2. Scripting and Logic:** + +## **2.1. Scripting Languages:** + +| Feature | Meta Horizon Worlds | Roblox Studio | Key Differences | +|------------------|---------------------|---------------|------------------------------------------------------------------------------| +| Language | TypeScript | Luau | TypeScript is statically typed, Luau is dynamically typed. | +| Syntax | JavaScript-like | Lua-based | TypeScript has a more structured, object-oriented syntax. | +| Typing | Statically Typed | Dynamically Typed| TypeScript provides compile-time type checking, Luau does not. | + +**2.2. Script Execution Models:** + +| Feature | Meta Horizon Worlds | Roblox Studio | Key Differences | +|--------------------------|-----------------------------------|-----------------------------------|------------------------------------------------------------------------------| +| Script Types | Default (Server), Local (Client) | Server, Client, Module | Meta Horizon Worlds simplifies to server/client, Roblox has explicit modules. | +| Execution Context | Server or Client | Server, Client, Reusable Module | Roblox offers more granular control over script execution. | +| Local Script Ownership | Manual assignment via code | Automatic | Roblox handles local script ownership automatically. | + + +## **2.3. Language Comparison Example (Sum Function):** + +**Luau (Roblox):** + +```lua +-- Sum numbers up to "n" and returns the sum +function sumUpTo(n) + local sum = 0 + for i = 1, n do + sum = sum + i + end + return sum +end + +print(sumUpTo(5)) -- Output: 15 (1 + 2 + 3 + 4 + 5) +``` + +**TypeScript (Meta Horizon Worlds):** +```ts +// Sum numbers up to "n" and returns the sum +function sumUpTo(n: number): number { + let sum = 0; + for (let i = 1; i <= n; i++) { + sum += i; + } + return sum; +} + +console.log(sumUpTo(5)); // Output: 15 (1 + 2 + 3 + 4 + 5) +``` + +## **2.4. Script Type Comparison** + +|Meta Horizon Worlds|Roblox| +|---|---| +|Script in Local Execution Mode|Client Script| +|Script in default Server Execution Mode|Server Script| +|Export functions/classes in any script|Module script| + +# **3. Asset Pipeline and Interoperability:** + +## **3.1. Asset Import:** + +| Asset Type | Meta Horizon Worlds File Formats | Roblox Studio File Formats (Exported) | +|------------|-----------------------------------|--------------------------------------| +| 3D Model | .fbx, .png | .obj | +| Audio | .opus, .wav | N/A | +| Material | .png | .mtl | +| Skydome | .png, .exr | N/A | +| Texture | .png | .png | +| Text | .json | N/A | + +## **3.2. Roblox to Meta Horizon Worlds Conversion:** + +* **Direct Conversion:** Limited. Only .fbx assets can be directly imported. +* **Native Roblox Parts:** Require conversion to .fbx using tools like Blender. +* **Scripts:** Luau scripts are incompatible; require complete rewrites in TypeScript. +* **Exporting Roblox Assets:** Roblox exports models as .obj and materials as .mtl. From c9476d05b2fbbdcf926494fef356e318545d72b3 Mon Sep 17 00:00:00 2001 From: Tyler M-Wise <74430503+TylerMWise@users.noreply.github.com> Date: Sun, 9 Mar 2025 15:45:53 +0000 Subject: [PATCH 2/4] Update horizon-worlds.md --- content/en-us/horizon-worlds.md | 50 ++++++++++++--------------------- 1 file changed, 18 insertions(+), 32 deletions(-) diff --git a/content/en-us/horizon-worlds.md b/content/en-us/horizon-worlds.md index 0f7bdef03..ffd2619a1 100644 --- a/content/en-us/horizon-worlds.md +++ b/content/en-us/horizon-worlds.md @@ -1,36 +1,29 @@ --- title: Roblox for Meta Horizon Worlds developers -description: If you're an experienced Meta Horizon Worlds developer, use this page to get oriented with Roblox. +description: This page compares Meta Horizon Worlds and Roblox Studio, focusing on key features and differences relevant to content creators. --- import ScriptTypes from './includes/engine-comparisons/script-types.md' import CodeSample from './includes/engine-comparisons/fishing-pole-code-sample.md' -import ScriptLocations from './includes/engine-comparisons/script-locations.md' -import Transforms from './includes/engine-comparisons/transforms.md' -## Meta Horizon Worlds vs. Roblox Studio: A Comparative Documentation +# Roblox for Meta Horizon Worlds developers +This page compares Meta Horizon Worlds and Roblox Studio, focusing on key features and differences relevant to content creators. -This document compares Meta Horizon Worlds and Roblox Studio, focusing on key features and differences relevant to content creators. - - -# **1. Core Creation Environment:** - -## **1.1. Hierarchical Organization:** +## **1. Core Creation Environment:** +### **1.1. Hierarchical Organization:** | Feature | Meta Horizon Worlds | Roblox Studio | Similarity | |------------------|--------------------------|--------------------------|--------------------------------------------------------------------------| | Organization Tool| Hierarchy window | Workspace (Explorer window)| Tree structure for parent-child object relationships. | | Purpose | Managing 3D entities | Managing 3D parts and objects | Facilitates scene management and object organization. | -**1.2. Asset Management:** - +### **1.2. Asset Management:** | Feature | Meta Horizon Worlds | Roblox Studio | Similarity | |------------------|--------------------------|--------------------------|-------------------------------------------------------------------------| | Asset Acquisition| Asset Store | Creator Store | Centralized library for acquiring reusable assets. | | Asset Management | Assets window | Inventory | Tools for managing and organizing imported and acquired assets. | -## **1.3. Terminology Differences:** - +### **1.3. Terminology Differences:** | Meta Horizon Worlds | Roblox Studio | Notes | |----------------------|---------------|-------------------------------------------------------------------------| | World | Place | Represents the primary environment or game level. | @@ -45,9 +38,8 @@ This document compares Meta Horizon Worlds and Roblox Studio, focusing on key fe | Console | Output | Window for displaying debugging information and script output. | | Asset Library | Creator Store | Online asset library for importing assets into a project. | -# **2. Scripting and Logic:** - -## **2.1. Scripting Languages:** +## **2. Scripting and Logic:** +### **2.1. Scripting Languages:** | Feature | Meta Horizon Worlds | Roblox Studio | Key Differences | |------------------|---------------------|---------------|------------------------------------------------------------------------------| @@ -56,18 +48,15 @@ This document compares Meta Horizon Worlds and Roblox Studio, focusing on key fe | Typing | Statically Typed | Dynamically Typed| TypeScript provides compile-time type checking, Luau does not. | **2.2. Script Execution Models:** - | Feature | Meta Horizon Worlds | Roblox Studio | Key Differences | |--------------------------|-----------------------------------|-----------------------------------|------------------------------------------------------------------------------| | Script Types | Default (Server), Local (Client) | Server, Client, Module | Meta Horizon Worlds simplifies to server/client, Roblox has explicit modules. | | Execution Context | Server or Client | Server, Client, Reusable Module | Roblox offers more granular control over script execution. | | Local Script Ownership | Manual assignment via code | Automatic | Roblox handles local script ownership automatically. | - -## **2.3. Language Comparison Example (Sum Function):** +### **2.3. Language Comparison Example (Sum Function):** **Luau (Roblox):** - ```lua -- Sum numbers up to "n" and returns the sum function sumUpTo(n) @@ -95,17 +84,15 @@ function sumUpTo(n: number): number { console.log(sumUpTo(5)); // Output: 15 (1 + 2 + 3 + 4 + 5) ``` -## **2.4. Script Type Comparison** - +### **2.4. Script Type Comparison** |Meta Horizon Worlds|Roblox| |---|---| |Script in Local Execution Mode|Client Script| |Script in default Server Execution Mode|Server Script| |Export functions/classes in any script|Module script| -# **3. Asset Pipeline and Interoperability:** - -## **3.1. Asset Import:** +## **3. Asset Pipeline and Interoperability:** +### **3.1. Asset Import:** | Asset Type | Meta Horizon Worlds File Formats | Roblox Studio File Formats (Exported) | |------------|-----------------------------------|--------------------------------------| @@ -116,9 +103,8 @@ console.log(sumUpTo(5)); // Output: 15 (1 + 2 + 3 + 4 + 5) | Texture | .png | .png | | Text | .json | N/A | -## **3.2. Roblox to Meta Horizon Worlds Conversion:** - -* **Direct Conversion:** Limited. Only .fbx assets can be directly imported. -* **Native Roblox Parts:** Require conversion to .fbx using tools like Blender. -* **Scripts:** Luau scripts are incompatible; require complete rewrites in TypeScript. -* **Exporting Roblox Assets:** Roblox exports models as .obj and materials as .mtl. +### **3.2. Roblox to Meta Horizon Worlds Conversion:** +- **Direct Conversion:** Limited. Only .fbx assets can be directly imported. +- **Native Roblox Parts:** Require conversion to .fbx using tools like Blender. +- **Scripts:** Luau scripts are incompatible; require complete rewrites in TypeScript. +- **Exporting Roblox Assets:** Roblox exports models as .obj and materials as .mtl. From 87841063034c202636d34d045388dd0a0e7e211b Mon Sep 17 00:00:00 2001 From: Tyler M-Wise <74430503+TylerMWise@users.noreply.github.com> Date: Sun, 9 Mar 2025 15:49:37 +0000 Subject: [PATCH 3/4] Update horizon-worlds.md V3 --- content/en-us/horizon-worlds.md | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/content/en-us/horizon-worlds.md b/content/en-us/horizon-worlds.md index ffd2619a1..852849158 100644 --- a/content/en-us/horizon-worlds.md +++ b/content/en-us/horizon-worlds.md @@ -9,8 +9,9 @@ import CodeSample from './includes/engine-comparisons/fishing-pole-code-sample.m # Roblox for Meta Horizon Worlds developers This page compares Meta Horizon Worlds and Roblox Studio, focusing on key features and differences relevant to content creators. -## **1. Core Creation Environment:** -### **1.1. Hierarchical Organization:** +## 1. Core Creation Environment: + +### 1.1. Hierarchical Organization: | Feature | Meta Horizon Worlds | Roblox Studio | Similarity | |------------------|--------------------------|--------------------------|--------------------------------------------------------------------------| @@ -18,12 +19,14 @@ This page compares Meta Horizon Worlds and Roblox Studio, focusing on key featur | Purpose | Managing 3D entities | Managing 3D parts and objects | Facilitates scene management and object organization. | ### **1.2. Asset Management:** + | Feature | Meta Horizon Worlds | Roblox Studio | Similarity | |------------------|--------------------------|--------------------------|-------------------------------------------------------------------------| | Asset Acquisition| Asset Store | Creator Store | Centralized library for acquiring reusable assets. | | Asset Management | Assets window | Inventory | Tools for managing and organizing imported and acquired assets. | -### **1.3. Terminology Differences:** +### 1.3. Terminology Differences: + | Meta Horizon Worlds | Roblox Studio | Notes | |----------------------|---------------|-------------------------------------------------------------------------| | World | Place | Represents the primary environment or game level. | @@ -38,8 +41,9 @@ This page compares Meta Horizon Worlds and Roblox Studio, focusing on key featur | Console | Output | Window for displaying debugging information and script output. | | Asset Library | Creator Store | Online asset library for importing assets into a project. | -## **2. Scripting and Logic:** -### **2.1. Scripting Languages:** +## 2. Scripting and Logic: + +### 2.1. Scripting Languages: | Feature | Meta Horizon Worlds | Roblox Studio | Key Differences | |------------------|---------------------|---------------|------------------------------------------------------------------------------| @@ -54,7 +58,7 @@ This page compares Meta Horizon Worlds and Roblox Studio, focusing on key featur | Execution Context | Server or Client | Server, Client, Reusable Module | Roblox offers more granular control over script execution. | | Local Script Ownership | Manual assignment via code | Automatic | Roblox handles local script ownership automatically. | -### **2.3. Language Comparison Example (Sum Function):** +### 2.3. Language Comparison Example (Sum Function): **Luau (Roblox):** ```lua @@ -84,15 +88,17 @@ function sumUpTo(n: number): number { console.log(sumUpTo(5)); // Output: 15 (1 + 2 + 3 + 4 + 5) ``` -### **2.4. Script Type Comparison** +### 2.4. Script Type Comparison + |Meta Horizon Worlds|Roblox| |---|---| |Script in Local Execution Mode|Client Script| |Script in default Server Execution Mode|Server Script| |Export functions/classes in any script|Module script| -## **3. Asset Pipeline and Interoperability:** -### **3.1. Asset Import:** +## 3. Asset Pipeline and Interoperability: + +### 3.1. Asset Import: | Asset Type | Meta Horizon Worlds File Formats | Roblox Studio File Formats (Exported) | |------------|-----------------------------------|--------------------------------------| @@ -103,8 +109,10 @@ console.log(sumUpTo(5)); // Output: 15 (1 + 2 + 3 + 4 + 5) | Texture | .png | .png | | Text | .json | N/A | -### **3.2. Roblox to Meta Horizon Worlds Conversion:** +### 3.2. Roblox to Meta Horizon Worlds Conversion: + - **Direct Conversion:** Limited. Only .fbx assets can be directly imported. - **Native Roblox Parts:** Require conversion to .fbx using tools like Blender. - **Scripts:** Luau scripts are incompatible; require complete rewrites in TypeScript. - **Exporting Roblox Assets:** Roblox exports models as .obj and materials as .mtl. +- From 753dbb89dee429fbbede7f33a8c96e7909648da1 Mon Sep 17 00:00:00 2001 From: Tyler M-Wise <74430503+TylerMWise@users.noreply.github.com> Date: Sun, 9 Mar 2025 15:53:50 +0000 Subject: [PATCH 4/4] Update horizon-worlds.md V4 --- content/en-us/horizon-worlds.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/content/en-us/horizon-worlds.md b/content/en-us/horizon-worlds.md index 852849158..dbe6a9c58 100644 --- a/content/en-us/horizon-worlds.md +++ b/content/en-us/horizon-worlds.md @@ -9,9 +9,9 @@ import CodeSample from './includes/engine-comparisons/fishing-pole-code-sample.m # Roblox for Meta Horizon Worlds developers This page compares Meta Horizon Worlds and Roblox Studio, focusing on key features and differences relevant to content creators. -## 1. Core Creation Environment: +## 1. Core Creation Environment -### 1.1. Hierarchical Organization: +### 1.1. Hierarchical Organization | Feature | Meta Horizon Worlds | Roblox Studio | Similarity | |------------------|--------------------------|--------------------------|--------------------------------------------------------------------------| @@ -25,7 +25,7 @@ This page compares Meta Horizon Worlds and Roblox Studio, focusing on key featur | Asset Acquisition| Asset Store | Creator Store | Centralized library for acquiring reusable assets. | | Asset Management | Assets window | Inventory | Tools for managing and organizing imported and acquired assets. | -### 1.3. Terminology Differences: +### 1.3. Terminology Differences | Meta Horizon Worlds | Roblox Studio | Notes | |----------------------|---------------|-------------------------------------------------------------------------| @@ -41,9 +41,9 @@ This page compares Meta Horizon Worlds and Roblox Studio, focusing on key featur | Console | Output | Window for displaying debugging information and script output. | | Asset Library | Creator Store | Online asset library for importing assets into a project. | -## 2. Scripting and Logic: +## 2. Scripting and Logic -### 2.1. Scripting Languages: +### 2.1. Scripting Languages | Feature | Meta Horizon Worlds | Roblox Studio | Key Differences | |------------------|---------------------|---------------|------------------------------------------------------------------------------| @@ -51,16 +51,16 @@ This page compares Meta Horizon Worlds and Roblox Studio, focusing on key featur | Syntax | JavaScript-like | Lua-based | TypeScript has a more structured, object-oriented syntax. | | Typing | Statically Typed | Dynamically Typed| TypeScript provides compile-time type checking, Luau does not. | -**2.2. Script Execution Models:** +**2.2. Script Execution Models** | Feature | Meta Horizon Worlds | Roblox Studio | Key Differences | |--------------------------|-----------------------------------|-----------------------------------|------------------------------------------------------------------------------| | Script Types | Default (Server), Local (Client) | Server, Client, Module | Meta Horizon Worlds simplifies to server/client, Roblox has explicit modules. | | Execution Context | Server or Client | Server, Client, Reusable Module | Roblox offers more granular control over script execution. | | Local Script Ownership | Manual assignment via code | Automatic | Roblox handles local script ownership automatically. | -### 2.3. Language Comparison Example (Sum Function): +### 2.3. Language Comparison Example (Sum Function) -**Luau (Roblox):** +**Luau (Roblox)** ```lua -- Sum numbers up to "n" and returns the sum function sumUpTo(n) @@ -74,7 +74,7 @@ end print(sumUpTo(5)) -- Output: 15 (1 + 2 + 3 + 4 + 5) ``` -**TypeScript (Meta Horizon Worlds):** +**TypeScript (Meta Horizon Worlds)** ```ts // Sum numbers up to "n" and returns the sum function sumUpTo(n: number): number { @@ -96,9 +96,9 @@ console.log(sumUpTo(5)); // Output: 15 (1 + 2 + 3 + 4 + 5) |Script in default Server Execution Mode|Server Script| |Export functions/classes in any script|Module script| -## 3. Asset Pipeline and Interoperability: +## 3. Asset Pipeline and Interoperability -### 3.1. Asset Import: +### 3.1. Asset Import | Asset Type | Meta Horizon Worlds File Formats | Roblox Studio File Formats (Exported) | |------------|-----------------------------------|--------------------------------------| @@ -109,7 +109,7 @@ console.log(sumUpTo(5)); // Output: 15 (1 + 2 + 3 + 4 + 5) | Texture | .png | .png | | Text | .json | N/A | -### 3.2. Roblox to Meta Horizon Worlds Conversion: +### 3.2. Roblox to Meta Horizon Worlds Conversion - **Direct Conversion:** Limited. Only .fbx assets can be directly imported. - **Native Roblox Parts:** Require conversion to .fbx using tools like Blender.