r/leveldesign • u/aedanman • 8h ago
Showcase I built a runtime TrenchBroom map loader for my retro arena shooter so you can block out arenas on PC and play them on Android in seconds
I built a custom map pipeline for Wirefrag (my 90s-style neon arena shooter on Android) that lets you block out an arena in TrenchBroom on your PC and test the plain-text map file straight on your phone in seconds. I just published a dev blog post breaking down how the level design rules and map loader work, along with a couple of earlier posts on performance and movement.
Custom Maps with TrenchBroom
Because the levels are built out of unshaded geometric blocks with no textures or baked lighting, a map with hundreds of brushes loads in a fraction of a second on mobile. To keep layout flow focused on movement and readable sightlines, the game bans jump pads, elevators, and teleporters. Vertical routes rely on stairs, angled ramps, wall kicks, and blast jumps instead.
When you load a TrenchBroom map file on your phone or PC, the game builds the collision geometry on the fly, clips overlapping brushes so intersecting corners still get clean glowing edges, generates bot navigation in the background for new layouts, and checks files automatically so custom arenas stream straight to friends when they join a peer-to-peer lobby.
Read the full post: https://wirefrag.com/blog/03-pure-geometry-infinite-arenas-custom-maps/
Hitting 120 FPS on Mobile
The post before that covers how I stripped down the engine to hold a steady 120 FPS on phones without overheating the battery, including why dropping shadow maps and software occluders lets raw brush geometry render so fast on mobile hardware, plus benchmarks from budget phones up to desktop PCs.
Read the full post: https://wirefrag.com/blog/02-hunting-the-8ms-budget/
Where It Started
If you missed the first post, it covers why I made the game and how the ruleset shapes the arenas (spawning with all five weapons, infinite ammo, no health or armor pickups to camp, and a dash that resets whenever you land a hit).
Read the first post: https://wirefrag.com/blog/01-introducing-wirefrag/
All of the posts and upcoming topics are up at https://wirefrag.com/blog/ if anyone wants to follow along.