Simon Tasker

Games, apps, and the occasional detour.

Game Dev · · 5 min read

Dead Tide: Making it look and sound right, and letting people in

Recorded sound, guns that wear out, an art pass over every building, a coastline that is not made of squares, bridges, level crossings, and putting it all on my own server the same day.

Sound#

For most of the day the game made its noises in code: synthesised beeps and bangs that did the job and sounded like it. So I set it a goal: find proper sounds for everything in the game and wire them up correctly.

It came back with recorded sounds from free packs released into the public domain: a firearms library with close and distant recordings of each gun, a zombie pack, reload sounds, and several of Kenney's packs for footsteps, doors, impacts and the interface. Every source is credited in the project.

They are positional, so a gunshot to your left is on your left, and they get muffled and quieter with distance. Far away gunfire uses the distant recording rather than a quieter copy of the close one. That matters in a game where noise is the whole point, because you can hear where a fight is before you see it. Footsteps change with the ground, too, so grass, concrete, wood and carpet each sound different.

Things that wear out.#

The economy grew in an afternoon. You can sell to the Quartermaster now, at forty percent of the price, less if it is worn. The better guns are locked behind your reputation with the Ark, so a new player cannot do three jobs and buy a hunting rifle. The SMG, the shotgun and the revolver need you to be Known. The AR-15 needs Trusted. The AK, the hunting rifle, the suppressor and the scope need Respected.

Weapons wear down with every shot or swing. A worn gun is less accurate, and below thirty percent it starts to jam, so you buy cleaning kits. There are bigger backpacks, face masks that make it harder for the dead to smell you, gas masks for the toxic cloud a bloater leaves behind, body armour, and road flares that light an area and lure the dead away from you.

The inventory screen, with the backpack on the left, worn equipment in the middle and whatever is on the ground on the right.
The inventory keeps the layout of the asset pack's inventory, rebuilt in the game's own menus: backpack, equipment, and whatever is on the ground. E takes everything.

An art pass.#

This evening I told it the buildings did not look great. The doors and windows were placed badly and the walls were too heavy, and I pointed it at Zero Sievert for reference.

Walls are now thin, with a lit edge along the top and a face where there is open ground beside them. Windows are evenly spaced along each wall, framed, and kept away from corners and doors. Doors have frames and swing open. Inside, a partition wall never runs into a doorway.

The coastline was made of squares, because the world is made of tiles. Now it is smoothed. Every corner of every tile gets a value for how much land is around it, and every pixel of the shore blends those values with a little noise and decides whether it is sand or sea. There is wet sand at the edge, then foam, then shallows.

A sandy coastline curving smoothly round the islet with foam along the edge of the water.
The coast after the change. The world underneath is still tiles. It just does not look like it.

Roads that crossed water used to just carry on across the sea. Now they are plank bridges with railings, across the full width of the road.

A tarmac road becoming a wooden plank bridge where it crosses a lake, with a railing along the water side.
A bridge over a lake. The first attempt only covered the road tiles that happened to be water, which looked like a staircase.

Then, while that was in progress, I asked for more. The railway's ballast was blocky, so the track bed is now drawn as one smooth strip along the curve. Where a road meets the line there is a proper level crossing, with the road surface running between the rails, stop lines and red and white barrier posts.

A road crossing the railway in front of a station, with stop lines, red and white barrier posts and the rails running through the tarmac.
The crossing by Witherdale Station. The tarmac runs between the rails and there is a stop line on each approach.

And roads had no markings, so now they have worn edge lines and a dashed centre line, plus cracks, potholes, tar patches, weeds and crumbling verges.

A crossroads in Wolfridge with worn white edge lines, a faded centre line and cracks and potholes in the tarmac.
Wolfridge after the road pass.

On my own server.#

At about seven in the evening I said we needed players testing it, and it should go on my CloudPanel server. That box already hosts this blog, Tiny World and Festive Fun, and the other Claude sessions had left notes on how to get in, so it read those rather than starting from scratch.

It is a CloudPanel Node site behind HTTPS. Deploying is one script that checks the code, builds it, copies it up and restarts the server. There is a keepalive on a timer, because a reboot once took Festive down for thirteen days without anyone noticing, and I would rather not do that again.

The players' data lives on the server and is never overwritten by a deploy. There is a status page that says how many people are online, so I can check before I kick anyone off. That ended up mattering: every deploy restarts the game.

The last few things.#

Two more changes before this was written.

Skills used to cap out at five ranks, which you could fill quickly. Now each skill has three tiers of five ranks. The second tier opens at level eight and costs two points a rank, the third at level sixteen and costs three. Later ranks count for less, so a maxed skill is strong without breaking the game.

The skills screen, with each skill showing three rows of five pips marked I, II and III, the later rows dimmed with the level they open at.
Three tiers per skill. The rows you cannot buy yet are dimmed, with the level they open at.

And I noticed I could see further left and right than up and down, because screens are wider than they are tall. Now your sight is a circle, and beyond it things are dimmed the same way they are behind a wall.

A day#

Eleven hours, give or take. What I keep coming back to is how much of it was me saying what was wrong. That is the job now: play it, notice the cleaners are not cleaning, notice the riders are running on the spot, and say so.

It is live at deadtide.simontasker.co.uk. Wash up, find Voss, and keep your torch off.

There was a day two. It started with a list and ended with nobody getting left behind.