All projects

Pip-Pop

A bubble shooter on the App Store with a hex-grid trajectory simulation and an adaptive shot solver.

Role
Co-developer
Year
2026
Status
Shipped
Stack
Godot, GDScript, Objective-C++, Firebase
The game's own geometry and feel constants (launch 2300 → cruise 925 px/s, 0.1 s snap, 0.82 s jelly settle), drawn in the browser. Flight and pop shown at half speed. An illustration, not a capture.

Overview

What it is

Pip-Pop is a portrait bubble shooter on an 8-column hex grid, published on the App Store and co-developed in a team. An assist model chooses the next bubble from the shots the player can actually reach, Kunai power shots slice straight through the board, combos trigger choice cards, and 12 swappable visual themes rotate on every board clear. It runs on Godot 4.7.2 with typed GDScript. I built the game systems and the native Firebase integration.

Shot 1 · Aim and bank shot: the dotted guide bends off the right wall, jelly settle, pop, a hanging group drops · 8 s recording
Draft: a device recording goes here.

Numbers

12
Themes
19
Choice cards
65
Aim samples
1.25 ms
Solver budget
81
Test scripts
258
Commits

Story

Why I built it

Pip-Pop is the first game I've published. The idea came one night when I started wondering how a popular block puzzle game like Block Blast became so successful with such a simple algorithm: downloaded so many times, earning a lot of money, and keeping people glued to the screen for hours. I stayed up until morning researching it.

What I found is that it comes down to a few well-known principles of player engagement rather than complex mechanics:

  • Immediate sensory feedback ("game feel" or "juice"): haptics, bright, colorful pops and sound that make every action feel satisfying.
  • The near-miss effect: almost clearing a board makes players want to try again right away, because it feels like success was within reach.
  • Variable rewards: when good moments like special pieces or big combos come at unpredictable times, the game stays exciting instead of becoming predictable.
  • Flow: the challenge has to stay matched to the player's skill, easy enough to understand but hard enough to hold attention.

After a lot of reading on this, I wanted to apply these ideas to a classic theme, the bubble shooter. So Pip-Pop is really an experimental game.

  • Immediate sensory feedback

    jelly settle 0.82 s

  • The near-miss effect

    board clear +500 × combo

  • Variable rewards

    specials at uneven moments

  • Flow

    RELIEF · BUILD · TENSION

Game systems

Trajectory and shot solving

The next bubble is chosen from shots the player can really make. A solver samples 65 aim angles, traces each ray through up to 32 wall bounces on a snapshot of the board, and records where it lands, direct or bank shot. For every colour it simulates the placement and files the best landing as IMMEDIATE (three or more pops, or two drops), SETUP (no pop, but a safe pair) or NEUTRAL. A tier roll, weighted by phase and assist strength, then picks the colour. Preview, live flight and solver share one geometry kernel, so what the game promises is physically reachable. To fit a frame, the solve is a resumable job sliced to 1,250 µs per frame, with landing routes cached by board fingerprint.

The solver re-run on a sample board: 65 rays, up to 32 bounces, one landing per cell and route. Simplified: SETUP means “forms a pair”, the bar is bubbles removed, and the slice count is illustrative.

Pacing

Pressure and the Director

Pressure is a meter that fills once per resolved shot: +9 for a normal pop, more for shots that do nothing, less after big clears and high combos. When it reaches the threshold, one row descends. The threshold steps down as a run goes on: 36, then 27 at shot 16, 21 at shot 48 and 16 at shot 96. On top of that, a Director cycles RELIEF, BUILD and TENSION phases by completed shots, and a big clear or a board clear forces a short relief. Neither takes score, wall-clock time or player history as input. The numbers were calibrated with a headless simulator that plays bot profiles through the same rules.

Pressure and Director constants from the game's shipped config. Illustration: every shot is a plain +9 pop with no relief, and the stretches between the four windows are skipped. Yellow dots mark the shots that bring a row down.

Choice cards

Preview equals result

