FROSTENGINE v0.1.0 · SUBSYSTEM BREAKDOWN

Six subsystems.
Built as one native engine.

No third-party networking shims or half-wired RPG kits. Every layer of FrostEngine — rendering, physics, authoritative netcode, multi-zone services, data-driven RPG systems, and FrostEditor — is built together in C++20.

01 / 2D RENDERING, PHYSICS & CROWDS

Vulkan 1.3 through NVRHI.
Tuned for dense 2D worlds.

Raw Vulkan 1.3 (dynamic rendering, synchronization2, timeline semaphores) isolated behind NVRHI, driven by a decoupled RenderThread and persistent spatial index.

PIPELINE

Bindless & 64-Bit Sort-Key Batching

Up to 16,384 bindless textures, instanced sprite batching, persistent SceneRenderIndex tested past 100k sprites, optional Hi-Z occlusion culling, and BC7/BC5/BC4 block compression.

NVRHIGLSL 4.60SPIR-V Cache
LIGHTING & FX

2D Lights, Shadows & GPU Particles

Dynamic Light2D + ShadowCaster2D, FogOfWar, SpriteMask, multi-camera .frt render textures, .fpost post-processing, 6 blend modes, and GpuParticleSystems.

Light2DFogOfWarGPU Particles
TILEMAPS, CROWDS & UI

World Scale & 8-Layer Characters

Sparse 32×32 chunked tilemaps with Wang auto-tiling & multi-level elevation, 8-layer CharacterAppearance with Near/Mid/Far crowd LOD, 2-draw instanced nameplates, Box2D v3 physics, miniaudio spatial sound, MTSDF text, and retained 2D UI + built-in RPG HUD kit.

Wang Auto-TileBox2D v3MTSDF
02 / AUTHORITATIVE NETWORKING

Built for hundreds of players
in the same view.

Encrypted UDP on Valve GameNetworkingSockets across 3 transport lanes, combining server authority with crisp client feel.

AUTHORITY & TRANSPORT

Server-Authoritative Modes

Run dedicated servers (--server), listen hosts (--host), clients (--connect), or offline sessions. Signed connect tokens or Ed25519 gateway session tokens, per-address throttling, and ValidateOwnerStates movement checks.

Encrypted UDP3 LanesEd25519 Tokens
MMO WIRE EFFICIENCY

Interest Management & Delta Compression

NetworkRelevancy filters by range classes with hysteresis, team, channel, phase, and script hooks. Quantized delta snapshots (~18 bits/walking character), AIMD adaptive byte budgets (~6.1 KB/s/player), priority accumulation, and trainable zstd dictionaries.

~6.1 KB/s18 bits/charzstd Dicts
CLIENT FEEL & RPG LANE

Prediction, Lag Comp & RPG Lane

Entity interpolation (~100 ms), deterministic CharacterMovement prediction & reconciliation, server-side lag compensation (Net.RewindRaycast), dedicated 6-message RPG lane, and deterministic multi-peer CLI play-tests.

RewindRaycastRPG Lane.peers.json
03 / MULTI-ZONE REALMS & PERSISTENCE

Clustered services.
Crash-safe economies.

FrostServices separates Gateway, Login, Coordinator, Persistence, Social, and per-machine Orchestrators over Cap'n Proto 1.5 + libsodium.

REALM TOPOLOGY

Seamless Borders & Instance Pools

Int64 cell-streamed worlds (.fworld/.fworldpack) paired with declarative .ftopology zones, dynamic layers, warm dungeon instance pools, and cross-border BorderGhost mirroring for handoffs without loading screens.

.ftopologyBorderGhostWarm Pools
TWO-TIER STORAGE

LMDB + SQLite / PostgreSQL

Sub-millisecond zone-local LMDB commits with atomic Persistence.Transact and tamper-evident hash-chained economy logs, writing behind to central SQLite (dev) or native-wire PostgreSQL (prod) with character leases and Lua migrations.

