Heaps Haxe graphics and game framework for 2D and 3D projects.
Overview Heaps is an open-source Haxe framework for rendering 2D and 3D games. Its APIs separate 2D display, 3D rendering, shared resources and shaders, and its documented build routes include JavaScript for the browser and HashLink for native applications. It suits developers who want to assemble their own game architecture and content pipeline around these components.[1] [2] [3]
Contents Programming model Heaps divides its functionality between h2d for 2D content, h3d for 3D rendering, hxd for shared services and resources, and hxsl for shaders. A basic application supplies a Haxe entry point and an HXML build configuration identifying source paths, libraries and output. The introductory browser project compiles to JavaScript and places its rendered output in a web page, rather than treating a visual editor project as the only starting point.[1] [2]
Native build routes The HashLink documentation describes both virtual-machine execution and a route that generates C for a subsequent native compilation step. SDL and DirectX backends are selected through the relevant libraries. This provides choices for deployment architecture, but also makes runtime libraries, compiler configuration and packaging part of the application's maintenance. A successful build on one configuration is not evidence that all supported targets behave identically.[3]
Resources and iteration Typed resource access and resource loading are separate responsibilities: applications initialize a loader before fetching assets. Available storage approaches include embedding assets, reading a local resource directory and loading PAK archives. The local filesystem route is not available inside the browser. Live resource updates are documented for local files, with built-in support for images and sounds; other update behavior can use callbacks. This makes packaging and iteration choices relevant when moving a desktop prototype to the web.[4]
Optional editor workflow Hide is a separate, extensible editor in the Heaps ecosystem. It can preview models, edit material properties, assemble 3D levels, work with particles and timeline effects, and expose custom game-specific prefabs or editors. Its documented source setup includes additional libraries and NW.js. A team can therefore adopt visual content tools without assuming that downloading the rendering framework alone supplies a fully configured production editor.[5]
Platform scope The documentation lists desktop OpenGL targets, Windows DirectX, WebGL browsers and mobile platforms. It also identifies console access as requiring registered-developer status. These are documented platform categories, not a promise that every backend, service integration or deployment step is interchangeable. In particular, the public source license should not be read as automatic access to proprietary console SDKs or approval to publish on a platform.[1]
Licensing Heaps uses the MIT license, which allows commercial use and modification subject to retaining its copyright and permission notice. The framework's license does not replace the terms for runtime dependencies, the separate editor, third-party integrations or game content. Licensing the core and preparing a distributable application are consequently related but distinct tasks.[3] [5] [6]
Substitution considerations For a team willing to build a Haxe-centered pipeline, Heaps can substitute for portions of Godot used to create 2D and 3D games. Godot combines scene-based authoring with an integrated editor; Heaps exposes a framework and optional companion tools. The assessment concerns the resulting development task, not file compatibility. Existing scenes, gameplay scripts and editor extensions would require a deliberate port, and no automatic conversion or feature-for-feature equivalence has been established.[2] [5] [7]
Also included: 4 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.