Game development case study
Umbara
Conquer the darkness. A night-time first-person shooter where you fight an enemy you can't see without help.
I wanted a shooter where the dark is the enemy's weapon. The forest glows, the Umbarans see in the dark and you don't, so you win by scanning, calling in bombers and moving with your squad down one road to their capital. I designed and directed it and set its look, and every original model, plant and sound is generated by a script, so changing an idea means re-running it rather than remodeling it. It went from a grey-box browser prototype to five levels in Godot in three days, each step chosen by putting two versions side by side.
The real game running a scripted fight, recorded at 2560 × 1440 and 60 fps. Sound on.
The game
One road to the capital, and an enemy you can't see
You fight down a single road to the Umbaran capital, across five levels. Each level is three battles, each with one objective, and then a final fight for everything they have left. The case study below shows what stands between you and the gate, using Level 3.
Case study: Level 3, The Landing Site
A jammer takes away your scan and your bombers. Find it in the trees, light three beacons, then silence the anti-air battery so an AT-TE can land. Pick a battle on the map, or tap any symbol.
- 674 m
- of road
- 3 + 1
- battles and a final fight
- 305
- Umbarans
- 13
- tanks
- 19
- mines, seen only by scanning
- 8
- ambush parties
Swipe sideways to follow the road. Tap any symbol for what it is.
- Squad lands
- Jammer
- Landing beacon
- Anti-air gun
- Gun post
- Mortar pit
- Sniper nest
- Barricade
- Crawler tank
- Hover tank
- Mine
- Ambush party
- Objective
- Reserve tanks
- Final fight
- AT-TE drop
What the symbols mean in play
- The darkThe Umbarans see in it and you don't. A scan pulse shows them, and the mines, for a few seconds.
- Dug-in positionsGun posts pin you down, mortars shell the road, and snipers in the canopy fire one heavy shot after a red beam.
- AmbushesParties break cover from the trees when the squad passes, and mines wait on the road.
- ArmorCrawlers crack under massed fire, hover tanks shrug rifles off from the front, and the heavy walker needs a tracker strike.
- Help you have to earnYour squad fights beside you, and Y-wing bombers come when you call them, but only when the general allows it.
The four stages, side by side
Each battle is a few numbers in the level file that a director plays out: it builds up to a cap on how many Umbarans are alive at once, digs more in at the objective, then counterattacks.
| Stage | Battle 1Find and destroy the jammer | Battle 2Mark the landing zone | Battle 3Destroy both anti-air guns | Final fightHold the road for the drop |
|---|---|---|---|---|
| The twist | The jammer: no scan pulse and no bombers until it falls | Beacons that each draw an attack, and the level’s first hover tank | Two hover tanks, and fighters bombing the road | Everything left, from three directions |
| Umbarans | 83, up to 20 at once | 104, up to 25 at once | 94, up to 27 at once | 24, in 3 waves |
| Armor | 2 crawlers | 3 crawlers, 2 hover tanks | 2 crawlers, 2 hover tanks | 1 hover tank, 1 crawler |
Assets
What I built for it
Enemies, the player's arms, guns, plants, a sky and the tools that tested it, all made from code. Pick one to see it large; the ones marked 3D can be turned and zoomed. The original designs among them are free to download from the game's site.
1 / 9

Enemy
Heavy cannon walker
A six-legged artillery walker that stands astride the road, tall enough to walk under. Rebuilt from three reference views, then doubled in size after I saw it in the game.
- In the game
- The big set-piece of Level 4: rifles barely scratch it, so you plant a tracker underneath and the bombers do the rest.
- Built by
- A Python script in Blender (one 910-line vehicle script)
- Triangles
- 31,572

Enemy
Crawler tank
A four-legged tank whose turret swings to its target. The legs hang from separate hip joints, so the game walks them in code.
- In the game
- The armored enemy that walks the road toward the squad; massed fire or a rocket brings it down.
- Built by
- The same vehicle script
- Triangles
- 29,522

Enemy
Umbaran trooper
Dark suit, pale vest, hip pouches, tall pointed boots and a clear green dome over a grey head. Built from jointed parts so the game can pose it in code; the dome and hip lights glow.
- In the game
- Every Umbaran soldier in all five levels: riflemen, scouts and the squads that counterattack.
- Built by
- A Python script in Blender
- Triangles
- 5,384




Weapon kit
Armored glove and gauntlet
My original design for the player’s own arms, built from rigid pieces so posing never stretches anything. The script fits a hand to every grip by measurement: the palm 4 mm off the grip, each finger curled until its tip touches, within human joint limits.
- In the game
- Your arms in first person, posed on the grips of every gun.
- Built by
- A Python script in Blender
- Triangles
- 8,392
Free to download from the game's site, with the script that builds it.




Weapon kit
First code-built guns
The first versions of the carbine, sniper rifle, rotary cannon and launcher, modelled entirely from code. Each has its origin at the grip and its barrel along forward, so the hands can find it.
- In the game
- The game’s first arsenal, before the final weapon set.
- Built by
- A Python script in Blender
- Triangles
- 5,972 for all four




Flora
Gnarled tree
A thick, lumpy trunk that splits into horn-like limbs curling up and out, with glowing red spots and thin stalks tipped with red claws. Grown in code: every call makes a new one, so no two forests match.
- In the game
- The forest in every level, from saplings by the road to giants on the hills.
- Built by
- A Godot script that generates it
- Triangles
- about 1,300 each
Free to download from the game's site, with the script that builds it.


Shader
Night sky
A dark dome with a purple horizon, layered cloud lit from below, a glow toward the capital, a few stars and flashes from the battle in orbit. About 40 lines; every color is a setting, so each level tints it.
- In the game
- The sky over every level; Level 4 turns it colder and Level 5 red.
- Built by
- A Godot shader
Free to download from the game's site, with the script that builds it.


