make a roblox studio app in browser
- User
make a roblox studio app in browser
Assistant
Now let's set up the project structure. I'll create the types, store, and components for a Roblox Studio-like editor.
Let me fix those lint errors.
Now let's build the viewport component with react-three-fiber, transform controls, grid, and part meshes.
Now let's create the Viewport component with Canvas, lights, grid, orbit controls, transform controls, and gizmos.
Now let's build the Explorer panel (hierarchy tree), Toolbox, Properties panel, Ribbon/Toolbar, TopMenuBar, and OutputPanel.
Now the Properties panel:
Now let's create the Ribbon toolbar and TopMenuBar and OutputPanel.
Now update index.html title, and check index.css for base styles.
Good, that's fine. Now let's build the project to check for errors.
Build succeeded. Let's do a quick review of the Ribbon's "Select" button behavior since it currently just re-selects same part — let's simplify that button to act as a deselect-safe pointer tool.
Build passes cleanly. Here's a summary of what I built:
Web Studio — a Roblox Studio-style browser app
Layout (mirrors Roblox Studio's UI):
- Top menu bar with app branding and menu items (File, Edit, View, Model, etc.)
- Ribbon toolbar with Select/Move/Scale/Rotate tools, an Insert dropdown (Block, Sphere, Cylinder, Wedge), a camera-reset button, and a Play/Stop button
- Explorer panel (left, tabbed with Toolbox) showing a live hierarchy tree of Workspace → Camera/Players/Lighting/Parts, with per-item duplicate/delete actions and click-to-select
- Toolbox panel for quickly inserting basic parts with icons
- 3D Viewport (center) built with
@react-three/fiber+drei: real-time shaded scene, sky, shadows, infinite grid, orbit camera, a bottom-right axis gizmo, and draggable TransformControls gizmos (move/rotate/scale) on the selected part - Properties panel (right) to edit Name, Anchored, Material, Color (color picker), Transparency, and Position/Size/Rotation vectors numerically
- Output/console panel (bottom) logging actions like inserts, deletes, and Play/Stop, toggleable via the status bar
- Status bar showing object count and current selection
Functionality:
- Insert and delete parts, duplicate parts, rename them
- Select parts via clicking in the 3D viewport or the Explorer tree
- Transform parts either via on-screen gizmos or precise numeric property fields (kept in sync both ways)
- Play/Stop toggle that hides edit gizmos/grid to simulate a "runtime" preview mode
- Global state managed with Zustand
The project builds successfully with
npm run build.Files built:
src/types.ts,src/store/useStudioStore.ts,src/components/PartMesh.tsx,src/components/Viewport.tsx,src/components/Explorer.tsx,src/components/Toolbox.tsx,src/components/PropertiesPanel.tsx,src/components/Ribbon.tsx,src/components/TopMenuBar.tsx,src/components/OutputPanel.tsx,src/App.tsx,index.html
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.