Softwr

Game Development · head to head

FNA vs libGDX

FNA logo

FNA

Game Development

Free open-source reimplementation of the XNA 4.0 libraries, built for accurate game ports

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 FNA lists XNA 4.0 Refresh API compatibility; only libGDX lists graphics rendering.
  • Where FNA falls short: code framework only, with no editor or content tool UI.
  • Where libGDX falls short: libGDX is a Java framework built on OpenGL ES, so projects are tied to the JVM toolchain.

How do FNA and libGDX differ?

FNA and libGDX differ on pricing model (Open-source against Free) and platforms. Only the attributes on which FNA and libGDX actually diverge.

Attributes where FNA and libGDX differ
AttributeFNAlibGDX
Pricing modelOpen-sourceFree
PlatformsWindows, Linux, macOS, iOSWindows, macOS, Linux, iOS, Android, Web

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

Not yet recorded: founded for FNA.

Which features does each one have?

They share no listed features; 7 appear only for FNA and 20 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 FNA

  • XNA 4.0 Refresh API compatibility
  • Single assembly for Windows and Linux
  • macOS, iOS and tvOS support
  • Console support for Xbox, Switch and PlayStation 5
  • No game-specific hacks
  • Developer documentation
  • Free open-source dependencies

Only in libGDX

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

What is each one used for?

FNA is most often brought in for porting XNA games to modern platforms; libGDX for writing 2D or 3D games in Java from a single codebase. The jobs each tool is most often brought in to do.

FNA

  • Porting XNA games to modern platformsnot libGDX
  • Preserving older XNA titlesnot libGDX
  • C# 2D and 3D gamesnot libGDX
  • Console ports of indie gamesnot libGDX
  • Maintaining XNA codebasesnot libGDX

libGDX

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

Where do FNA and libGDX fall short?

FNA's most cited limit: code framework only, with no editor or content tool UI. 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.

FNA

  • Code framework only, with no editor or content tool UI
  • Targets the older XNA 4.0 API rather than a newer design
  • Developed mainly by one porter, so project pace follows him
  • Smaller community than MonoGame, with fewer tutorials

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 FNA and libGDX cost?

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

FNA

Free

No published plan breakdown. See the FNA review.

libGDX

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

Which should you pick?

Choose FNA if

  • You need xna 4.0 refresh api compatibility.
  • You want to start without paying.
  • You work on Windows, Linux, macOS, iOS.
  • You also want single assembly for windows and linux.

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 FNA or libGDX better?
It depends on the job. FNA fits porting XNA games to modern platforms; libGDX fits writing 2D or 3D games in Java from a single codebase. FNA starts at Free and libGDX at Free.
Which is cheaper, FNA or libGDX?
FNA starts at Free and libGDX at Free.
Does FNA or libGDX run on more platforms?
FNA runs on Windows, Linux, macOS, iOS. libGDX runs on Windows, macOS, Linux, iOS, Android, Web.
Can I use FNA for free?
Both have a free tier, so you can try either at no cost before committing.
What is FNA best used for?
FNA is most often used for porting xna games to modern platforms, preserving older xna titles, c# 2d and 3d games, console ports of indie games. Of those, porting xna games to modern platforms and preserving older xna titles are not what libGDX is typically brought in for.
What can FNA do that libGDX cannot?
FNA covers XNA 4.0 Refresh API compatibility, Single assembly for Windows and Linux, macOS, iOS and tvOS support, Console support for Xbox, Switch and PlayStation 5. libGDX covers Java language support, Graphics rendering, Audio engine, Input handling.

Answered from the vendors’ own pages

FNA: What is FNA?

A reimplementation of the Microsoft XNA Game Studio 4.0 Refresh libraries.

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
FNA: Who develops it?

Primarily video game porter Ethan Lee, who has shipped more than four dozen XNA ports.

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
FNA: Which platforms does it support?

Windows and GNU/Linux with one assembly, plus macOS, iOS, tvOS, Xbox, Nintendo Switch and PlayStation 5.

Source
Share

Related pages

Other head to heads