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.

Play Umbara
  • Godot 4.7
  • Models built by script in Blender
  • Design, direction, art

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
100 M200 M300 M400 M500 M600 M123FINAL+2 RESERVE+2 RESERVE+2 RESERVE

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.

StageThe jammer mast in the trees, a sniper perch beside itBattle 1Find and destroy the jammerA crawler tank in the clearingBattle 2Mark the landing zoneUmbarans hold the road to the batteryBattle 3Destroy both anti-air gunsThe road through the forest in Level 3Final fightHold the road for the drop
The twistThe jammer: no scan pulse and no bombers until it fallsBeacons that each draw an attack, and the level’s first hover tankTwo hover tanks, and fighters bombing the roadEverything left, from three directions
Umbarans83, up to 20 at once104, up to 25 at once94, up to 27 at once24, in 3 waves
Armor2 crawlers3 crawlers, 2 hover tanks2 crawlers, 2 hover tanks1 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

The heavy cannon walker: a domed body on six arched legs with a cannon on a neck

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

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.

The same road in the browser prototype and in Godot (before)The same road in the browser prototype and in Godot (after)
The same road in the browser prototype and in Godot (before)The same road in the browser prototype and in Godot (after)

The road: browser prototype to Godot

Plain grey pillars lit only by the helmet lamp became a forest of claw trees and glowing tentacles under a clouded night sky.

Drag the line to compare.

The road: browser prototype to Godot
Tanks on the road in the browser and in Godot (before)Tanks on the road in the browser and in Godot (after)
Tanks on the road in the browser and in Godot (before)Tanks on the road in the browser and in Godot (after)

The tanks: browser art pass to Godot

Bright white tanks on hexagon paving became a hover tank in the night palette, on a soil road with glowing edges.

Drag the line to compare.

The tanks: browser art pass to Godot
Looking up the road at the sky in the browser and in Godot (before)Looking up the road at the sky in the browser and in Godot (after)
Looking up the road at the sky in the browser and in Godot (before)Looking up the road at the sky in the browser and in Godot (after)

The sky: browser art pass to Godot

A flat black sky became layered cloud lit from below, with distant hills and a glow toward the capital.

Drag the line to compare.

The sky: browser art pass to Godot
An explosion on the road in the browser and in Godot (before)An explosion on the road in the browser and in Godot (after)
An explosion on the road in the browser and in Godot (before)An explosion on the road in the browser and in Godot (after)

Explosions: browser art pass to Godot

A single orange ball became a fireball with smoke, embers, flying debris and a fire that keeps burning.

Drag the line to compare.

Explosions: browser art pass to Godot

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

Grey-box prototype: a dark road with plain grey pillar trees, lit only by the helmet lampAfter the look test: cyan road edges, grey pillar trees and pink ring-shaped canopiesBrowser art pass: a hexagon-paved road between claw trees with bright red leavesFirst Godot build: claw trees with red leaves and tall blue tentacles over a cobbled roadThe purple night tint: a misty violet forest, glowing ribbed tentacles and lamp postsThe ground shader: blended soil instead of the flat painted floorThe current build from the same viewpoint

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.

Look A: Heavy Mist
A Heavy Mist
Look B · chosen: Series Night
B · chosen Series Night
Look C: Glowing Forest
C Glowing Forest
Look D: Clear Night
D Clear Night
Four look tests of the same moment.
Level 1 with and without its color grade (ungraded)Level 1 with and without its color grade (graded)
Level 1 with and without its color grade (ungraded)Level 1 with and without its color grade (graded)

Level 1, ungraded and graded

Each level gets its own color grade: here the violets deepen, the reds glow and the dark lifts just enough to read the soldiers in the trees.

Drag the line to compare.

A color grade for each level. Drag to compare.
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.

The first kit of enemy vehicles: simple rounded shapesThe vehicles after the detail passThe current vehicles: crawler, hover tank and heavy walker

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.

  1. Crawler tank: a wide armored body on four clawed legs

    Easy Crawler

    Rifle damage 35%Health 1,040
  2. Hover tank: a cockpit sphere between two pods with cyan blades

    Medium Hover tank

    Rifle damage 3% from the frontHealth 1,900
  3. Heavy cannon walker: a domed body on six arched legs

    Hard Heavy walker

    Rifle damage 1.5% (rockets do full)Health 2,400

The heavy walker, rebuilt

The first heavy walker: a round body on four straight legs
First kit A round body on four straight legs: it read as a toy.
The rebuilt heavy walker with knee wheels, shin plates and a cannon on a neck
Rebuilt Remodeled from three reference views, by changing the script and re-running it.
  • 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.

Battle 1Battle 2Battle 3020400501000 min1 min2 min3 min4 min5 min6 min7 min8 min9 min10 min✕ deathalivehealth

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)
BattleTimeTo objectiveCounter­attackDeathsDamage takenPeak aliveScans (revealed)Frame rate
1. Find and destroy the jammer1:340:4450 s058294 (14)65 fps
2. Mark the landing zone2:302:0920 s02343413 (82)53 fps
3. Destroy both anti-air guns3:543:2726 s13363517 (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

Run 125:00 ✕ · 2 deathsRun 28:02 · 1 deathsRun 322:58 · 8 deathsRun 48:29 · 0 deathsRun 514:59 · 3 deathsRun 640:00 ✕ · 2 deathsRun 734:58 ✕ · 1 deathsRun 813:11 · 2 deathsRun 99:07 · 1 deaths

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

10.3 min · 35.7 min · 0

Level 3beacon moved

23 min · 29 min · 1

Level 4walker line

12 min · 38.4 min · 2

Level 5gate deck fixed

22.6 min · 1410.3 min · 2

Performance passes

Milliseconds; each row is scaled to its own before.

BeforeAfter

Frame in a fightforest cut into tiles

40 ms (25 fps)24 ms (42 fps)

Landing stallshaders warmed up

148 ms13 ms

Soldier cover search8 m grid

16 ms1.5 ms

Effects scriptfewer fire puffs

5 ms3 ms
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.