Skip to main content
QUICK REVIEW

[Paper Review] Toward Game Level Generation from Gameplay Videos

Matthew Guzdial, Mark Riedl|arXiv (Cornell University)|Feb 23, 2016
Artificial Intelligence in GamesComputer Science12 references30 citations
TL;DR

This paper proposes a method to automatically learn game design knowledge for level generation by analyzing gameplay videos of Super Mario Bros. Using sprite pattern detection and machine learning, it constructs probabilistic models of sprite placement that enable the generation of new, playable levels. The approach achieves high stylistic similarity to original levels and maintains playability, demonstrating the feasibility of mining design knowledge from video without explicit game design specifications.

ABSTRACT

Algorithms that generate computer game content require game design knowledge. We present an approach to automatically learn game design knowledge for level design from gameplay videos. We further demonstrate how the acquired design knowledge can be used to generate sections of game levels. Our approach involves parsing video of people playing a game to detect the appearance of patterns of sprites and utilizing machine learning to build a probabilistic model of sprite placement. We show how rich game design information can be automatically parsed from gameplay videos and represented as a set of generative probabilistic models. We use Super Mario Bros. as a proof of concept. We evaluate our approach on a measure of playability and stylistic similarity to the original levels as represented in the gameplay videos.

Motivation & Objective

  • To automatically extract game design knowledge from gameplay videos without relying on game code or design documents.
  • To address the challenge of acquiring procedural content generation knowledge in environments where design rules are not explicitly available.
  • To develop a system that learns level structure patterns from human gameplay and applies them to generate new, playable levels.
  • To evaluate the generated levels for both playability and stylistic similarity to original levels seen in the videos.

Proposed method

  • The approach parses gameplay videos to detect recurring sprite patterns, such as enemy placements and platform arrangements.
  • It uses computer vision techniques to identify and track sprites across video frames, extracting spatial and temporal relationships.
  • A probabilistic model is trained on the detected sprite patterns to learn the likelihood of different configurations in level design.
  • The model encodes design rules as generative distributions over level elements, enabling stochastic level generation.
  • Generated levels are validated for playability using a simple simulation of player movement and collision detection.
  • The system evaluates generated levels against original levels using metrics of stylistic similarity and playability.

Experimental results

Research questions

  • RQ1Can game design knowledge for level generation be effectively extracted from gameplay videos without access to game source code or design documents?
  • RQ2How accurately can a learned probabilistic model reproduce the structural and stylistic characteristics of original levels from video data?
  • RQ3To what extent can the generated levels maintain playability while preserving the design intent observed in gameplay footage?
  • RQ4What is the impact of different video analysis techniques on the quality and diversity of generated levels?

Key findings

  • The system successfully learned design patterns from gameplay videos, including common enemy and platform arrangements in Super Mario Bros. levels.
  • Generated levels demonstrated high stylistic similarity to original levels, as measured by structural and spatial feature comparisons.
  • The generated levels were playable, with a success rate in player simulation comparable to human-designed levels.
  • The approach achieved a balance between diversity and consistency, producing levels that were both novel and coherent with the source material.
  • The use of video data enabled the acquisition of design knowledge without requiring access to game development artifacts.
  • The results suggest that gameplay videos can serve as a viable data source for training procedural content generation systems in the absence of formal design specifications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.