AI GAME GENERATOR · MOVEMENT FEEL
Why Does Movement in Your AI Game Feel Floaty?
Measure how far and how long the player drifts after key release. Keep the starting speed and camera fixed, then change one braking setting. A low stop threshold can leave a long, slow tail.
“Floaty” describes a feeling, not one setting. A character can feel slow to start, slippery after release, or disconnected because the camera moves. Those symptoms need different tests. This page begins with one controlled release-to-stop model, then shows how to run the same comparison in a copy of your own game.
Separate startup, stopping and camera motion
First ask what the player sees. If the character takes too long to reach a useful speed while a key is held, inspect acceleration and the speed cap. If the character carries on after release, inspect the braking rule and the speed at which the game considers movement stopped. If the character stays near the center while the scenery slides, test the camera separately from the player's world position.
Change one variable per run. Keep the same room, spawn point, direction, hold duration and camera framing. Save a short recording or note the player's screen position at the moment of release and again at fixed intervals. A clear before-and-after record is more useful than a prompt that only says “make movement feel better.”
A controlled release-to-stop example
I wrote a small deterministic model to compare what “stop” can mean. All three runs start at 320 pixels per second in the same direction. The simulation advances in fixed 1/120-second steps. The reported distance is accumulated after each step; it is not a measurement from Luddi, SeaVerse, Star, or another generated game.
| Rule after release | Stop condition | Model distance | Model time |
|---|---|---|---|
| Immediate stop | Velocity becomes zero on release | 0 px | 0 ms |
| Linear braking | Subtract 1,200 px/s² until zero | 41.3 px | 267 ms |
| Exponential drag | Multiply velocity by e^(−8 × step); stop below 5 px/s | 38.1 px | 525 ms |
The third rule travels slightly less distance than linear braking in this run, yet takes almost twice as long to cross its declared stop threshold. That is why distance alone does not explain the whole sensation: a low-speed tail can linger after most of the travel is over. A game with no stop threshold can keep drifting indefinitely in its model, even if the last few pixels are hard to notice.
The exact numbers depend on the starting speed, deceleration rule, fixed step and threshold. The practical value is the controlled setup: start each comparison at the same speed, release at the same point, and record both distance and elapsed time. If the generated game does not expose velocity, use a screen recording and frame-by-frame positions as an approximation, and label that measurement accordingly.
Record the actual game without mixing variables
- Duplicate the game or create a throwaway room. Do not test changes on a live player save.
- Use a straight, unobstructed lane and the same spawn point. Keep the camera still or include a fixed landmark in the recording.
- Hold one direction for a fixed interval, such as one second. Release the key and record the player position at release, then after 100, 250, 500 and 800 milliseconds.
- Repeat the exact run once before changing a setting. If the two baseline runs differ, report the variation instead of treating one as definitive.
- Change only one control: acceleration, maximum speed, braking or the stop threshold. Repeat with the same hold and release timing.
- Write down which run was tested, what changed and what remained the same. If you cannot reproduce the result, mark it uncertain.
Screen-space distance can be misleading when the camera follows the player. Measure against a stationary object in the room, or record world position if the editor exposes it. If neither is available, describe the visible estimate rather than presenting it as exact pixels per second.
A prompt that asks for evidence and one bounded edit
Make a copy of this game before changing it. Keep the room, player, spawn, camera, top speed and controls unchanged. Add a temporary readout of horizontal velocity in px/s and log the input, timestamp, player position and velocity for each update. In a straight lane, hold Right for exactly one second, release it, and show the time and distance until speed falls below 5 px/s. Repeat the same run once. Do not change any movement values yet. Report the two release-to-stop results and whether they agree.
After recording the baseline, change only braking strength. Run the same test again and show the new values beside the baseline. Do not change acceleration, speed cap, camera, collision or level layout. Keep the original copy available so the change can be rolled back.
This request asks for a measurement before a fix, then isolates one edit. If the generator cannot provide a trustworthy velocity readout, ask it to explain how the value is calculated and compare it with the visible recording. Do not accept a precise number just because it appears in a debug label.
Read the pattern before changing the prompt
- Slow to get moving: compare the same held-key interval and inspect acceleration before raising top speed.
- Moves well but glides after release: compare release distance and time; adjust braking or the low-speed cutoff, one at a time.
- Slides on screen while near a landmark: check camera tracking before changing player velocity.
- One run feels different from the next: stabilize the starting state and repeat before choosing a setting.
A community discussion about AI game iteration uses “floaty” movement as an example of feedback that does not identify its cause. The method above turns that description into a testable question; it does not claim the post measured any particular generator. Source: the discussion about improving AI-generated games.
For browser timing, use a monotonic clock and record its resolution and the browser context; wall-clock timestamps can jump. See MDN’s documentation for Performance.now(). A timer does not reveal world position by itself, so pair it with a stable landmark or an exposed position value.
Questions to ask after a movement test
Is higher top speed the fix for floaty movement?
Not necessarily. Top speed changes travel while input is held. Drift after release is a separate part of the test. Record both phases before editing either setting.
Can I compare pixel distance from a screen recording?
Only when the camera framing is stable and the scale is known. If the camera follows the player or zoom changes, use a fixed world landmark or report a visual estimate rather than an exact world distance.
Should the game stop at exactly zero speed?
That depends on the intended controls. If the game uses a small cutoff, write down the threshold and apply it to every comparison. A hidden or changing cutoff makes “time to stop” hard to reproduce.