Anther Studios home

In development

Apex
Architect

A race track tycoon game
by Anther Studios.

Visit the development blog
Conceptual circuit drawing with an amber racing line, grandstands and start grid
Concept circuit study

Development blog

Follow via RSS

Maps, mods, and the Steam Workshop

I started the Steam Workshop prototype with a map I could make in Map Creator. The map carries the height of the ground and the textures I’ve painted onto it. That means two players can start a sandbox on the same hillside and lay out completely different circuits. I’m keeping Workshop uploads private while I test them.

Getting a map back from Steam

On August 14 I published a map from Map Creator, subscribed to it with the same Steam account, and opened the copy Steam installed. The original opens read-only. I added Save Local Copy so I could reshape that hillside in my own version and keep the subscribed map intact.

I also wanted to know what happens when a map maker fixes something after the first upload. In a separate test I uploaded two revisions to the same Workshop listing. I unsubscribed and subscribed again to fetch the second revision, then compared the downloaded files with the ones I’d uploaded. Both revisions matched.

Sharing a venue

A map gives me the ground to build on. A venue lets me pick up where someone left off. On September 20 I published a private venue, changed the terrain, and updated the same listing. I loaded the copy Steam delivered in the Windows build and could see my edit in the ground.

What still needs work

That venue test only covered terrain. I’ve since added track geometry, banking, and routes to the venue save format. I still need to send a venue with a banked corner through Steam, load the subscribed copy, and check that the corner keeps its shape and the route still connects.

I also need to test sharing between two Steam accounts. Longer term, I’d like players to be able to share a standalone track layout, a prop, or a pack of assets. Those still need their own tools for packaging and loading them.

The road map (pun intended)

The plan for Apex Architect starts with a small go-kart track. A player who runs it successfully can expand it into a local race track, then a regional track, and eventually a globally renowned circuit.

From terrain to track drawing

The terrain tools and the first lighting pass are in place. In my first track-drawing experiment, I can click points along a hillside and see a green line joining them in Unity’s Scene view. The next step is turning that line into a track a car can follow.

  1. Terrain
  2. Prototype lighting
  3. Track drawing

Cars, pits, and circuit safety

Once there’s a track to drive, I can start simulating a lap, including what happens when a car pulls into the pits. Walls and crashes come next. Together, those systems will give me a way to rate a circuit’s safety and decide which racing series it can host.

  1. Track physics simulation core
  2. Ancillary track components like the pits and the simulation involved with cars using the pits
  3. Walls
  4. Simulating events like crashes
  5. Simulating track safety to have track rating for what type of racing series can race

Running and growing the venue

Each tier should attract different racing leagues. Moving up from karting to local racing will change the safety requirements the circuit has to meet, what fans expect when they visit, and how much income a race brings in.

  1. Core gameplay loop
  2. Enhancing gameplay loop with starting with a go-kart track, and advancing to a local track, regional track, etc.

Spectators and race-day traffic

I want to simulate what people do at the track, from taking a seat in a stand to stopping at a stall. Once that’s working, I can follow the trip beyond the gates and work on how fans arrive, park, and get home after a race.

  1. Add in more track components like stands and stalls
  2. Add in patrons and simulating them using the track components
  3. Extra road types and parking lots for fan arrival and departure
  4. And more to come later to add polish

A prototype for sunlight and moonlight

I hooked the sun up to the game clock so the light moves across the terrain as the day passes. At noon a ridge casts a short shadow. By late afternoon that same shadow stretches down the slope. I added a fixed-time dial so I can hold the sun at one angle and compare the shape of a hillside before and after a brushstroke.

Daylight and dusk

The sun’s height controls how bright and warm its light is. I gave the ambient light its own curve so I can tune how much light reaches the shaded side of a hill. That gives me room to keep a slope visible for a while after the sun goes down.

At normal speed, one real minute advances the clock by one game hour. I also added a shorter night and a daylight-only mode that moves the light back and forth between morning and evening. One bug showed up when the clock rolled past midnight. I fixed the sudden jump in lighting by letting the sun keep moving below the horizon all the way to the next sunrise.

Moonlight

I placed a second light opposite the sun. As it rises, it casts a faint blue light and weak shadows across the terrain. I tried putting a moon in the scene as a mesh, but it could intersect the hills. I took the mesh out and kept the moonlight.

What still needs work

I still need to check the lighting on both the flat map and the hills around Spa. At dusk I want to see whether I can follow the contour lines on a shaded slope, especially with the camera pulled back. That will help me judge how dark to make the shadows. I’d also like to draw the moon directly in the sky so it stays behind the terrain.

Shaping the terrain

The core terrain tools are in place. I can cut into a hillside, level a patch of ground, or shape a steady climb between two points. I added contour lines to make the topography easier to read. Where the lines bunch together, the hillside is steepest.

The contours were one of the harder parts of the terrain system to get right. A Unity shader reads the camera’s depth data to find the height of the visible ground, then draws lines at regular elevation intervals. Keeping the lines aligned with the surface while a brushstroke changes its shape took some work, and the overlay still needs polish.

Sculpting tools

  • Raise/Lower — Hold the left mouse button to build up the ground under the brush, or the right button to dig it out.
  • Smooth — Brush over a ridge or a dip to soften it. The brush averages nearby heights so the edited ground blends into its surroundings.
  • Set To Height — Enter a target height or right-click a spot to sample it. Brush with the left button to bring the surrounding ground toward that height.
  • Slope — Right-click where the slope should end, then hold the left button at your starting point and brush toward the target. The tool grades the ground between the two elevations.

Map presets

There are two starting maps. Flat is completely level, so you can build on it as-is or sculpt every hill yourself. Spa Region Terrain starts with the real hills and valleys around Spa in Belgium.

For Spa, I downloaded public elevation data from the Walloon regional government. Its 2021–2022 aerial laser survey measured ground height on a one-metre grid. I wrote a Python script that crops the survey to a square around Spa, lines it up with north in the game, and converts the elevations into the game’s terrain format. The map covers 4.096 km on each side, with about 217 metres between its lowest and highest points.

Service public de Wallonie · 1 m terrain model, 2021–2022 · CC BY 4.0

Painting textures

Paint Surface is still a rough first pass. Players will be able to pick a texture such as grass, dry dirt, sand, gravel, or rock and brush it onto the ground with the left mouse button. I plan to expand the painting tool as development continues.

On June 22 I added support for saving painted landscapes in Map Creator. Both the hills and the painted surfaces carry over when a player starts a new sandbox from that map.

Terrain performance

I’ve taken terrain optimization as far as I can for now. Smooth reuses the memory it needs for each pass, and I’ve grouped ground texture updates so several edits can share one refresh.

I still see the frame rate drop when I hold Smooth near its maximum brush width of 256 metres. For each point under the brush, Smooth reads the heights of its neighbours and blends the point toward the local average. Doubling the brush width covers roughly four times as many points, and that work repeats throughout a stroke. Those large Smooth strokes are the first thing I want to revisit.

Terrain screenshot coming soon

The studio

Anther Studios

I’m a solo developer making games for fun. Apex Architect is my current project.

Visit the studio homepage
The studio’s pink lily on a sky blue field.