Automated level generation with a human-in-the-loop CGAN-based framework for the Godot platform
2026 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesisAlternative title
Automatiserad generering av spel-banor med ett människa-i-loopen CGAN-baserat verktyg för Godot-plattformen (Swedish)
Abstract [en]
Game level design is a time-consuming process that often requires multiple iterations ofplaytesting and refinement. This can pose challenges for smaller development teams withlimited resources. This thesis investigates how a Conditional Generative Adversarial Network(CGAN) combined with a Human-In-The-Loop (HITL) framework can support game leveldevelopment within the Godot game engine, reducing manual effort required in level design. A HITL framework is designed and implemented, in which developers can iterativelyguide the system by selecting generated candidate levels, which are incorporated into thetraining data for subsequent generations. The framework generates two-dimensional platformer levels by conditioning the model on previously generated level segments, producing locally coherent and structurally connected levels. Automated evaluation methods forplayability, difficulty and linearity are implemented to filter generated levels and assess thegenerative capabilities of the system across iterations.The systems ability to follow feedback was tested by an automated process, whichemulated developer feedback in selecting levels for iterations of the system. The tests weredivided into four different cases, where the generated levels linearity and difficulty metricwas requested to be either high or low. Two different datasets were used, each with adifferent set of tiles and levels, resulting in eight tests in total. Only playable levels wereconsidered during this process. The results indicate that the system can adapt to feedbackrelating to the linearity and difficulty, but with a high dependency on the used dataset.
Place, publisher, year, edition, pages
2026. , p. 59
Keywords [en]
AI, Godot, Game Development, Level Generation, Machine Learning, Evaluation
Keywords [sv]
AI, Godot, Spelutveckling, Nivågenerering, Maskininlärning, Evaluering
National Category
Artificial Intelligence
Identifiers
URN: urn:nbn:se:liu:diva-224690ISRN: LIU-IDA/LITH-EX-A--26/035--SEOAI: oai:DiVA.org:liu-224690DiVA, id: diva2:2069185
Subject / course
Computer science
Presentation
2026-06-08, IDA Herbert Simon, Campus Valla, Linköping, 13:15 (English)
Supervisors
Examiners
2026-06-302026-06-102026-06-30Bibliographically approved