cs.HCMar 18, 2026

SPRITE: From Static Mockups to Engine-Ready Game UI

Authors: Yunshu Bai, RuiHao Li, Hao Zhang, Chien Her Lim, Ming Yan, Mengtian Li

Organizations: Shanghai University, Shanghai, China · MiAO Worlds, Singapore, Singapore

Abstract

Game UI implementation requires translating stylized mockups into interactive engine entities. However, current "Screenshot-to-Code" tools often struggle with the irregular geometries and deep visual hierarchies typical of game interfaces. To bridge this gap, we introduce SPRITE, a pipeline that transforms static screenshots into editable engine assets. By integrating Vision-Language Models (VLMs) with a structured YAML intermediate representation, SPRITE explicitly captures complex container relationships and non-rectangular layouts. We evaluated SPRITE against a curated Game UI benchmark and conducted expert reviews with professional developers to assess reconstruction fidelity and prototyping efficiency. Our findings demonstrate that SPRITE streamlines development by automating tedious coding and resolving complex nesting. By facilitating rapid in-engine iteration, SPRITE effectively blurs the boundaries between artistic design and technical implementation in game development. Project page: https://baiyunshu.github.io/sprite.github.io/

Figures & tables

Explore similar work

CardsList
  1. GameUIAgent: An LLM-Powered Framework for Automated Game UI Design with Structured Intermediate Representation

    Mar 16, 2026Wei Zeng, Fengwei An, Zhen Liu +1Vision-Language AgentsLLM Agent Self-Improvement

  2. From Visual Widgets to UI Code: Efficient Tool-Grounded Generation

    Aug 12, 2026Houston H. Zhang, Tao Zhang, Li Gu +5Image-to-Code GenerationCode Generation

  3. GAMEGO: Training Game-Dev Agents with Synthetic Trajectories Anchored in Real-World Assets

    Oct 2, 2026Haoyue Yang, Jingyao Li, Zhengfan Wu +3Agentic Code GenerationSynthetic Data Generation for Language Models