software · Q1051
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]
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]
Capabilities & limitations
2D and 3D rendering
supportedSeparate h2d and h3d packages provide 2D display and 3D rendering; hxsl supplies the shader system.[1]
Developing custom Haxe-based 2D and 3D games · Windows, macOS, Linux, Web, Android, iOS · Version, build and integration requirements apply
1 source · check evidence
API packages and platform requirements
vendor · checked 2026-10-07Resource packaging
supportedEmbedded resources, local files and PAK archives are documented loading options.[4]
Developing custom Haxe-based 2D and 3D games · Windows, macOS, Linux, Web, Android, iOS · Version, build and integration requirements apply
1 source · check evidence
Typed access, loaders, file systems and live update restrictions
vendor · checked 2026-10-07Live resource updates
limitedThe documented live-update path requires LocalFileSystem; built-in live updating covers image and sound resources, with callbacks for custom behavior.[4]
Developing custom Haxe-based 2D and 3D games · Windows, macOS, Linux, Web, Android, iOS · Version, build and integration requirements apply
1 source · check evidence
Typed access, loaders, file systems and live update restrictions
vendor · checked 2026-10-07Visual content editing
limitedThe separate Hide editor can edit levels, materials, effects and project-specific prefabs; its setup is distinct from the core framework.[5]
Developing custom Haxe-based 2D and 3D games · Windows, macOS, Linux, Web, Android, iOS · Version, build and integration requirements apply
1 source · check evidence
Editor tools, dependencies and custom extensions
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
Godot for Developing custom Haxe-based 2D and 3D games
limitedAssessment: an alternative for developers building 2D or 3D games who accept a Haxe-based architecture and separately assembled tools. Hide offers content editing, but no direct Godot scene/script conversion or complete export-workflow parity is established.[1][2][5][7]
Windows, macOS, Linux, Web, Android, iOS · Version, build and integration requirements apply
References
- Heaps documentation overview
API packages and platform requirements
vendor · retrieved 2026-10-07 - Heaps Hello World
HXML configuration, Haxe entry point and JavaScript build
vendor · retrieved 2026-10-07 - Heaps HashLink target
JIT and C compilation; SDL and DirectX backends
vendor · retrieved 2026-10-07 - Heaps resource management
Typed access, loaders, file systems and live update restrictions
vendor · retrieved 2026-10-07 - Hide editor README
Editor tools, dependencies and custom extensions
vendor · retrieved 2026-10-07 - Heaps license
MIT license
vendor · retrieved 2026-10-07 - Godot features
Integrated editor, scenes and 2D/3D tooling
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 1099 | 2026-10-13 20:08:41 | /* wbeditentity-create-item:0| */ sf:52024e54-886b-48f1-9bc5-149fc23444ac:v1 | Adds Heaps with its Haxe/HashLink workflow, optional Hide editor, resource packaging and narrowly scoped Godot substitution. Platform listings are distinguished | attribution: /proposals/52024e54-886b-48f1-9bc5-149fc23444ac |