StatePlay: State-Aware Game World Models for Mechanics-Consistent Generation
Abstract
Recent game world models can generate visually realistic and interactive environments conditioned on player actions. However, games are not defined by pixels alone; they are governed by explicit mechanics, namely state-dependent rules that control health reduction, skill activation, and game termination. These mechanics depend on precise internal states, such as health points, skill meters, and timers, which are tightly coupled with visual observations and determine how gameplay evolves. Without modeling these state dynamics, existing game world models may generate visually plausible rollouts but violate the underlying game rules. In this paper, we propose StatePlay, a novel state-aware game world model that jointly predicts visual content and game states to promote mechanics-consistent generation. StatePlay adopts a mixture-of-transformers (MoT)-style architecture that preserves specialized visual and state representations while enabling cross-modal interaction, allowing predicted states to guide frame generation. Each branch is further optimized with a distinct objective suited to its modality. Experiments show that StatePlay achieves an average normalized L1 distance below 0.06 for state prediction. Furthermore, compared with models without explicit state modeling, our method improves mechanics fidelity in generated game rollouts by 18.6%. Overall, our work highlights the importance of state-aware game world modeling and advances beyond pixel-level realism toward complete and mechanically faithful game generation.
Community
๐ StatePlay: Beyond pixel-level realism toward mechanics-consistent Game World Models! Instead of modeling gameplay through visual observations alone, we explicitly predict internal game states and use them to guide frame generation, ensuring consistency with the underlying game mechanics.
โจ Highlights:
State-Aware Generation: Jointly predicts visual content and precise game states, including health points, skill meters, and timers.
Mechanics-Consistent: Couples predicted states with frame generation to enforce state-dependent rules such as valid skill activation, health reduction, and game termination.
Specialized Architecture: A Mixture-of-Transformers-style design preserves modality-specific visual and state representations while enabling effective cross-modal interaction.
Strong Performance: Achieves a normalized state-prediction error below 0.06 and improves mechanics fidelity by 18.6% over models without explicit state modeling.
๐ Dive in:
๐ Paper: https://arxiv.org/abs/2607.26754
๐ Project: https://jimntu.github.io/stateplay_page/
๐ป Code: https://github.com/Jimntu/StatePlay
๐ค Model: https://huggingface.co/onepiece1999/StatePlay
๐๏ธ Dataset: https://huggingface.co/datasets/onepiece1999/StatePlay-Dataset
Get this paper in your agent:
hf papers read 2607.26754 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 1
Datasets citing this paper 0
No dataset linking this paper