PlayN
PlayN is a free, open-source Java library for developers building 2D games for desktop, browser, and mobile platforms.
What PlayN is
PlayN is a free, open-source Java library for developers building 2D games for desktop, browser, and mobile platforms. It lets developers program against one API and deploy to Android, iOS, Linux, macOS, the web, and Windows. Graphics options include OpenGL, QuadBatch with built-in shaders, Surface, a 2D scene graph, and a CPU-based Canvas drawing API with text rendering. The library supports music and sound effects, along with mouse, touch, and keyboard input. TriplePlay adds a UI toolkit, tweened and keyframe animation, and particle systems. Development resources include tutorials, demos, Javadocs, release notes, setup instructions, and an overview. Its cookbook offers guidance on graphics, scene graphs, sound, input, networking, assets, and builds with Maven and IDEs. A physics demo shows JBox2D integration. Community help is available through a mailing list and Stack Overflow. PlayN is licensed under Apache 2.0 and costs nothing.
Good
- One API targets desktop, browser, and mobile
- Supports music, sound effects, and multiple inputs
- TriplePlay adds UI and animation tools
- Includes tutorials, demos, and build guidance
- Free under the Apache 2.0 license
Watch out
- Requires development with Java
- The listed graphics options include a CPU-based Canvas API
Who it suits
PlayN is for Java developers building games for multiple desktop, browser, and mobile targets. Its tutorials, demos, and cookbook provide resources for developers learning or implementing the library.
Verdict
PlayN provides a broad set of graphics, audio, and input options for cross-platform game development in Java. Developers can also draw on its documentation and TriplePlay extensions.
Plans and prices
From PlayN's own pricing page, checked 8 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| PlayN | Free | Free and open source · Apache 2.0 license |
The facts
Each one read from PlayN's own pages, with the date it was checked.
What it does
- Additional library
- The TriplePlay library builds on PlayN with a UI toolkit, tweened animations, keyframe animation, and particle systems.checked 8 Oct 2026
- Audio and input
- The library supports music and sound effects, plus mouse, touch, and keyboard input.checked 8 Oct 2026
- Build guidance
- The cookbook includes recipes for graphics, scene graphs, sound, input, networking, assets, and builds using Maven and IDEs.checked 8 Oct 2026
- Development resources
- The documentation offers an overview, tutorials, demos, Javadocs, release notes, and setup instructions.checked 8 Oct 2026
- Graphics
- Its graphics options include OpenGL, QuadBatch with built-in shaders, Surface, a 2D scene graph, and a CPU-based Canvas drawing API with text rendering.checked 8 Oct 2026
- Integration example
- The Physics demo demonstrates JBox2D integration.checked 8 Oct 2026
- Intended users
- The site provides game-building tutorials and sample games for developers using PlayN.checked 8 Oct 2026
- License
- The project is free and open source under the Apache 2.0 license.checked 8 Oct 2026
- Product
- PlayN is a Java library for writing games that can be deployed across desktop, browser, and mobile platforms.checked 8 Oct 2026
- Support
- The site directs users to a mailing list and Stack Overflow for community help.checked 8 Oct 2026
Where it runs
- Cross-platform API
- PlayN lets developers program against one API and deploy to desktops, browsers, and mobile devices.checked 8 Oct 2026
Alternatives to PlayN
- 1

Unity
Free planAndroidiOSWebAPI8.4Free plan - 2

Unity Version Control
Free planWebAPILinuxmacOS8.1Free plan - 3

Ren'Py
Free planOpen sourceAndroidiOSWebAPI7.9Free plan - 4

Construct 3
Free planAndroidiOSWebLinux7.8Free plan - 5

CopperCube
Free planAndroidWebExtensionmacOS7.7€37 one-time - 6
Clickteam Fusion 2.5
Free planAndroidiOSWebmacOS7.6$99.99 one-time
