# US 2025/0083049 A1 · Automated Layout Design for Building Game Worlds

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0083049 A1
- Document ID: US20250083049A1
- Status: Published application
- Kind: A1
- Application number: 18/882,607
- Filed: 2024-09-11
- Published: 2025-03-13
- Earliest claimed: 2023-09-11
- Assignees: Autodesk, Inc.
- Applicants: Autodesk, Inc.
- Inventors: Yi Wang; Adam Gaier; Dale Zhao; Hilmar Alexander Koch; Jieliang Luo; Christopher Michael Wade; Evan Atherton
- Web page: https://patentgrep.com/patent/US20250083049A1

## CPC

- A63F 13/60: Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
- A63F 13/47: involving branching, e.g. choosing one of several possible scenarios at a given point in time
- A63F 13/67: adaptively or by learning from player actions, e.g. skill level adjustment or by storing successful combat sequences for re-use
- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- G06T 17/05: Geographic models
- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- A63F 2300/6009: for importing or creating game content, e.g. authoring tools during game development, adapting content to different platforms, use of a scripting language to create content
- A63F: CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method and system provide the ability to build a game world. A story is obtained that provides a textual narrative of a sequence of events. Plot facilities and a set of constraints are extracted from the story. Each of the plot facilities is a conceptual location where an event happens in the story. Each constraint defines a spatial relation between plot facilities. A map is generated based on the set of constraints by: generating a terrain of two dimensional (2D) polygons that is each associated with a biome type, and assigning each plot facility to a point on the terrain. The assigning complies with a maximum number of constraints and utilizes reinforcement learning (RL) to optimize positions of the points.

## Claims

### Claim 1

A computer-implemented method for building a game world, comprising:
(a) obtaining a story comprising a textual narrative of a sequence of events;
(b) extracting two or more plot facilities and a set of constraints from the story, wherein:
(i) each of the two or more plot facilities comprises a conceptual location where an event happens in the story;
(ii) each constraint in the set of constraints defines a spatial relation between two or more of the plot facilities; and
(c) generating a map based on the set of constraints, wherein the generating comprises:
(i) generating a terrain, wherein the terrain comprises two dimensional (2D) polygons and each 2D polygon is associated with a biome type; and
(ii) assigning each of the two or more plot facilities to one or more points on the terrain, wherein the assigning complies with a maximum number of constraints in the set of constraints, and wherein the assigning utilizes reinforcement learning (RL) to optimize positions of the points.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein:
(a) the two or more plot facilities are extracted from the story using a plot reasoner;
(b) the plot reasoner extracts the two or more plot facilities based on integrated information in a knowledge base;
(c) the knowledge base comprises:
(i) a story domain that comprises the events and domain constraints;
(ii) a map component ontology comprising map units, geographical constraints, and functional constraints; and
(iii) game design common sense knowledge.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein:
the two or more plot facilities and the set of constraints are each associated with a natural language utterance in the textual narrative;
the two or more plot facilities and the set of constraints are extracted from the story using a large language model.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein:
the assigning of each of the two or more plot facilities on the map to the one or more points is performed using a gradient descent method.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the reinforcement learning (RL) comprises:
training an RL Model; and
utilizing the RL model to sequentially move each of the two or more plot facilities on the map to optimize the positions of the points.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the training the RL model comprises:
generating a dataset of multiple facility layout tasks, wherein:
each task arranges a layout of a defined number of plot facilities on top of the map based on a subset of constraints from the set of constraints;
the map comprises a minimum number of the biome types;
the map is procedurally generated; and
each of the constraints in the subset of constraints is based on a constraint type from a set of constraint types.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the map is procedurally generated by:
generating a grid of the 2D polygons from random points, wherein the 2D polygons comprise Voronoi polygons;
performing Lloyd relaxation to ensure even distribution of polygon centroids;
generating a coastline using a flooding simulation, wherein during the generating, tiles within the terrain are assigned a terrain type of ocean, coast, lake, or land;
determining an elevation for each of the tiles by a distance from the coastline with the elevation normalized to a defined height distribution;
creating a river along a downhill path from a randomly selected mountain corner to a nearest terrain type of lake or ocean;
assigning a moisture level to each tile according to a distance from a freshwater source;
assigning the biome type to each of the 2D polygons based on a combination of the moisture level and elevation.

### Claim 8 (depends on 6)

The computer-implemented method of claim 6, wherein each constraint is generated by:
associating a set of random new constraints to a randomly sampled map, wherein:
the random new constraints are randomly selected from a set of predefined constraint types;
each predefined constraint type comprises a biome placeholder and a plot facility placeholder;
the predefined constraint types in the set of predefined constraint types are instantiated to become the random new constraints by substituting each biome placeholder with the biome type and substituting each plot facility placeholders with a plot facility identification;
for each constraint type, a heuristic function checks if each random new constraint is satisfied by the randomly sampled map; and
the randomly sampled map is provided as the map representing the story.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving input moving one of the two or more plot facilities;
autonomously updating the map and the positions of the points based on the input, wherein the autonomously updating occurs in real time dynamically as the input is received.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, further comprising:
utilizing the map as a debugging tool to:
evaluate an interaction between the story and spacing between the two or more plot facilities; and
modify the story or move one or more of the two or more plot facilities based on the evaluation.