At combo 8, 16, 24 and so on, the game offers two of 19 choice cards, at most four times a run. When the pair is dealt, a pure function builds a plan for each card (which bubbles pop, convert or recolour, what goes into the shooter queue) without touching the board. The board can't change before the pick, so the highlight the player previews is exactly what happens. The chosen plan then runs through the normal pop and drop pipeline as a free action: no shot spent, no combo change, no pressure gain. Cards are catalogue rows with a family, a rarity, an effect type and parameters, so adding one is usually a new row, and the effects are unit-tested with an injected RNG.

Preview equals result: the plan is built at deal time from a board snapshot. Two real catalogue rows; the board, the shot count and the plan values are illustrative.

Performance

A frame-time governor

Twelve art-heavy themes with particles, sprite-sheet pops and shaders have to stay smooth on low-end phones. A hysteresis governor watches smoothed frame time: at 18.5 ms for 0.45 s it halves the particle density, at 24 ms it cuts it to a quarter, and it steps back up one level after 2 s below 17.4 ms. The primary pop feedback never depends on it. Effects are pooled and capped, and the next theme is picked and loaded in the background while the current board plays, so the theme swap happens on the board clear.

The governor's logic run in the browser: the thresholds, hold times and density scales are the game's. The frame-time trace is made up, and the shard count is illustrative.

In the game

Three more moments

  • Shot 3 · Combo to choice cards: PICK YOUR POWER, tap once to preview, tap again to fire · 10 s recording
    Draft: 10 s recording
  • Shot 5 · Kunai slice: aim through a column with a bomb or sweeper, release, cascade · 6 s recording
    Draft: 6 s recording
  • Shot 6 · Board clear: BOARD CLEARED +500 × combo, Kunai banked, theme crossfade · 8 s recording
    Draft: 8 s recording

Native bridge

Firebase on iOS

An Objective-C++ bridge connects the Godot game to Firebase on iOS; Android has a Kotlin counterpart. Remote Config carries one atomic gameplay_config JSON with exactly ten keys. If any group fails validation, or the scoring group differs from the build, the whole payload is rejected and the last known-good policy stays. A valid payload is staged and copied into the game only when the next run starts, so a run in progress never changes. Telemetry has its own gate: it stays off until the player consents and Remote Config approves, and a fresh process starts closed.

The validation rules and the telemetry gate are the game's; the payloads and the timing are illustrative.

Team

Working with a friend

Early in development I invited my friend Kadir to join, and we've been building it together since. Kadir mostly works on animations, theme, UI and effects, and I mostly work on the algorithms and the rest of the game. I brought Kadir in because I lacked experience on the visual side and knew that's where Kadir's interest was, and also because I specifically wanted to build a project with a friend.

Illustration of the split described above. The six arcs are areas, not a measure of effort.

Challenge

The hardest part

The hardest part, and something I'm still working on and learning, is the game's algorithm: what the next ball will be, how colors are distributed, how often special balls appear, and how often a new row comes down. When the balance is even slightly off, the game becomes either too hard or too easy. Getting it right, so the game stays challenging without frustrating or boring players and they keep wanting to play, is difficult.

The four things named above, as dials. The drift is made up; it only shows why no needle can be set alone.

Notes

What I learned

  • A game's success depends less on how complex its mechanics are and more on how it feels to play. The small details, like a haptic tap or a satisfying pop, matter much more than I expected.
  • Game balance isn't something you design once on paper. Next-ball selection, color distribution and row timing all affect each other, so it's a process of tuning and testing over and over.
  • Godot doesn't cover everything on its own. To use Firebase on iOS, I had to build an Objective-C++ bridge between the game and the native SDK.
  • In a game, the code runs every frame, so performance is part of the design. The shot solver has to fit inside a single frame's time budget, or the game stops feeling smooth.
  • Splitting the work with Kadir based on what each of us is good at let both of us focus on our strengths, and the game turned out better for it.

Status

Where it is now

Pip-Pop came out on the App Store in September 2026, and we're still developing it. I know marketing matters a lot for a game like this, and we're currently working on that.

Next project

Agentic Financial Data Analytics

An LLM analytics agent over ~54,000 Turkish banking series that verifies every figure it reports.

Shipped · 2026
  • Python
  • DuckDB
  • Qwen 3.8 27B

© 2026 Emre Tutal