Skip to content

Commit 849b0bb

Browse files
authored
Autosave (#5)
* Remove build GHA workflow * Autosave by Claude * Remove spongebob, sorry * Handle texture loading * Merge GuiScene and GuiShared types
1 parent 492a81f commit 849b0bb

25 files changed

Lines changed: 240 additions & 2639 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

AGENTS.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# GX Studio - Agents Guide
2+
3+
## Commands
4+
5+
- `pnpm run typecheck` - TypeScript type checking
6+
- `pnpm start` - Start dev server (builds Rust first)
7+
- `pnpm run build` - Production build (builds Rust + rsbuild)
8+
- `pnpm run build:rust` - Build Rust WASM modules
9+
- `pnpm run build:rust-dev` - Build Rust WASM modules in dev mode
10+
11+
## Architecture
12+
13+
- **Main engine**: Based on noclip.website - 3D game viewer/material editor
14+
- **Frontend**: TypeScript/WebGL2/WebGPU with ImGui UI
15+
- **Build system**: rsbuild (Rspack-based) with TypeScript
16+
- **Rust integration**: WASM modules for performance-critical operations
17+
- **Game support**: 90+ game engines (Nintendo, PlayStation, Xbox, PC)
18+
- **Project structure**: `/src/{GameName}/` for each supported game
19+
20+
## Code Style
21+
22+
- **Imports**: Use `.js` extensions, relative paths like `./ModuleName.js`
23+
- **Classes**: PascalCase, use `export class ClassName` pattern
24+
- **Types**: Strict TypeScript - enable all strict flags in tsconfig
25+
- **Error handling**: Use `assert()` and `assertExists()` from `util.ts`
26+
- **File naming**: PascalCase for classes, camelCase for utilities
27+
- **No comments**: Don't add explanatory comments unless complex/requested
28+
- **WebGL/Graphics**: Use GfxDevice abstraction, not direct WebGL calls

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"build:BanjoKazooie": "cd src/BanjoKazooie/tools && tsx extractor.ts",
4848
"build:TheWitness": "cd src/TheWitness/tools && tsx extractor.ts",
4949
"test:DeBlob2": "cd src/DeBlob2/tools && tsx systest.ts",
50-
"typecheck": "tsc -w --noEmit",
50+
"typecheck": "tsc --noEmit",
5151
"watch:rust": "pnpm run build:rust-dev && onchange rust/src/**/*.rs rust/noclip-macros/src/**/*.rs -- pnpm run build:rust-dev"
5252
},
5353
"bin": {

src/DefaultSaveStates.json

Lines changed: 0 additions & 135 deletions
Large diffs are not rendered by default.

src/SpongebobRevengeOfTheFlyingDutchman/archive.ts

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)