Softwr

Software · head to head

Defold vs libGDX

Defold logo

Defold

Software

The game engine for the creators of King

From
Free
Rated
-
libGDX logo

libGDX

Software

Java-based game development framework

From
Free
Rated
-

The short version

  • Each has a real cost: Defold the Defold License requires you to include the Defold license and copyright notice in any work you create with the engine; libGDX libGDX is a Java framework built on OpenGL ES, so projects are tied to the JVM toolchain
  • They diverge on capability: Defold covers Lua scripting, libGDX covers Java language support.

Where they differ

Only the attributes on which Defold and libGDX actually diverge.

Attributes where Defold and libGDX differ
AttributeDefoldlibGDX
Founded20052010

Identical on both: starting price (Free), pricing model (free), free tier (Yes), platforms (Windows, Macos, Linux, Ios, Android, Web), user rating (Not yet rated), category (Unknown).

What each one covers

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 Defold

  • Lua scripting
  • Physics engine
  • Sprite system
  • Sound management
  • Collection editor
  • Mobile optimization
  • Lightweight
  • Visual Studio Code

Only in libGDX

  • Java language support
  • Graphics rendering
  • Audio engine
  • Input handling
  • Physics integration (Box2D)
  • Animation system
  • 2D and 3D rendering
  • Java

Both cover

  • Particle effects
  • Local deployment
  • Mobile deployment
  • Web deployment
  • Windows support
  • Macos support
  • Linux support
  • Ios support

What people use each for

The jobs each tool is most often brought in to do.

Defold

  • Building 2D games for mobile, desktop, web and console from a single projectnot libGDX
  • Shipping small-footprint HTML5 gamesnot libGDX
  • Teams wanting a free engine with no revenue share on gamesnot libGDX

libGDX

  • Writing 2D or 3D games in Java from a single codebasenot Defold
  • Publishing a Java game to desktop, Android, iOS and HTML5not Defold
  • Rapid prototyping where an opinionated engine workflow is unwantednot Defold

Where each one falls short

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Defold

  • The Defold License requires you to include the Defold license and copyright notice in any work you create with the engine
  • The licence forbids commercialising original or modified versions of the Defold editor or engine itself
  • Significant changes made to the Defold source must be documented under the licence terms

libGDX

  • libGDX is a Java framework built on OpenGL ES, so projects are tied to the JVM toolchain
  • Publishing targets are limited to Windows, macOS, Linux including Raspberry Pi, Android, iOS and HTML5
  • libGDX is a community-maintained Apache 2.0 project with no vendor and no paid support tier
  • libGDX ships as a framework rather than an editor, so there is no visual scene editor included

Pricing, plan by plan

Defold

Free
  • FreeFree
    • Full editor
    • Lua scripting
    • Physics engine

libGDX

Free
  • FreeFree
    • Full framework
    • Java support
    • Cross-platform

Which should you pick?

Choose Defold if

  • You need lua scripting.
  • You want to start without paying.
  • You work on Windows, Macos, Linux, Ios, Android, Web.
  • You also want physics engine.

Choose libGDX if

  • You need java language support.
  • You want to start without paying.
  • You work on Windows, Macos, Linux, Ios, Android, Web.
  • You also want graphics rendering.

Questions people ask

Is Defold or libGDX better?
Neither clearly leads. Defold starts at Free and libGDX at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Defold or libGDX?
Defold starts at Free and libGDX at Free.
Does Defold or libGDX run on more platforms?
Both run on Windows, Macos, Linux, Ios, Android, Web, so platform support will not decide this one for you.
Can I use Defold for free?
Both have a free tier, so you can try either at no cost before committing.
What is Defold best used for?
Defold is most often used for building 2d games for mobile, desktop, web and console from a single project, shipping small-footprint html5 games, teams wanting a free engine with no revenue share on games. Of those, building 2d games for mobile, desktop, web and console from a single project and shipping small-footprint html5 games are not what libGDX is typically brought in for.
What can Defold do that libGDX cannot?
Defold covers Lua scripting, Physics engine, Sprite system, Sound management. libGDX covers Java language support, Graphics rendering, Audio engine, Input handling. Both handle Particle effects, Local deployment, Mobile deployment, Web deployment.

Related pages

Other head to heads