Naod TadeleNaod Tadele
← All posts
Games, Godot, AI

Making Harbor City, a superhero game in Godot

November 30, 20264 min read
Elias Mercer standing on a rooftop at sunset, looking out over Harbor City and the bay

Harbor City started with one question. What does it feel like to fly over a city at the speed of sound? I wanted to find out by building the city first and the hero second.

The hero is Elias Mercer. He wears a business suit and he can fly. The city is quiet until meteorites start falling into the streets and aliens called the Veyr climb out of them. Their commander, Varkos, is a brute who leaps across rooftops. I wrote the story as a short script for Part 1, with four missions, and then built the game around it.

Elias flying over the towers of Harbor City with the bay and the mountains behind

A whole world built in code

I made the game in Godot. Almost nothing is placed by hand. The city grid, the bay, the mountains, the forests, the farm fields and the villages in the hills are all generated when the game starts. The buildings, characters, trees and props come from free asset packs by Quaternius, and the animations come from Mixamo. That let me spend my time on how things move and feel instead of modelling.

The city has traffic, crowds that panic when aliens land and stop to stare when you fly past, and a day and night cycle. There is wind now too. It moves the grass in waves, bends the flames and carries the smoke away.

Making it feel like flying

Flight was the hardest part to get right. My first fast flight pose looked strange, and the camera I added to keep up with it made things worse. I went back to the simpler version because it felt better, even though it looked less dramatic on paper.

Speed only means something if the world reacts. Boost long enough and you break the sound barrier with a boom and a white flash. Land hard and the street cracks. People along the street get knocked over by the shockwave.

A meteorite slamming into the city in a burst of fire, smoke and flying debris

Enemies you can feel hitting

Combat went through many rounds. At first one punch killed an alien, because my strength grew with every level and never stopped. Later the opposite happened and aliens on a hillside did not react at all. The game checked whether a wall was in the way by aiming at their knees, and on a slope the hill itself blocked the punch. Fixing the aim made every hit land, and adding a recoil made every hit visible.

There are packs of small aliens, horned chiefs, giants with clubs and a demon. Varkos fights on foot. He leaps across the city, crashes down in a crater, throws cars and claps out a shockwave. I tuned him by playing against him until losing felt fair.

The demon Infernax towering over a city street at dusk

Things I did not expect to spend time on

Aliens kept sinking into the mountains. The terrain you see is made of large flat triangles, but the game was placing aliens using the smooth formula underneath. On a slope those two disagree by a metre or more. Standing them on the visible ground fixed it.

A whole army marching on the city also turned into an invisible wall. Every alien had a solid collision box, and forty of them together blocked my flight. Moving them onto their own physics layer let me fly through the army while punches and heat vision still hit.

Elias using heat vision on a car down a city street

How I built it

I built Harbor City with an AI coding assistant, Claude Code. I wrote the story, made the design decisions, played every build and said what felt wrong. The assistant wrote most of the code and the tools around it, like the script that cuts the trailer and the small renderer that bakes the explosion animation. The character voices were generated with ElevenLabs.

Working this way changed where my time went. I spent less of it typing code and more of it playing, noticing problems and describing them precisely. "The aliens do not react to my punches" turned out to be two separate bugs. Learning to describe a problem so it could be found was most of the work.

Commander Varkos emerging from the smoke after he lands

Part 1 is finished. The question I want to keep working on is the one I started with. How much does a world need to react before flying through it feels real?

Play Harbor City on itch.io