Flap, Flip, Squash

A fast, twitchy arcade runner where gravity is a toy and momentum is your paintbrush. Thread the needle through tight gaps, time your flips, and squash those landings to climb the leaderboard. Built in Python with Pygame and shipped to the browser via Pygbag (WebAssembly), Flap, Flip, Squash delivers responsive, low-latency action right in your web tab.

How to Play

  • Up Arrow: Jump
  • Down Arrow: Dash
  • Gravity Flip: When gravity is reversed, the controls invert (Up = Dash, Down = Jump). Adapt fast!

Tip: Master the timing of flips and dashes mid-air to extend runs, thread gaps, and set up safe landings.

Features

  • Gravity-flip gameplay: Traverse ceilings and floors with reversible gravity
  • Tight, responsive controls: Designed for fast reads and precision inputs
  • Squash-and-stretch polish: Snappy animations on jump, dash, and landings
  • Progressive challenge: Increasing speed and obstacle variety over time
  • Persistent progress: High scores and stats saved between sessions
  • Built for browser: No installs; runs via WebAssembly

Tech & Making Of

  • Language: Python 3.12
  • Core Library: Pygame (rendering, input, timing)
  • Web Build: Pygbag (compiles CPython to WebAssembly to run in modern browsers)
  • Data/Save: JSON stored via browser-local storage (through pygbag’s filesystem layer)
  • Loop & Timing: Frame-capped to 60 FPS with clock-based delta for smooth motion
  • Assets: Lightweight PNG sprites; optimized for quick loading in web environments

Why this stack?

  • Pygame gives a simple, reliable 2D pipeline for deterministic physics and crisp input handling.
  • Pygbag enables true Python on the web—no transpiling to JS—so gameplay code runs as-is in the browser.
  • JSON saves keep stats and highscores persistent without external services.

Can you conquer gravity and perfect the flip-dash rhythm? Flap, Flip, Squash awaits your best run.

Published 26 days ago
StatusReleased
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(4 total ratings)
Authorbenvelzul
GenrePlatformer
Tagsinfinite-runner, Singleplayer

Comments

Log in with itch.io to leave a comment.

get 67