docs

Roblox

Lua is used for Roblox game development.

Installation

Install Rokit and Moonwave. Bun is needed for Moonwave.

bun add -g moonwave

Usage

Initialization

mkdir <name>
cd <name>
rokit init
rokit add rojo-rbx/rojo 
rokit add UpliftGames/wally
rokit add rojo-rbx/run-in-roblox
rokit add JohnnyMorganz/wally-package-types
rojo init 
wally init

Dependencies

Edit wally.toml

wally install

continued

rojo sourcemap default.project.json --output sourcemap.json
wally-package-types --sourcemap sourcemap.json Packages/ DevPackages/ ServerPackages/

Create

Edit

Run

Run in Roblox Studio.

Test

run-in-roblox --place <name>.rbxl --script scripts/run-tests.luau

Docs

moonwave dev # or
moonwave build --publish

Upgrading

rokit self-update