Background
Background

Building game data systems from the top down

A designer wants the second enemy wave to begin three seconds after the first is defeated. The data needs to describe that rule clearly, let the designer change it, and give the game what it needs to carry it out.

Here, game data means the information designers author to describe gameplay: waves, enemies, timing and conditions in this example. Building the system includes deciding what that data can express, how its parts relate, how designers work with it, and how the game uses it.

I want to start with the gameplay the designer needs to create. Then shape the data, authoring workflow and implementation around that intention.

How it goes wrong

It starts with good intentions: implement the requirements and prepare for everything the game might need later.

But a few brief conversations leave gaps. Engineers fill those gaps with assumptions, adding options and rules “just in case”, without checking how designers will actually use them.

Development takes time. Context gets lost, requirements change, and new requests get fitted around old decisions. Adding another setting can feel easier than revisiting the structure.

Eventually, changing when a wave starts may mean editing several assets and remembering which settings work together. The system can do more, but everyday work gets harder.

Regularly working through real tasks with designers helps catch that drift before more code depends on those assumptions.

Build from the top down

  1. Gameplay result

    What should happen in the game?

  2. Authored data

    What concepts, values and relationships do designers need to describe?

  3. Working with the data

    How do designers edit, validate and understand it?

  4. Implementation and runtime

    How does the code use that data to produce the intended behaviour?

Engineers help shape all four layers from the beginning. Develop and revisit them together as the game changes.

For the encounter, a proposed data model could contain a list of waves, each describing enemies and a start condition, plus a rule for completing the encounter. The second wave’s condition needs to express both what it waits for and the delay that follows.

A separate ability-kit sample shows two ways to work with the same populated mode data: standard Unreal Details and a focused custom editor. Clear labels, grouping and sensible defaults may be enough for a simple asset. A dedicated editor earns its place when repeated tasks need a clearer workflow.

Standard Details

Native Unreal 5.8 sample render: standard Details scrolled within Ember Vanguard Overdrive, showing nested Haste and Health modifiers, Flame Burst rank 2, Inferno rank 3, Burning Aura, the Overdrive tag, and suppressed Cure and Revive.

Standard Details, scrolled within the expanded Overdrive settings.

Custom editor sample

Native Unreal 5.8 isolated custom-editor sample with Ember Vanguard Overdrive selected. The focused view shows matching stat modifiers, abilities and ranks, plus effects, suppressed abilities, slot and link changes, and unlock conditions. Synthetic data; not the production Lumina interface.

The same mode’s stat changes, abilities and rules in a focused view.

Native UE 5.8 captures of the same populated ability-kit data: standard Details and a working custom editor sample. Isolated sample with synthetic data; not the production Lumina interface.
Inside the examples

The hypothetical encounter, Forest Ambush, would contain:

  • Wave 1: Three melee enemies, starting when the encounter begins.
  • Wave 2: Two ranged enemies, starting three seconds after wave 1 is defeated.
  • Completion: All waves defeated.

In this proposed model, an encounter contains waves; each wave describes its enemies and when it starts. Those relationships give the designer a way to express the intended sequence.

To judge an encounter-authoring workflow, ask a designer to change the delay, add a wave and explain when it starts. Observe where they hesitate or need help.

The screenshots show a separate implemented example: the Ember Vanguard ability kit’s Overdrive mode. Both views contain a Haste multiplier of 1.25, a Health percentage addition of -0.15, Flame Burst at rank 2, Inferno at rank 3, Burning Aura, the Overdrive tag, and suppressed Cure and Revive.

These are native offscreen Slate renders. The sample supports mode selection, edits to existing stat values, ability ranks and unlock level, plus undo and save. Other displayed fields are read-only summaries. Automated edit, undo and save/reload checks passed; human usability and gameplay behaviour were not observed.

What this means for the implementation

The authoring data can differ from the runtime data. Designers might edit an ordered list of named waves while the implementation converts it into a representation suited to execution.

Develop the data model and interface together. If an ordinary edit requires opening several assets, revisit how those assets relate. A clearer model may solve the problem before a large custom editor is needed.

Include sensible defaults, undo and useful validation. A missing spawn location should lead the designer to the field they can fix. A runtime status such as “Waiting for two enemies in wave 1” can explain why the next wave has not started.

Work through it together

Try a small working encounter with a designer. Change the timing, add a wave and check that the data describes what they intended and the game behaves as expected. Let what you learn change the design.

← Back to Technical Blog

Move over the bright dot and follow the line. P pauses. Escape closes the game.

Sigil Trace

Move over the sigil before time runs out.

Score0000
Spells00
Best on this browser0000
I · KINDLE SPELL 01
START

Trace the Sigil with your mouse

Start at the glowing dot and follow the line. No click needed.

or press Enter
Move your mouse onto the bright dot. No click needed.