Tool
Test bot and report
A scripted player: it moves, takes cover, aims with human-like error and reaction time, fires in bursts, throws detonators and calls strikes, then writes up every fight with screenshots. A Python script turns its runs into tables and intensity charts.
- In the game
- Played every level after each change; its runs decided which fights to rework.
- Built by
- GDScript and Python, 1,377 lines in the bot
Free to download from the game's site, with the script that builds it.

Tool
Weapon sandbox
A Godot scene for looking at every first-person gun with its hands: orbit and zoom, hip and aimed views, close-ups of each grip, and a picture-sheet mode that saves every view of every gun for automated checks.
- In the game
- How every gun and hand pose was checked before it went into the game.
- Built by
- GDScript (Godot 4)
Free to download from the game's site, with the script that builds it.
01 · Look and style
I chose the night by comparing it side by side, never in words
The game started as a browser prototype and moved to Godot. Drag each line to see the same view then and now, or enlarge one to see the detail.








Every milestone build, rendered from one fixed camera with only the environment in view. Press a step to see it.







Each step was chosen by comparison, not description. I tested four moods of the same moment and picked B, rejected a near-black night, and set the brightness of the whole night with one number, DIM = 0.82. A ground shader replaced the flat painted floor, and each level got its own color grade. Downloaded allied models went through the same test, and I chose a night tint so they sit in the map's palette.






- 4 × 4
- moods and helmet displays tested
- 0.82
- one brightness number for the whole night
- 18 → 13.5 m
- road narrowed to feel more intimate
- 8
- soil offsets blended so the ground never tiles
02 · Blender models
Every enemy is a script, so a redesign is a re-run
Each model is a Python script run in Blender, with no hand sculpting. My first enemy kit was too simple, so I had the vehicles rewritten as one 910-line script. Press a step to see the same three vehicles at each milestone.



There are three tanks, each a step up. The bars show how much a rifle hurts each one and how much health it has, so the armor teaches you when to switch weapons.

Easy Crawler
Rifle damage 35%Health 1,040
Medium Hover tank
Rifle damage 3% from the frontHealth 1,900
Hard Heavy walker
Rifle damage 1.5% (rockets do full)Health 2,400
The heavy walker, rebuilt


- Six arched legs instead of four straight ones
- Knee wheels and armored shins
- Two-talon claws for feet
- A jointed cannon on a neck
- 2× scale after seeing it in the game
- 910
- lines in the vehicle script
- 77k
- triangles for the three tanks
- 31.6k
- triangles in the heavy walker
- 2×
- walker scale after the in-game check
03 · Testing with a bot
A bot played every level, and its numbers decided what changed
The test bot plays whole levels through the real controls: it moves between cover, aims with human-like error and reaction time, fires in bursts, scans, throws detonators and calls in strikes. When it played too well I gave it an "average player" setting. Every 10 seconds it logs how many Umbarans are alive, its health, damage taken, kills, where it is on the road and the frame rate, and it photographs every key moment.
Level 3, the final run
Average-player bot on Medium. Shaded: Umbarans alive. Line: the bot's health. Bands mark each battle.
Umbarans aliveBot's healthObjective taken
- 9:07
- to finish, 1 death
- 61%
- of 717 shots hit
- 137 + 295
- Umbarans down: the bot, then its squad
- 236
- Umbarans revealed by 34 scans
- 15 · 2
- detonators thrown · bomber strikes
- 23/35
- wounded troopers revived (8 lost)
| Battle | Time | To objective | Counterattack | Deaths | Damage taken | Peak alive | Scans (revealed) | Frame rate |
|---|---|---|---|---|---|---|---|---|
| 1. Find and destroy the jammer | 1:34 | 0:44 | 50 s | 0 | 58 | 29 | 4 (14) | 65 fps |
| 2. Mark the landing zone | 2:30 | 2:09 | 20 s | 0 | 234 | 34 | 13 (82) | 53 fps |
| 3. Destroy both anti-air guns | 3:54 | 3:27 | 26 s | 1 | 336 | 35 | 17 (140) | 54 fps |
Battle 1's scans revealed little because the jammer blocks them until it falls; battle 3's time includes the final fight.
9 runs in one day
The bot's runs are how the problems showed up. When I replaced the clearing's capture ring with three beacons, the bot kept stalling at them: one beacon stood 12 m into the trees, the bot wedged itself between trunks beside another for half an hour, and every death set all three beacons back to unlit. Each fix was checked with another run until it finished cleanly.
Every Level 3 run on Medium, in order
Minutes per battle. A cross marks a run that never finished.
Battle 1Battle 2Battle 3
Across the game
The same loop ran on every level: the bot found where a fight stalled or became a wall, I chose the change, and the bot played it again. It also measured where the frame rate went.
Bot runs, before and after each rework
Minutes to finish on Medium; labels show deaths.
BeforeAfter
Level 1slower build-up
Level 3beacon moved
Level 4walker line
Level 5gate deck fixed
Performance passes
Milliseconds; each row is scaled to its own before.
BeforeAfter
Frame in a fightforest cut into tiles
Landing stallshaders warmed up
Soldier cover search8 m grid
Effects scriptfewer fire puffs
- 1,377
- lines in the test bot
- 9
- Level 3 runs on one day
- 17M → 2M
- forest triangles per frame
- 148 → 13 ms
- stall on landing, after warming up shaders
The bot can't judge whether something is fun or looks right. That stayed my job, and I looked at every screenshot it produced.
Umbara is a private, non-commercial fan project, not affiliated with or endorsed by the owners of its setting. Some models, animations, sounds and music in my build are third-party and credited in the game; they aren't my work.



