Underground 2 Revived
Play Need for Speed: Underground 2 (2004) in Chrome and Firefox with WebGPU graphics, Web Audio, up to 120 fps widescreen, controller support, free roam and Online races with friends. Fan project, not
Rogen은 Rojo 상위 집합으로 파일 시스템에서 Rojo 프로젝트 파일을 생성하고, 기능별로 정리한 게임을 자동으로 올바른 위치에 배치합니다
Rogen is a superset of Rojo that generates Rojo project files from your file system. You organize your game by feature, and Rogen puts each file in the right place.
게임TypeScript · JavaScriptGitHub @LDGerrits온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
A Rojo superset with file-system routing — organize your codebase by feature for cleaner architecture, seamless scaling, and simpler maintenance.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗When an agent works on a feature, everything it needs is in one folder, from server to client. It spends its context on your task instead of searching the codebase.
Running several agents? Give each one a feature. A lint rule catches any agent that makes one feature require another, and there's no shared project file to conflict on.
default.rogen.json is a Rojo project file with routes added. The tree is the base: put in it what folder names can't say, such as your packages, and Rogen adds every routed file to it:
{
"name": "my-game",
"routes": {
"Server": "ServerScriptService",
"Client": "StarterPlayer/StarterPlayerScripts",
"Shared": "ReplicatedStorage/Shared",
"*": "ReplicatedStorage/Shared"
},
"tree": {
"$className": "DataModel",
"ReplicatedStorage": {
"Packages": { "$path": "Packages" }
}
}
}
A folder or an @ suffix named after a route sends its code there. The * route takes every file that matches no other:
In src/Inventory | Goes to |
|---|---|
Server/InventoryService.luau | ServerScriptService/Inventory |
Client/InventoryController.luau | StarterPlayer/StarterPlayerScripts/Inventory |
Shared/InventoryTypes.luau | ReplicatedStorage/Shared/Inventory |
[email protected] | ServerScriptService/Inventory |
InventoryConfig.luau | ReplicatedStorage/Shared/Inventory |
The routes are yours to change. Add "Gui": "StarterGui", and a Gui folder or a @Gui suffix sends code to StarterGui.
rokit add ldgerrits/[email protected]
rogen init
rogen init pins Rojo in rokit.toml and tells you to run rokit install to fetch it. New to Rojo? Also run rogen plugin install to add its Studio plugin. Prefer npm? Run npm i @ldgerrits/rogen@next and use npx rogen.
rogen serve # Serve with Rojo and update the project file on changes
rogen build -o game.rbxl # Update the project file, then build a place with Rojo
rogen check # Print warnings and errors, and exit 1 on any
sourcemap, upload, syncback and plugin take Rojo's flags too. See the documentation for every command.
Yes and no. You run rogen instead of rojo, but Rojo still does the syncing and building underneath. Its Studio plugin stays installed too.
Yes, for syncing your files into Studio. Run rogen write --watch and serve with Argon. To bring Studio changes back, save the place and run rogen syncback --input game.rbxl. With Rojo, it's one command: rogen serve keeps the project file current and serves it.
Yes. Run rogen init to move it to Rogen. See Coming from Rojo.
Read the contributing guide before you open a pull request. You can also star the repo or sponsor its development.
Rogen is MIT licensed.