LMDBPostgreSQLHash Chain
ACCOUNTS & SOCIAL

MMO Infrastructure Included

Argon2id accounts, TOTP 2FA hook, realm login queues, public or invite-only realms, RBAC roles, cross-server chat & moderation, friends/presence, parties/raids with placement affinity, guilds & guild banks, mail, auction house, and leaderboards.

libsodiumGuilds & MailAuction House
04 / DATA-DRIVEN RPG, AI & NAVIGATION

Author rules in typed tables.
Simulate thousands of NPCs.

Server-authoritative RPG gameplay systems cooked to memory-mapped .fdatapack tables with CSV/TSV round-tripping and live hot reload.

COMBAT & PROGRESSION

Stats, Abilities & PvP Rules

Derived stat formulas, status effects & auras, abilities with combat/threat/projectiles, factions, PvP volumes, custom Rpg.SetHarmRule hooks, XP curves, skills, crafting, gathering, and reputation.

.fschema.fdatapackSetHarmRule
ITEMS, QUESTS & DIALOGUE

Economy & Narrative Graphs

Items, bags, equipment slots, banks, currencies, personal loot tables, vendors, player trade, phased .fquest graphs, and branching .fdialogue trees authored directly in FrostEditor.

.fquest.fdialogueLoot Tables
NPC AI & NAVIGATION

Parallel Behaviour Trees & Nav Packs

Compiled .fbtree behaviour trees + embedded state machines running in parallel job-worker batches with deterministic per-NPC RNG, live node debugging, spawners, leashing, and baked hierarchical tile/portal .fnavpack async pathing.

.fbtree.fnavpackLive Debugger
05 / FROSTEDITOR WORKSPACE

30+ integrated panels.
Built for live worlds.

Dear ImGui docking workspace built directly atop the FrostEngine C++20 static libraries — from pixel-level sprite slicing to live realm telemetry.

WORLD & SCENE

Scene, Tile & World Map Tools

GPU-picked Scene & Game viewports with gizmos and Box2D collider handles, virtualized 10k-entity Hierarchy, reflection Inspector, Content Browser, Sprite/Animation/Tileset/Tile Painter, Material & Particle editors, World Map with background thumbnail server, Procedural Scatter, and Volumes.

RPG DESIGN TOOLS

Graphs, Timelines & Simulators

Data Table editor, Loot Simulator, Behaviour Tree Editor + Live Debugger, Ability Timeline Editor, Quest & Dialogue Node Graphs, RPG Inspector, Navigation baker, and Content Validation rules (D/W/T/B/R/X/E codes).

OPS & PROFILING

Realm Ops, Profiling & Exports

Network, Realm, Topology, Persistence, LiveContent, and LoadTest panels; live Realm Dashboard and GM Admin Console with hash-chained audit logs; Audio Mixer, Tick Profiler, Build/Server Export, and searchable Scripting API & Automation panels.

06 / LUA 5.4 & PROGRAMMATIC AUTOMATION

79 Lua namespaces.
499 validated commands.

Every editor action and export pipeline is scriptable via CLI or JSON-RPC 2.0, paired with sandboxed Lua 5.4 gameplay scripting and live hot reload.

SANDBOXED LUA 5.4 (SOL2)

Typed Properties & Hot Reload

Expose enums, arrays, 13 asset types, Replicated, and Persistent fields straight into the Inspector. Coroutines, timers, state-preserving hot reload, and auto-generated .frost/lua-api/frost.lua & .luarc.json for FrostIDE and LuaLS.

79 NamespacesHot ReloadLuaLS Ready
499 CLI / JSON-RPC COMMANDS

Humans, CI & AI Agents Share One Surface

53 command categories across headless CLI (FrostEditor <cmd>), local JSON-RPC 2.0 (FrostEditor serve), deterministic play-tests with offscreen screenshots, signed live content packs with rollback, and build.export-server.

499 Commands53 CategoriesJSON-RPC 2.0