Softwr

Game Development · head to head

Heaps vs WebXR Device API

Heaps logo

Heaps

Game Development

Free open-source Haxe graphics and game engine for 2D and 3D games

From
Free
Free plan
Yes
WebXR Device API logo

WebXR Device API

AR VR

W3C standard for VR and AR on the web

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Heaps lists 2D and 3D rendering; only WebXR Device API lists VR sessions.
  • Where Heaps falls short: requires Haxe, which has a small developer base.
  • Where WebXR Device API falls short: safari on iOS does not support WebXR natively, limiting reach for iPhone and iPad users.

How do Heaps and WebXR Device API differ?

Heaps and WebXR Device API differ on pricing model (Open-source against Free), platforms and category (Game Development against AR VR). Only the attributes on which Heaps and WebXR Device API actually diverge.

Attributes where Heaps and WebXR Device API differ
AttributeHeapsWebXR Device API
Pricing modelOpen-sourceFree
PlatformsWebWeb, Browser extension
CategoryGame DevelopmentAR VR

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Heaps.

Which features does each one have?

They share no listed features; 7 appear only for Heaps and 12 only for WebXR Device API. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Heaps

  • 2D and 3D rendering
  • h2d, h3d, hxd and hxsl toolkits
  • Cross-platform GPU shader system
  • FBX, PNG, JPG and OGG support
  • Controller, mouse and keyboard input
  • Fast compile and run cycle
  • Native cross-platform compilation

Only in WebXR Device API

  • VR sessions
  • AR sessions
  • Input handling
  • Reference spaces
  • Chrome
  • Firefox
  • Edge
  • Quest Browser

What is each one used for?

Heaps is most often brought in for high performance 2D games; WebXR Device API for VR Gaming. The jobs each tool is most often brought in to do.

Heaps

  • High performance 2D gamesnot WebXR Device API
  • 3D indie gamesnot WebXR Device API
  • Cross-platform releases from one codebasenot WebXR Device API
  • Custom tools built with Haxenot WebXR Device API
  • Shader heavy projectsnot WebXR Device API

WebXR Device API

  • VR Gamingnot Heaps
  • AR Marketingnot Heaps
  • Virtual Trainingnot Heaps
  • 3D Visualizationnot Heaps
  • Immersive Experiencesnot Heaps

Where do Heaps and WebXR Device API fall short?

Heaps's most cited limit: requires Haxe, which has a small developer base. WebXR Device API's: safari on iOS does not support WebXR natively, limiting reach for iPhone and iPad users. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Heaps

  • Requires Haxe, which has a small developer base
  • No integrated visual editor, so tooling is code or third party
  • Fewer learning courses than mainstream engines
  • Needs Haxe 3.4 or newer installed before Heaps can be added

WebXR Device API

  • Safari on iOS does not support WebXR natively, limiting reach for iPhone and iPad users
  • Requires compatible VR/AR hardware which limits adoption to users with VR headsets or AR-capable mobile devices
  • Browser support still emerging with some features being experimental or not widely implemented across all browsers

How much do Heaps and WebXR Device API cost?

Heaps is free to use; WebXR Device API is free to use. Plan by plan below, from each vendor's own pricing page.

Heaps

Free

No published plan breakdown. See the Heaps review.

WebXR Device API

Free
  • FreeFree
    • Open standard
    • Browser support
    • Specification

Which should you pick?

Choose Heaps if

  • You need 2d and 3d rendering.
  • You want to start without paying.
  • You also want h2d, h3d, hxd and hxsl toolkits.

Choose WebXR Device API if

  • You need vr sessions.
  • You want to start without paying.
  • You work on Web, Browser extension.
  • You also want ar sessions.

Questions people ask

Is Heaps or WebXR Device API better?
It depends on the job. Heaps fits high performance 2D games; WebXR Device API fits vR Gaming. Heaps starts at Free and WebXR Device API at Free.
Which is cheaper, Heaps or WebXR Device API?
Heaps starts at Free and WebXR Device API at Free.
Does Heaps or WebXR Device API run on more platforms?
Heaps runs on Web. WebXR Device API runs on Web, Browser extension.
Can I use Heaps for free?
Both have a free tier, so you can try either at no cost before committing.
What is Heaps best used for?
Heaps is most often used for high performance 2d games, 3d indie games, cross-platform releases from one codebase, custom tools built with haxe. Of those, high performance 2d games and 3d indie games are not what WebXR Device API is typically brought in for.
What can Heaps do that WebXR Device API cannot?
Heaps covers 2D and 3D rendering, h2d, h3d, hxd and hxsl toolkits, Cross-platform GPU shader system, FBX, PNG, JPG and OGG support. WebXR Device API covers VR sessions, AR sessions, Input handling, Reference spaces.

Answered from the vendors’ own pages

Heaps: Does Heaps charge a revenue share?

No. The site says it is free with no revenue share and no hidden fee.

Source
WebXR Device API: What is WebXR Device API?

WebXR Device API is a W3C web standard that enables developers to build immersive virtual reality (VR), augmented reality (AR), and mixed reality experiences directly within web browsers without requiring native app installation.

Source
Heaps: Does it do 3D?

Yes, Heaps supports both 2D and 3D, with an h3d toolkit for 3D models.

Source
WebXR Device API: Which browsers support WebXR?

WebXR is supported in Chrome (desktop and mobile), Microsoft Edge (desktop), Firefox (desktop and mobile), and Safari on mobile. Safari on iOS does not implement WebXR natively but third-party apps like 8th Wall provide workarounds.

Source
Heaps: How do I install it?

Install Haxe 3.4 or newer and run haxelib install heaps.

Source
WebXR Device API: Is WebXR hardware-dependent?

Yes, WebXR requires compatible VR/AR hardware such as Meta Quest headsets, HTC Vive, Microsoft HoloLens, or mobile AR-capable devices, but the same code can run on different hardware through the unified API.

Source
Share

Related pages

Other head to heads