### Claim 11

A computer-implemented system for building a game world, comprising:
(a) a computer having a memory;
(b) a processor executing on the computer;
(c) the memory storing a set of instructions, wherein the set of instructions, when executed by the processor cause the processor to perform operations comprising:
(i) obtaining a story comprising a textual narrative of a sequence of events;
(ii) extracting two or more plot facilities and a set of constraints from the story, wherein:
(1) each of the two or more plot facilities comprises a conceptual location where an event happens in the story;
(2) each constraint in the set of constraints defines a spatial relation between two or more of the plot facilities; and
(iii) generating a map based on the set of constraints, wherein the generating comprises:
(1) generating a terrain, wherein the terrain comprises two dimensional (2D) polygons and each 2D polygon is associated with a biome type; and
(2) assigning each of the two or more plot facilities to one or more points on the terrain, wherein the assigning complies with a maximum number of constraints in the set of constraints, and wherein the assigning utilizes reinforcement learning (RL) to optimize positions of the points.

### Claim 12 (depends on 11)

The computer-implemented system of claim 11, wherein:
(a) the two or more plot facilities are extracted from the story using a plot reasoner;
(b) the plot reasoner extracts the two or more plot facilities based on integrated information in a knowledge base;
(c) the knowledge base comprises:
(i) a story domain that comprises the events and domain constraints;
(ii) a map component ontology comprising map units, geographical constraints, and functional constraints; and
(iii) game design common sense knowledge.

### Claim 13 (depends on 11)

The computer-implemented system of claim 11, wherein:
the two or more plot facilities and the set of constraints are each associated with a natural language utterance in the textual narrative;
the two or more plot facilities and the set of constraints are extracted from the story using a large language model.

### Claim 14 (depends on 11)

The computer-implemented system of claim 11, wherein:
the assigning of each of the two or more plot facilities on the map to the one or more points is performed using a gradient descent method.

### Claim 15 (depends on 11)

The computer-implemented system of claim 11, wherein the reinforcement learning (RL) comprises:
training an RL Model; and
utilizing the RL model to sequentially move each of the two or more plot facilities on the map to optimize the positions of the points.

### Claim 16 (depends on 15)

The computer-implemented system of claim 15, wherein the training the RL model comprises:
generating a dataset of multiple facility layout tasks, wherein:
each task arranges a layout of a defined number of plot facilities on top of the map based on a subset of constraints from the set of constraints;
the map comprises a minimum number of the biome types;
the map is procedurally generated; and
each of the constraints in the subset of constraints is based on a constraint type from a set of constraint types.

### Claim 17 (depends on 16)

The computer-implemented system of claim 16, wherein the map is procedurally generated by:
generating a grid of the 2D polygons from random points, wherein the 2D polygons comprise Voronoi polygons;
performing Lloyd relaxation to ensure even distribution of polygon centroids;
generating a coastline using a flooding simulation, wherein during the generating, tiles within the terrain are assigned a terrain type of ocean, coast, lake, or land;
determining an elevation for each of the tiles by a distance from the coastline with the elevation normalized to a defined height distribution;
creating a river along a downhill path from a randomly selected mountain corner to a nearest terrain type of lake or ocean;
assigning a moisture level to each tile according to a distance from a freshwater source;
assigning the biome type to each of the 2D polygons based on a combination of the moisture level and elevation.

### Claim 18 (depends on 16)

The computer-implemented system of claim 16, wherein each constraint is generated by:
associating a set of random new constraints to a randomly sampled map, wherein:
the random new constraints are randomly selected from a set of predefined constraint types;
each predefined constraint type comprises a biome placeholder and a plot facility placeholder;
the predefined constraint types in the set of predefined constraint types are instantiated to become the random new constraints by substituting each biome placeholder with the biome type and substituting each plot facility placeholders with a plot facility identification;
for each constraint type, a heuristic function checks if each random new constraint is satisfied by the randomly sampled map; and
the randomly sampled map is provided as the map representing the story.

### Claim 19 (depends on 11)

The computer-implemented system of claim 11, wherein the operations further comprise:
receiving input moving one of the two or more plot facilities;
autonomously updating the map and the positions of the points based on the input, wherein the autonomously updating occurs in real time dynamically as the input is received.

### Claim 20 (depends on 11)

The computer-implemented system of claim 11, wherein the operations further comprise:
utilizing the map as a debugging tool to:
evaluate an interaction between the story and spacing between the two or more plot facilities; and
modify the story or move one or more of the two or more plot facilities based on the evaluation.
