Skip to content

Commit

Permalink
docs: add more section to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasjay committed Nov 9, 2024
1 parent 1470a0c commit 90f9042
Show file tree
Hide file tree
Showing 8 changed files with 76 additions and 13 deletions.
64 changes: 64 additions & 0 deletions docs/architecture.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
sidebar_position: 2
---

# Architecture Overview

The current repository holds all the assets and code that the game requires to
run. Also an automated build process takes care of the intact state and creates
the latest `.rbxm` export file that could be imported directly into Roblox Studio.

## Project Structure

Since Rojo is a filesystem based tool, the structure of the codebase and related
assets are quite important. There were many iterations already to refine and get
the optimal results. According to the current state, the root level directories
and their roles are the following:

- `build`

This directory holds the script to build the project files into a single instance
_(explained below)_ and the latest build output, the `latest.rbxm` file

- `project`

The actual Rojo configuration is the result of merging all `.project.json`
files in the `project` directory. The project files are split into multiple
scopes like `Meta`, `Scripts`, `Storage`, `Tools` and so on. The reason is
separation of concerns and to make configuration objects not too overwhelming.

:::info
You can read more about how to use the configuration files on the [official Rojo documentation](https://rojo.space/docs/v7/project-format).
However, this document tries to cover the most used features.
:::

- `src`

All the source code and exported models. The code written in `luau` and all
scripts are inside the `Scripts` directory while exported `.rbxm` files are
found inside `Models` for clarity.

:::note
The above list of root directories does not cover the additional files and directories
for managing source control workflows, global scripts or sourcemaps.
:::

## Runtime Variants

### Client

### Server

## Scripts In Roblox

### Server Storage

### Replicated Storage

### Starter Pack

### Server Scripts

### Player Scripts

### Character Scripts
5 changes: 5 additions & 0 deletions docs/conventions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 3
---

# Code Conventions
5 changes: 5 additions & 0 deletions docs/environment-items.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 4
---

# Environment Items
1 change: 0 additions & 1 deletion docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ Rojo is the core tool for this sandbox, enabling synchronization between the loc
codebase and a running Roblox Studio instance. Rojo manages all elements, including
models, scripts, and assets like meshes and images.


After checking out the code from source control, open a terminal and run the
`make serve` command. This will build the main project file (`default.project.json`)
and start the server, which can then be connected to the Rojo plugin in Roblox Studio.
Expand Down
5 changes: 0 additions & 5 deletions docs/items.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/play_area.md

This file was deleted.

File renamed without changes.
4 changes: 2 additions & 2 deletions docs/tools.md → docs/tools-and-equipment.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
sidebar_position: 3
sidebar_position: 4
---

# Player Tools & Equipment
# Tools & Equipment

Tools are items that can appear in a player's inventory and be equipped to perform
specific tasks. For example, an "Axe" tool might be placed in the [StarterPack](https://create.roblox.com/docs/reference/engine/classes/StarterPack) so
Expand Down

0 comments on commit 90f9042

Please sign in to comment.