Learning to play Geometry Dash in imagination
A world model learned from about two hours of recorded play. The agent practices inside it, then plays the live game at 60 FPS from screen pixels alone.
It practices in a world it learned from two hours of play
Screen captureThe game window, as a player sees it
Square cropThe area ahead of the avatar
Edge mapSobel edges keep geometry, drop color
Model input64 × 64 pixels, encoded as 64 tokens
- Watch
A tokenizer turns each frame into 64 tokens. A transformer learns to predict the next frame’s tokens and whether the avatar dies.
About two hours of recorded play - Imitate
The action model copies the key presses in the recordings.
The same recordings - Practice
The action model improves with PPO, a reinforcement learning method, inside the frozen world model.
Imagined play only, never the live game - Play
The action model reads the encoded screen and holds or releases the jump key every frame. No frames are generated.
The live game, 60 FPS on an RTX 2060
Play inside the world model
Every frame below is predicted by the world model, running in your browser. Watch the trained agent, or take over and hold to jump.
About 88 MB, downloaded once and cached by your browser. Runs on your device.
Checking your browser

The model could not start in this browser
- Step
- 0
- Action
- Idle
- Death probability
- 0%
- Frame time
- –
- Runs on
- –
Space jump · P pause · R restart · N next dream
Practice in imagination made the agent survive longer in the live game
On all five levels, the action model lasted longer after practicing in the world model than when it only imitated recorded play, including a level it never saw during training.
Exact values
| Level | Seed | No jumping | Imitation | After practice | Gain [95% interval] |
|---|---|---|---|---|---|
| Stereo Madness | 43 | 46.2 | 120.2 | 280.1 | 159.9 [122.7, 195.4] |
| 44 | 130.6 | 280.4 | 149.8 [116.8, 180.6] | ||
| 45 | 156.0 | 308.8 | 152.8 [106.7, 199.8] | ||
| Back on Track | 43 | 63.4 | 123.5 | 260.0 | 136.5 [98.8, 174.4] |
| 44 | 111.1 | 195.9 | 84.8 [31.9, 139.6] | ||
| 45 | 120.2 | 209.4 | 89.2 [34.6, 147.2] | ||
| Polargeist | 43 | 41.5 | 52.4 | 65.2 | 12.8 [-0.2, 28.6] |
| 44 | 49.0 | 68.3 | 19.4 [3.0, 39.0] | ||
| 45 | 46.2 | 63.1 | 16.8 [5.7, 31.5] | ||
| Stereo Madness Copy | 43 | 135.0 | 366.8 | 435.6 | 68.8 [-33.3, 166.1] |
| 44 | 285.7 | 495.8 | 210.1 [127.9, 285.5] | ||
| 45 | 299.4 | 546.8 | 247.4 [167.6, 320.7] | ||
| Stereo INSANE Nerfed | 43 | 46.1 | 104.8 | 290.4 | 185.5 [151.1, 217.6] |
| 44 | 102.1 | 342.8 | 240.6 [200.8, 280.2] | ||
| 45 | 97.8 | 266.7 | 168.8 [115.4, 223.9] |
Fast enough to play at 60 FPS
In the live game, capturing the screen, running the model and pressing the key took 12.0 ms on average. 99% of 5,000 measured frames finished within 14.9 ms, inside the 16.7 ms that one frame lasts at 60 FPS, on an RTX 2060 that was also rendering the game. 0.22% of frames ran over.
What the dreams get wrong
Dreams follow the real level for about one screen of travel, 45 steps: image fidelity falls from 32.8 dB after one step to 20.0 dB after 45. Past that, the model invents the level. Some continuations stay coherent; others break like this.
Infinite replicationThe ship ends up in a corridor that repeats the same blocks forever. Empty levelNo obstacle is the most likely next obstacle, so the model generates an empty floor. Object inconsistencyJump orbs turn into spikes. The model loses track of what an object is from one frame to the next. Impossible obstacleA staircase rises from floor to ceiling, leaving the ship no way through.
Cite this work
@misc{tariolle2026dashvmc,
title = {DashVMC: Real-Time Discrete World Model Control in Geometry Dash},
author = {Florent Tariolle and Florian Yger},
year = {2026},
eprint = {2609.40003},
archivePrefix = {arXiv},
note = {PTA workshop, NeurIPS 2026},
url = {https://arxiv.org/abs/2609.40003}
}