Gravity Flip: One Tap. Two Surfaces. 800 Pixels Per Second of Neon Death.
You run. You die. You run again.
Gravity Flip is an endless auto-runner built on a single mechanic: tap the screen to flip gravity. Your character hurtles through a neon tunnel, stuck to the floor. Obstacles appear. You tap. Gravity inverts. You launch to the ceiling. More obstacles. Tap again. Floor. Ceiling. Floor. Ceiling. Dead.
The entire game is one button. The entire game is also a precision instrument that will push your reaction time to its absolute limit.
The Core Mechanic
You control a glowing cyan square racing through a tunnel. Gravity pulls you to the floor by default. Tap anywhere on the screen and gravity reverses — you accelerate upward toward the ceiling. Tap again and you drop back down. There is nothing else. No jump button, no slide, no power-ups, no shields.
The character responds to gravity with real physics. When you flip, you do not teleport to the opposite surface. You accelerate at 2,500 pixels per second squared, capped at a maximum flip velocity of 600 px/s. This means the flip takes time. You are vulnerable in transit. The space between floor and ceiling is not a safe zone — it is a kill zone where your hitbox floats through whatever obstacles occupy the middle of the tunnel.
When you get close enough to a surface (within 5 pixels), the game snaps you flush against it. This snap mechanic is subtle but essential: it prevents micro-bouncing and ensures you are always cleanly on a surface when you think you are on a surface. The physics are forgiving in the margins so they can be brutal in the open.
Speed Scaling: 300 to 800
The game starts at 300 pixels per second. This is the tutorial speed, though the game never calls it that. At 300 px/s, you have time to see obstacles coming, process the pattern, and flip with a comfortable margin.
It does not stay at 300.
| Distance (meters) | Scroll Speed (px/s) | Feel |
|---|---|---|
| 0 – 2,000 | 300 | Comfortable |
| 2,000 – 4,000 | 310 | Barely noticeable |
| 4,000 – 10,000 | 320 – 350 | Warming up |
| 10,000 – 20,000 | 350 – 400 | Fast |
| 20,000 – 50,000 | 400 – 550 | Intense |
| 50,000 – 100,000 | 550 – 800 | Terminal velocity |
Speed increases by 5 px/s for every 100 meters traveled. The math is linear, but the perception is exponential. Going from 300 to 350 feels like nothing. Going from 700 to 750 feels like the game just doubled in speed. Your reaction window compresses from “comfortable” to “inhuman” over the course of a single run.
At 800 px/s, obstacles cross your screen in fractions of a second. You are not reacting anymore. You are predicting. If you have to think about whether to flip, you are already dead.
The distance is measured in meters at a scale of 10 pixels per meter. Your score is displayed as a distance counter — the further you go, the higher it climbs. There are no points, no coins, no multipliers. Just how far you survived.
The Five Obstacle Patterns
The game procedurally generates obstacles in batches of eight, selecting from five distinct pattern types. Each type demands a different response.
1. Floor Block (30% chance) A solid block extends upward from the floor. Simple. Flip to the ceiling to dodge it. This is the bread-and-butter obstacle, and at low speeds it is trivially easy. At high speeds, the window to flip in time narrows to milliseconds.
2. Ceiling Block (30% chance) The mirror image. A block hangs from the ceiling. Stay on the floor or flip back down. Combined with floor blocks in sequence, these create the fundamental rhythm of the game: flip up, flip down, flip up, flip down.
3. Dual Block — Floor and Ceiling Simultaneously (20% chance) Both surfaces spawn obstacles at the same position. They extend inward, leaving a narrow gap in the middle of the tunnel. The heights are calibrated at 25-35% of tunnel height each, keeping the gap passable but tight. These are the pressure moments — you must be in transit between surfaces, floating in the center, threading the needle. Mistiming the flip even slightly means hitting one side or the other.
4. Alternating Rapid Sequence (10% chance) Three obstacles in quick succession: floor, ceiling, floor. The spacing between them is half the normal gap. This forces a rapid triple-flip: ceiling, floor, ceiling. The narrow spacing at high speeds creates a staccato rhythm that breaks you out of whatever steady pattern you had settled into.
5. Moving Obstacle (10% chance) A block on either surface that oscillates vertically by up to 30 pixels. Move speed ranges from 40 to 80 px/s. These are the wildcards. Their hitbox is not static, which means memorizing patterns will not save you. You must read the current position and react in real time. Moving obstacles are rendered in orange (versus red for static obstacles) so you can identify them instantly — small visual mercy.
All obstacles are 40-80 pixels wide and occupy 30-60% of the tunnel height. The gap between obstacles shrinks as speed increases: 200 pixels of spacing at 300 px/s compresses down to 100 pixels at 800 px/s. Faster speed, less time, tighter spacing. The difficulty compounds.
The Tunnel: Neon Aesthetics as Game Design
The visual design is not decoration. It is functional.
The tunnel occupies 60% of the screen height, centered vertically. The floor and ceiling are rendered as neon green lines with a multi-layered glow effect — four rendering passes at increasing widths and decreasing opacity create the illusion of light bleeding off the surface. The background is a deep navy gradient from near-black to dark indigo.
Inside the tunnel, a moving grid of vertical lines scrolls with the game world. This parallax grid accomplishes two things: it communicates speed viscerally (the lines blur together at high velocity), and it provides depth cues that make the 2D space feel three-dimensional.
At speeds above 600 px/s, horizontal speed lines begin appearing inside the tunnel. Their count and opacity scale with speed — up to 8 lines with increasing visibility as you approach 800 px/s. This visual noise is intentional. It degrades your ability to clearly see upcoming obstacles, simulating the perceptual compression that real speed creates.
The character itself is a cyan square with a white inner highlight and a 12-pixel blur glow. It leaves a trail of 4 afterimages that fade in opacity and shrink in size, creating a comet-tail effect that communicates movement direction during flips. During a gravity flip, the character rotates toward 45 degrees in the flip direction, then settles back to zero on landing. These are small details. They make the game feel alive.
Obstacles glow. Static blocks are rendered in red with an 8-pixel blur aura. Moving blocks glow orange. Both have a subtle white highlight stroke on their edges. When you die, you know what killed you — the color tells you whether it was a fixed pattern you should have memorized or a moving obstacle you should have tracked.
Strategy Tips
Learn the rhythm, not the obstacles. Obstacle generation is random, but the spacing is predictable at any given speed. Internalize the timing between obstacles at your current speed and you can flip preemptively rather than reactively.
Early flips are safer than late flips. The acceleration physics mean it takes time to reach the opposite surface. Flipping early gives you margin. Flipping late means you are still in transit when the obstacle arrives. There is no penalty for being on the opposite surface too soon.
Respect the dual blocks. When floor and ceiling blocks appear simultaneously, your instinct will be to panic-flip. Do not. You need to be in the middle. If you are on the floor, flip early enough that you are mid-tunnel when you reach the dual block, then immediately flip back.
Watch for orange. Moving obstacles are the most dangerous pattern because they break prediction. When you see orange, switch from rhythm mode to reaction mode. Track the block’s current position and commit to your flip based on where it is, not where you expect it to be.
Accept that runs end. At 700+ px/s, survival is measured in seconds, not minutes. Every meter past that threshold is a personal record. Do not tilt when you die at high speed — the game is designed to kill you there.
The Flow State
There is a well-documented psychological phenomenon in gaming where challenge and skill align to create total immersion. Gravity Flip engineers this deliberately. The speed ramp is gradual enough that you never feel a sudden spike in difficulty, but constant enough that you never plateau. You are always operating at the edge of your ability.
The one-tap control scheme is essential to this. There is zero cognitive overhead. No combo inputs, no directional choices, no weapon selection. Your conscious mind has nothing to manage except timing. This frees your subconscious to handle pattern recognition, spatial awareness, and motor response — the components of flow.
Every 500 meters, a subtle tick sound fires. Every 1,000 meters, a level-up sound plays. When speed crosses a new 100 px/s threshold, a warning tone sounds. These audio milestones are breadcrumbs that tell you how far you have come without requiring you to look at the distance counter. They keep you anchored in the run without breaking focus.
The Geometry Dash Parallel
If you have played Geometry Dash, the comparison is immediate. Both games are one-input auto-runners. Both use geometric visuals and escalating speed. But where Geometry Dash uses hand-designed levels with memorizable patterns, Gravity Flip is procedurally infinite. There is no memorization. There is no “beating” it. There is only the distance counter and the question of how long your reflexes hold.
This is what makes it viral in a different way. A Geometry Dash level has a completion percentage. Gravity Flip has a score that is always beatable. There is always one more meter. The leaderboard never closes.
Built With
- Flutter — 60fps game loop via custom painter for buttery smooth rendering
- Dart — Deterministic physics engine with frame-rate-independent delta-time updates
- CustomPainter — Full-canvas rendering for tunnel, obstacles, character, trails, and speed effects
- Procedural generation — Weighted random obstacle batching with speed-adaptive gap spacing
- AABB collision detection — Tight 14px hitbox inside a 16px character for fair but firm collision
- HSL neon rendering — Multi-pass glow effects on tunnel walls, character, and obstacles
- Sound milestone system — Audio cues at 500m intervals, 1000m level-ups, and speed thresholds
Tap to flip. Survive the tunnel. Chase the number that never stops climbing. Click here to download for free.