Floppa Mining · Floppa Felony · Floppa Mystery · Floppaland

⚙️ Floppa Engine

Every Floppa game is built the same way: official Godot with every update, Rust where speed really matters, and shared parts that all games reuse and keep improving. One small studio, one toolkit, many games.

Godot 4.8 · Rust with godot-rust 0.5 · Last updated: 29 November 2026

~6xfaster dig site build in Floppa Mining (36 ms to 6 ms on a PC)
~3xfaster dig site refill (12–13 ms to about 4 ms on a PC)
~3xfaster island loading in the browser (about 1.9 s to 0.6 s, Version 1.5.15)
0engine forks to maintain: official Godot updates come straight in

What it is

The Floppa Engine is a toolkit on top of official Godot, not a fork. It can grow into one if a game ever needs changes inside Godot itself.

Official Godot, always updated

Our games run on the official Godot engine (4.8 and up). New Godot versions, fixes and features come straight in; we never have to merge our own engine changes by hand.

Rust for the hot spots

The parts that run thousands of times a second, or freeze a frame, are written in Rust, a fast and safe language, through godot-rust. The bindings are generated from the exact Godot version we use, so they always match.

Checked, then replaced

Before a part moves to Rust, the old version's results are recorded, and a test checks that the Rust version gives exactly the same ones. Then the old code is deleted, so every part exists once. Shared parts that other games use without Rust (like the character pack) keep working there as before.

Measure first, then speed up

Floppa Mining moves to Rust step by step, the parts that do real work first. Before a part moves, the old version's results are recorded, and a test checks that the Rust version gives exactly the same ones. Then the old version is deleted, so every part exists once. Menus and windows stay in Godot's own script language: there the work happens inside Godot anyway.

Dig site buildFloppa Mining's whole dig site in Rust: 36 ms to 6 ms (measured when it was 64 blocks deep; it is 100 m deep now). A new dig site or a refill no longer makes the game stutter.
Breaking a blockOnly the changed part of the dig site is rebuilt: 1.4 ms to 0.24 ms per block.
Dig site generationWhich blocks, chests and ores a new dig site gets, from its seed: 4.7 ms to 0.7 ms. It uses Godot's random numbers bit for bit, so the server still builds exactly the same dig site.
Finds near the airWhich of a dig site's ~800 chests and ores touch the air and need a model: 1.7 ms to 0.15 ms per refill.
Detector and groundThe detector's sparkle scan (2.4 ms to 0.25 ms) and the island ground (up to 45× faster).
Same resultOn every island each block, colour, face, chest and ore is compared between Rust, the old code and the server: identical.
Pets, shop, Collection BookSorting a full pet storage: about 1 s to 5 ms. The Collection Book bonus: 30× faster. The shop's rules (order, coins, bars, Buy All).
The playerAll of it since Version 1.5.11 (the GDScript player is deleted): moving, jumping, swimming, ladders, the camera, every key and mouse button, aiming and digging, Auto dig, the outline and crack, emotes, the tool in your paw with its inspect and swing, your own name tag, and the safety nets that push you out of blocks or bring you back to the beach. Every step was checked against recorded runs of the old player (digging, swimming, keys, tools, inspects, setup): identical, so it feels the same.
Faster loadingVersion 1.5.15 (29 November 2026): the scenery merge makes its boxes, cylinders and balls in Rust instead of reading them back from the graphics card, which the browser does slowly (970 ms to 118 ms). The island ground (35 ms to 6 ms), the sounds made at start-up (4× faster) and the main menu builds only the top of the dig site. Each compared with the old code: every point, byte and mesh the same.
CharactersThe shared character pack builds a Floppa in Rust when the game has the Rust toolkit: a new look 105 ms to 11 ms, so a player joining your server no longer makes the game stutter. 30 looks compared with the old code: the same meshes. Games without Rust build them exactly as before.
Smaller downloadVersion 1.5.16 (29 November 2026): the browser version no longer downloads the six songs before you can play (52 MB down to about 24 MB); each song loads the first time it plays. Pets following their owner and other players' smooth movement on your screen are Rust now too, again checked against the old code.
Lighter shadowsVersions 1.5.17 and 1.5.18 (30 November 2026): the still scenery casts its shadow through a few combined, invisible "shadow proxy" meshes instead of piece by piece (4 to 9 % fewer draws a frame, the same shadows, checked with screenshots of every island). 21 copies of the same shaders were removed (fewer graphics to prepare at the first start), the mesh files lost data no material reads (1.4 MB less), the pets' island colours are made in Rust (10 to 18 times faster, every pixel the same), and the browser download is packed with Brotli instead of gzip (about a quarter smaller, the same files once unpacked).
Faster browser startVersion 1.5.19 (30 November 2026): the main menu comes up sooner (the parts of the game you only need once you play now load while you look at the menu), a first visit freezes less while the graphics are prepared, and the tool picture in the corner is drawn once instead of every frame. Also tried and measured: moving the scenery merge itself to Rust made it slower in the browser (calls from Rust into the engine cost more there), so it stayed as it was.
Everywhere the sameSince version 1.5.6 the browser version runs the same Rust code (WebAssembly) as the app on Windows, Linux and Android.
SharedThe speed tools and what was learned (Brotli download, slimmer meshes, shader report, scenery merge with shadow proxies, the browser loading steps) are in the shared pack of the Floppa games since 30 November 2026, so the next games start at this level.

How much is Rust today

Counted in lines of code in Floppa Mining (no blank or comment lines), checked 30 November 2026 (Version 1.5.18).

GDScript35,663 lines (86.1%): menus, windows, quests, saving, most of the game logic.
Rust5,750 lines (13.9%): the dig site, its finds and the detector, the island ground and animations, floating things, pets, their island colours and how they follow you, other players' movement, the Collection Book, the shop rules, the Getting started guide, the whole player, building the Floppa characters, the sounds made at start-up and the scenery merge. In the app on Windows, Linux and Android and in the browser.
Why still so little?The parts moved first are small but do most of the heavy work. This number grows with every part we move.

Built once, used in every game

Shared parts live in their own GitHub repositories. They are changed there first, get a version number and a changelog, and then go into every game. A fix in one game helps all of them.

FloppaNetThe overlay on F2: friends, the players on your server, profiles, news, surveys and friend gifts. One Floppa account for every game.
Character packThe Floppa character with outfits, colours and animations, the same in every game and in the website's customizer. Built in Rust where a game has the Rust toolkit.
ConsoleThe in-game console for testing and support, the same commands everywhere.
Rust toolkitThe fast parts (the dig site first), with builds for Windows, Linux and Android and a test that compares every result.

Honest limits

Rust makes heavy loops faster. It does not make drawing (the graphics card's part) or physics faster, and most menus were already fast. The browser version runs the same Rust code (since Version 1.5.6) and draws with WebGL 2: Godot's browser version doesn't have a WebGPU renderer yet.

Questions or ideas? See Contact. How our websites protect you: Security.