Softwr

Game Development · head to head

Defold vs libGDX

Defold logo

Defold

Game Development

The game engine for the creators of King

From
Free
Free plan
Yes
libGDX logo

libGDX

Game Development

Java-based game development framework

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Defold lists lua scripting; only libGDX lists graphics rendering.
  • Where Defold falls short: the Defold License requires you to include the Defold license and copyright notice in any work you create with the engine.
  • Where libGDX falls short: libGDX is a Java framework built on OpenGL ES, so projects are tied to the JVM toolchain.

How do Defold and libGDX differ?

Defold and libGDX differ on year founded (2005 against 2010). 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), category (Game Development).

Which features does each one have?

They share 8 listed features; 12 appear only for Defold and 12 only for libGDX. 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 is each one used for?

Defold is most often brought in for building 2D games for mobile, desktop, web and console from a single project; libGDX for writing 2D or 3D games in Java from a single codebase. 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 do Defold and libGDX fall short?

Defold's most cited limit: the licence forbids commercialising original or modified versions of the Defold editor or engine itself. libGDX's: libGDX is a Java framework built on OpenGL ES, so projects are tied to the JVM toolchain. 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

How much do Defold and libGDX cost?

Defold is free to use; libGDX is free to use. Plan by plan below, from each vendor's own pricing page.

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?
It depends on the job. Defold fits building 2D games for mobile, desktop, web and console from a single project; libGDX fits writing 2D or 3D games in Java from a single codebase. Defold starts at Free and libGDX at Free.
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.

Answered from the vendors’ own pages

Defold: How much does Defold cost?

Defold is completely free with no up-front cost, no licensing cost, no royalties, and no runtime fees. The game engine is free forever, supported by the Defold Foundation with source code available under a developer-friendly license.

Source
libGDX: Does libGDX cost anything?

libGDX is completely free and open source, licensed under Apache 2.0. There are no pricing tiers or costs.

Source
Defold: Is Defold free to use commercially?

Yes, Defold is free forever with no royalties or revenue sharing required. Developers can create and monetize commercial games without any fees to Defold.

Source
libGDX: Can I use libGDX commercially?

Yes, libGDX's Apache 2.0 license permits commercial use at no cost. The license allows usage in both open-source and proprietary projects.

Source
Share

Related pages

Other head to heads