Skip to content

For developers

11 Best Engines for Idle Games, Matched to the Games That Shipped on Them

The best engine for idle games depends on where it ships. 11 options, from plain JavaScript to Godot and Unity, each shown with real idle games built on it.

The best engine for an idle game is the one that ships to the place your players are, with the least code between you and the numbers. For a browser game that is plain JavaScript or a small framework. For a Steam game with art and animation it is usually Godot or Unity. For a free-to-play mobile game with ads and purchases it is still mostly Unity. Idle games are mostly UI, timers and arithmetic, so almost any engine can run one; the real differences are export targets, save handling, licence terms and how much UI work the engine saves you.

Every option below is paired with real idle games that shipped on it. Engine facts come from the games' public source code, PCGamingWiki engine records, developer write-ups and each engine's own licence and pricing pages, checked in November 2026. One entry is the site maintainer's own game, labelled as ours.

01

Plain JavaScript and HTML: best for text-first browser games that need to load instantly

Platform: Any browser · free · no build step required

A large share of the genre's classics are hand-written HTML, CSS and JavaScript with no engine at all. A Dark Room is open source on GitHub under MPL-2.0, Trimps publishes its source under GPL-2.0, and Kittens Game keeps its code in a public repository. Reading any of them shows the whole pattern: a state object, a loop that adds production times elapsed time, buttons that check a cost, and a save written to localStorage.

Pick this when your game is buttons, numbers and text. You get instant load times, free hosting on GitHub Pages or itch.io, and nothing to learn beyond the browser. Our JavaScript incremental game tutorial walks through the pieces with these games as references.

Watch out for: Browsers slow timers in background tabs, so a setInterval loop that counts ticks will undercount. Measure real elapsed time from Date.now() on every tick instead.

02

A UI framework (Vue, React, Svelte): best for web games with dozens of tabs, modals and upgrade lists

Platform: Any browser · free, MIT-licensed frameworks · npm build step

Once a game has many screens, a reactive UI framework stops being overhead and starts saving time. The Antimatter Dimensions source, published by the AD team under the MIT licence, is a Vue 2 app built with vue-cli, using break_infinity.js for its numbers. Each tab, modal and autobuyer panel is a component, and the same codebase produces its web build and its Steam build through separate build modes.

Pick a framework when your UI, not your simulation, is the hard part: lots of conditional panels, settings, statistics and unlock states. Keep the game logic in plain modules that the components read, so you can test the math without a browser.

Watch out for: Re-rendering every number on every tick is the common performance trap. Update displays on a slower clock (a few times a second) than the simulation, and avoid making huge arrays deeply reactive.

03

The Modding Tree: best for a first prestige-tree game in a weekend

Platform: Browser · free, MIT licence · JavaScript config files

The Modding Tree, by Acamaeda, describes itself as an incremental game engine based on Jacorb's The Prestige Tree. You define layers, upgrades, milestones and challenges as JavaScript objects in a layers file, and the engine handles the tree display, resets, saving and big numbers (it ships break_eternity.js). Its repository includes a getting-started tutorial and full documentation.

It is the fastest route from idea to a playable, shareable incremental. Many published games use it; The Game Dev Tree by thepaperpilot is a well-known example, and our Modding Tree games list collects more. If you want a step-by-step start, see the Modding Tree tutorial.

Watch out for: Every TMT game shares the same look and layout, so players on galaxy.click and Reddit recognise it at a glance. Plan custom CSS or a distinct theme if you want yours to stand apart.

04

Profectus: best for TypeScript developers who outgrew The Modding Tree

Platform: Browser · free, MIT licence · Vue 3, TypeScript, Vite

Profectus, from thepaperpilot and contributors, calls itself "a game engine that grows with you". It keeps the layer idea from The Modding Tree but rebuilds it on Vue 3, TypeScript and Vite, with typed features you compose instead of one large config object. The docs live at moddingtree.com, and the repository was still receiving commits in November 2026.

Pick it when you want the speed of a tree-style engine but your game will not be a tree: custom boards, unusual resets, or UI that TMT's fixed layout fights. You need to be comfortable with npm, a build step and TypeScript types.

Watch out for: The community is much smaller than TMT's, so there are fewer finished games to copy patterns from. Budget time to read the source when the docs run out.

05

Godot: best for solo developers shipping to Steam with art and animation

Platform: Windows, macOS, Linux, web, Android, iOS · free, MIT licence

