Genshin-TS

Use Typescript to develop Genshin UGC - Miliastra Wonderland

Logo
TS

TypeScript -> NodeGraph

Write logic in TypeScript, generate control-flow wiring (break/continue/return), compile to graphs, and inject into maps; supports function reuse.

AI

AI-friendly Type System

Bilingual aliases, rich annotations, entity subtypes and parameter validation, plus ESLint constraints.

API

JS/Unity API and npm

Supports JS-native and Unity-style APIs, npm ecosystem, and globals like self/stage/player(1).character.

Timer

JS-style Timers

setTimeout/setInterval with automatic closure capture, on-demand name pools, and dispatch aggregation.

IR

Readable Intermediates

.gs.ts/.json/.gia traceability, plus IR JSON as a portable format for tooling.

ID

Resource and Enum IDs

Built-in prefab/resource IDs and enum IDs for quick referencing.

CLI

CLI Tooling

build/dev/inject/maps/backup with parallel and incremental compile, safety checks, and auto backups.

Opt

Compile Optimizations

Constant precompute, dead node removal, local variable reuse.