# How to Make a Flap-and-Dodge Game in Scratch > Build one-button gravity flapping, scrolling obstacle gaps, and crisp point scoring. How to Make a Flap-and-Dodge Game in Scratch — Build one-button gravity flapping, scrolling obstacle gaps, and crisp point scoring. ## Core approach Give the player constant gravity and set y_vel = 9 whenever Space or click is pressed. Clone pipe pairs at random heights on the right edge and scroll them left. - Wait for Space release so holding the button does not rocket upward. - Award +1 point when a pipe’s x position crosses the player’s x position. - Tilt the sprite slightly based on y_vel for expressive flight. ## Pro tip & next steps Keep the gap generous at first and tighten slowly as score rises. - [All Project Tutorials](/en/projects/): Browse more English guides in this section. - [Scratch Block Dictionary](/en/dictionary/): Look up any Scratch 3.0 block with examples. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/projects/flappy-style/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)