Godot is a free, MIT-licensed 2D and 3D engine with no royalties or revenue thresholds; the latest stable release was 4.7.2 in August 2026. Its Control nodes, containers and themes make the menu-heavy layouts of idle games fairly painless, and GDScript is quick to learn. PCGamingWiki lists Godot as the engine for Unnamed Space Idle and Tower Wizard, both very positively reviewed on Steam.

Pick Godot when you want one project that exports to desktop for Steam and to the web for a free demo, with animated pixel art and particles rather than plain text. The scene and signal system suits idle games well: one autoloaded script holds the economy, and UI scenes listen for changes.

Watch out for: Godot 4 web exports cannot use C#, so write GDScript if a browser demo matters. Threaded web exports also need cross-origin isolation headers; the single-threaded export, the default since 4.3, avoids that.

06 · Ours

Mushies!: best for a Godot idle game case study, browser demo to Steam

Platform: Browser, Steam

Mushies! is the site maintainer's own game, so read this entry as a case study, not a recommendation. It is a cozy pixel-art mushroom-village clicker built in Godot 4.7 with GDScript: click the big mushroom, hire worker shrooms, build houses, dig underground, and reset for Wisdom. It is upcoming on Steam and has a free browser demo on itch.io, both exported from the same project.

The structure is the one most Godot idle games end up with. The economy, upgrades, buildings, achievements and saves live in autoloaded singleton scripts (52 of them by the latest count), currencies are plain 64-bit floats, and saves are JSON files in Godot's user:// folder, with three slots and the serialisation done on a background thread so autosaves do not stutter the frame.

Watch out for: Plain floats were enough for this game's scale, but they stop at about 1.8e308. If your design goes past that, plan a big-number class from day one; see our big number libraries guide.

07

Unity: best for free-to-play mobile idlers with ads and purchases

Platform: All major platforms · free Personal plan up to $200,000 revenue and funding

Unity is behind more successful commercial idle games than any other engine. PCGamingWiki lists it for NGU Idle, Idle Champions of the Forgotten Realms, Cell to Singularity, Idle Wizard, Soda Dungeon 2, Rusty's Retirement and Bongo Cat. Clicker Heroes moved to Unity from Adobe AIR.

Pick Unity when you need mature ad mediation, in-app purchase plugins, analytics SDKs and console ports, or when you want to hire help: most mobile developers already know it. The C# ecosystem also has a direct port of break_infinity for big numbers.

Watch out for: Licence terms have changed before. Unity cancelled its planned Runtime Fee in September 2024, and the Personal plan now covers up to $200,000 in revenue and funding; read the current terms before you commit a long project.

08

Phaser: best for animated 2D idle games that live in a web page

Platform: Browser, desktop via Electron · free, MIT licence · JavaScript or TypeScript

Phaser is an MIT-licensed 2D framework for Canvas and WebGL; version 4.2.1 shipped in July 2026. It gives a browser game sprites, tweens, particles and input without leaving JavaScript. Telazer Games, a three-person studio, built the idle RPG Desktop Heroes with Phaser and Electron and released it on Steam in October 2025 at $3.99; it runs as a strip above the taskbar.

Pick Phaser when your idle game is visual, with characters fighting or things moving, and you still want web distribution. In Phaser's case study the team said running on the desktop "didn't introduce any extra friction on Phaser's side", using its transparent background for the overlay.

Watch out for: The same team noted "There's no official JavaScript SDK for Steam", so achievements and cloud saves meant third-party bindings and custom code.

09

Electron as a Steam wrapper: best for taking an existing browser game to Steam

Platform: Windows, macOS, Linux · free, MIT licence · wraps an existing web game

Electron is not a game engine; it packages a web app with its own Chromium. It is how several big browser incrementals reached Steam without a rewrite. PCGamingWiki lists Electron for Cookie Clicker on Steam, and the Antimatter Dimensions source has an electron runtime folder for its Steam build. The same JavaScript runs in both places, so updates ship to web and Steam together.

Pick it when the game already exists in the browser and works. You add a Steamworks binding for achievements and cloud saves, a window wrapper, and a build script.

Watch out for: Every Electron build bundles a full browser, so downloads run to tens of megabytes even for a text game, and an always-open idle game should be checked for CPU use while it sits in the background.

10

Defold: best for tiny HTML5 and mobile builds for web portals

Platform: Mobile, web, desktop, consoles · free, Defold License, no royalties · Lua

