Packs
47 packs
Packs ship inside risejs-core and are only bundled when you import them. Most packs provide a plugin you enable with app.use(plugin, options); the rest are classes and functions you use directly.
| Pack | KB | Exports | Main API |
|---|---|---|---|
| a11y | 3.4 | 6 | A11Y_DEFAULTS, COLORBLIND, SVG_FILTERS, a11yCss, a11yPlugin |
| assets | 8.8 | 6 | ByteCache, assetsPlugin, classify, normalizeList, progressOf |
| atlas | 3.5 | 3 | composePages, packAtlas, validatePages |
| audio3d | 4 | 1 | audio3dPlugin |
| bakes | 4.9 | 2 | BakeQueue, bakesPlugin |
| bench | 5.8 | 6 | benchPlugin, buildReport, exportJson, formatReport, percentile |
| camera2d | 2 | 1 | Camera2D |
| chat | 6.5 | 7 | DEFAULT_BLOCKED, IgnoreList, RateLimiter, SpamGuard, chatPlugin |
| combat | 7.2 | 5 | Health, combatPlugin, hostile, inMeleeArc, pickTarget |
| console | 6.6 | 1 | consolePlugin |
| contracts | 4.4 | 13 | DIAGNOSTIC_CODE, diagnostic, fail, fnv1a, formatDiagnostic |
| debug | 4.5 | 1 | debugPlugin |
| dialogue | 3.4 | 2 | createDialogue, dialoguePlugin |
| editor | 7.3 | 1 | editorPlugin |
| editor2d | 4.2 | 1 | editor2dPlugin |
| fmv | 13 | 11 | BranchGraph, QTE, Timeline, VideoLayer, activeCue |
| gltf | 15.3 | 28 | ASSET_FRAME, ASSET_VERSION, COLLIDER_KINDS, anchorsOf, applyManifestColliders |
| grid | 3.5 | 2 | GridMover, gridPlugin |
| inventory | 8.4 | 3 | InteractionSystem, Inventory, inventoryPlugin |
| lobby | 3.1 | 3 | formatRooms, lobbyPlugin, pickRoom |
| loot | 5 | 5 | CRATE_LOOT, LootTable, RARITY, lootPlugin, rarityOf |
| menu | 12.2 | 3 | ACTIONS, LABELS, createMenu |
| music | 6.5 | 6 | MOODS, chordFreqs, crossfade, duckGain, moodOf |
| nameplate | 2.8 | 2 | nameplatePlugin, projectToScreen |
| navmesh | 3.7 | 1 | NavGrid |
| net | 12.4 | 2 | NetClient, netPlugin |
| npc | 5.8 | 3 | Npc, NpcAgent, npcPlugin |
| persistence | 3.1 | 2 | RemoteSave, persistencePlugin |
| physics | 7.2 | 6 | Body, GRAVITY, Heightfield, Obb, Vehicle |
| prefabs | 6.8 | 10 | LodGroup, PrefabRegistry, buildInstanced, classifyTransform, composeAnchor |
| procgen | 3.2 | 5 | autotileMask, generateRooms, makeNoise, makeRng, scatter |
| quest | 3.1 | 2 | QuestLog, questPlugin |
| replay | 4.6 | 5 | Playback, Recorder, packInput, replayPlugin, unpackInput |
| sideview | 9.2 | 2 | SideController, sidePlugin |
| sprite2d | 9.5 | 9 | SortedSprites, SpriteAnimator, SpriteBatch, atlasUV, clipTimeline |
| stats | 4.4 | 5 | Progression, Stats, StatusEffects, statsPlugin, xpForLevel |
| surface | 5.1 | 7 | WEAR_FRAGMENT_BODY, WEAR_FRAGMENT_HEADER, WEAR_VERTEX_BODY, WEAR_VERTEX_HEADER, applySurfaceWear |
| telemetry | 3.5 | 4 | TelemetryBuffer, makeEvent, summarize, telemetryPlugin |
| terrain | 6 | 8 | Terrain, chunkRanges, chunkStats, decodeHeightmap, encodeHeightmap |
| tilemap | 4.3 | 3 | Tilemap, autotileMask, autotileVariant |
| touch | 4 | 1 | touchPlugin |
| triggers | 1.1 | 1 | Triggers |
| tween | 3.8 | 4 | EASING, Tweens, lerp, tweenPlugin |
| vfx | 12.2 | 9 | FloatText, HitFlash, Particles, Pool, burst |
| vn | 8.6 | 5 | EXPRESSIONS, Typewriter, normalizeNode, paginate, vnPlugin |
| weather | 6.7 | 4 | PRESETS, blendWeather, dayCycle, weatherPlugin |
| xr | 5 | 4 | detectSupport, featuresFor, pickMode, xrPlugin |