Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

875 B
Raw Blame
  • entry:game+lazy: the game entry now loads the animation graph, pose and path follower on demand, only for a recipe that declares an animation or an NPC. Of the +12.3 KB gzip, about 3.2 KB is the new recipe adapter (src/game-animation.js) and the rest is the existing graph, pose and clip runtime that the game entry did not carry before; it cannot shrink without dropping the feature, and the game entry itself grows only +0.5 KB because the runtime sits in a lazy chunk (first attempt: static import, +19.8 KB in the entry)
  • scene:agent-scene+lazy: the recipe validator builds the graph and pose once to refuse a bad animation with the field named (+8.8 KB gzip in the on-demand game module)
  • goal:agent-scene: the core scene bundle grows by 49 bytes gzip and is already over its goal, so the goal line is needed; the animation code itself loads only with a game recipe