Defold is a free engine with Lua scripting; its licence, derived from Apache 2.0, promises no royalties or fees and lets you sell anything you make, though you may not resell the engine itself. Version 1.14.0 shipped in October 2026. Its showcase lists idle titles such as Monkey Mart by TinyDobbins, an idle management game about a monkey running a supermarket, and Drills Merge Master, an idle miner tycoon by d954mas.

Pick Defold when you are targeting web game portals and mobile, where small downloads and fast starts decide whether players stay. The engine is built for 2D and keeps empty builds small.

Watch out for: Lua and Defold's message-passing style take adjusting to, and the community is smaller than Godot's or Unity's, so expect fewer idle-specific tutorials.

11

Godot or Unity for a desktop companion: best for taskbar and desktop-strip idlers

Platform: Windows and macOS on Steam · transparent, always-on-top windows

Idle games that sit at the bottom of the screen while you work are a fast-growing Steam niche, and the engine choice matters more here because the window itself is the feature. Rusty's Retirement and Bongo Cat are both Unity games according to PCGamingWiki, and Desktop Heroes did the same job with Phaser and Electron.

Pick an engine with solid support for transparent, borderless, always-on-top and click-through windows on both Windows and macOS. Godot exposes these as window flags and Unity usually needs a native plugin, so prototype the window before you build the economy.

Watch out for: A game that runs all day is judged on CPU, memory and battery. Cap the frame rate low when nothing is happening, and test on a laptop with the game left open for hours.

How to choose an engine for your idle game

Decide where the game ships first; the engine follows.

01

Match it to where players will find it

Browser-first games (galaxy.click, itch.io, Reddit) want plain JavaScript, a framework or The Modding Tree, and can move to Steam later with Electron as Cookie Clicker did. Steam-first games with art want Godot or Unity. Mobile free-to-play wants Unity for its ad and purchase SDKs, or Defold if download size decides everything.

02

Match it to the languages you already know

An idle game is a long project of small changes, so comfort beats features. JavaScript developers will be fastest with plain JS, Vue or Profectus. Python-like syntax points to GDScript in Godot. C# points to Unity. GameMaker is also an option if you know GML: it is free for non-commercial use, and selling a game needs the $99.99 one-time Professional licence or the Enterprise subscription for consoles.

03

Match it to the hard part of your design

If the hard part is numbers past 1e308, pick a stack with a proven big-number library (break_infinity.js in JavaScript, BreakInfinity.cs in Unity). If it is UI, pick a framework or Godot's Control nodes. If it is animation, pick Phaser, Godot or Unity. If it is reaching players at all, pick whatever lets you publish a playable build this month.

Pick one and ship a playable build this month

Build the smallest version that has a number, a purchase, and a reset, in the engine you would be happy to live in for a year. Put it in front of players on itch.io or galaxy.click before you add a second currency, and use what they say to decide whether the engine is holding you back.

When it is playable, list it on IncrementalGames.org for free so players browsing the catalog can find it. If you want more eyes at launch, the optional Get featured placement puts a labelled card on the home page, game pages and best-of lists from $30 a week.

List your game free →

Common questions

What is the best engine for a beginner making an idle game?

The Modding Tree if you want something playable fastest and are happy with a prestige-tree layout. Plain JavaScript if you want to understand every line. Godot if you want art and a Steam release later, since it is free with no revenue limits.

Can you make an idle game in Godot?

Yes. Unnamed Space Idle and Tower Wizard are Godot games according to PCGamingWiki, and Mushies!, the site maintainer's game, is built in Godot 4.7. Write it in GDScript if you want a web export, because Godot 4 cannot export C# projects to the web.

Is Unity good for idle games?

Yes, especially on mobile. NGU Idle, Idle Champions of the Forgotten Realms, Cell to Singularity and Rusty's Retirement are all Unity games according to PCGamingWiki. It is free under the Personal plan up to $200,000 in revenue and funding.

Do you need a game engine for an incremental game?

No. Many of the best-known incrementals, including A Dark Room, Trimps and Kittens Game, are written in plain HTML and JavaScript. An engine helps when you need animation, native desktop builds or mobile store SDKs.

How do browser idle games get onto Steam?

Usually by wrapping the same web code in Electron and adding a Steamworks binding. PCGamingWiki lists Cookie Clicker's Steam version as Electron, and the Antimatter Dimensions source includes an Electron runtime for its Steam build.

Sources