Notes from
the studio.
Game updates, what goes on behind them, and the occasional technical write-up — from the person building them.
Capacitor splash screen twice on Android 12
Android 12+ always draws an icon splash, and @capacitor/splash-screen holds it until hide(). How I got a Capacitor game down to one splash.
ReadCapacitor app slow on iPhone: a 2 s freeze
My Capacitor game's home screen froze on iPhone each time a player came back to it. An unlock check that grew with progress, and 100 hidden carousel panels.
ReadWKWebView crash out of memory: 100 images
Opening my game's card collection killed the app with no JavaScript error. The viewer drew all 100 full-size images at once. What I measured, and what not.
ReadClaude Code mobile app testing: a screen map
Claude Code re-read my game's code before every device test. A generated screen map took a fresh agent from one sentence to a passing test in three minutes.
ReadPixel diff visual regression for a refactor
I moved a live game's controls onto a new UI kit and had to prove nothing looked different. A pixel diff was useless until I ran it against itself first.
ReadANDROID_ID after reinstall: a per-install id
I keyed a coin ledger by a random id, then by ANDROID_ID. A backup broke the first and a reinstall broke the second. What I use now, and how I checked it.
ReadSame game difficulty on different screen sizes
In Echo Bat a tablet saw further ahead than a phone, and my test bot scored half again as much. A fixed design frame gives every screen the same view ahead.
ReadCanvas hit test that ignores transparent pixels
Tap one sticker, a different one moves. My canvas hit test used an oval, not the art. A 64×64 alpha mask per sprite fixed overlapping picks.
ReadDaily puzzle seed from date: a 35-day repeat
My daily challenge hashed the date to pick one of 365 puzzles. In 2026 it played 277 of them and repeated one after 35 days. The fix, and what switching cost.
ReadGame juice in React: sequencing animations
My puzzle's lift, landing and row celebration kept overlapping. Chaining every beat as a promise fixed it, and frame timings showed what it cost.
ReadgetBoundingClientRect wrong after CSS scale
I scaled every screen of my game with CSS transform scale. Two measurements inside it went wrong: a grid lost a column, and a drag lagged the finger.
ReadTransparent PNGs broke my perceptual hash
My image pipeline threw away new transparent sprite sheets as duplicates. The perceptual hash read RGB and ignored alpha, so every sheet looked the same.
ReadWeb audio unlock on mobile stops sounds
My game's mobile audio unlock ran on every tap and paused whatever was playing. The fix, the tests, and the counter that missed the bug the first time.
ReadPhaser tree shaking vs PixiJS bundle size
Four Vite builds. Phaser 4.2.1 came out at 344 KB gzipped whether I imported one math helper or a whole game. PixiJS 8.22.0 trimmed.
ReadA Claude Code subagent killed my Chrome
A Claude Code subagent closed my browser with one pkill line while testing a Tauri app, and Chrome was the wrong engine for that test anyway.
ReadTauri macOS codesign: code has no resources
My Tauri app had no icon and failed codesign -v with "code has no resources but signature indicates they must be present". The icon fixed only the icon.
ReadNo ViewController: AdMob consent form on iOS
In @capacitor-community/admob 8.1.0 the iOS consent form failed with "No ViewController" until initialize() ran. The cause, the fix, and the upgrade.
ReadPlay Console added 20% VAT to my in-app prices
I set six one-time products at €0.99 to €9.99. A license-tester purchase showed €1.19 to €11.99. The Play Console price was treated as before VAT.
ReadCrossword intersections: grid, bends or curves
My crossword generator gave one crossing per word. I measured grid, bent and curved words over 1,000 levels; curves took it from 3.96 to 5.66 per board.
ReadKling AI video to a looping sprite sheet
Turning Kling AI videos into Echo Bat's wingbeats meant painting out blinks the prompt forbade, cutting pink spill from 14% to 0.2%, and splicing beats.
ReadWhy my sprite animation flickered
Two bats in my game flickered. Four patches missed. Measuring every art pipeline step against the source video found a lossy WebP step far worse than the rest.
ReadTuning an endless runner difficulty curve
My Echo Bat test bot had a median of 52 points. Changing only the cave's rules, never the bot, took it to 1,757 and its best run to 4,608.
ReadMove limits without unsolvable levels
In a swap puzzle the move limit is the only way a level can become unsolvable. How head starts give every deal a swap count known before it is played.
ReadTuning a sonar mechanic with simulated players
In Echo Bat every rock was seen before it killed you, so the dark did nothing. Simulated players measured it, and three changes made darkness matter.
ReadCanvas pinch zoom lag in a Capacitor WebView
Pinch-zoom on my game's canvas ran at 3 fps on an Android emulator. A canvas size budget, baked shadows and dirty patches took it to 60.
ReadCapacitor AdMob interstitial resolves too early
My Capacitor game dealt the next level behind the interstitial, because the plugin's show call resolves when the ad appears, not when it closes.
ReadCapacitor local notifications not working
My Capacitor game's reminders never showed on Android 14+. An exact-alarm default, a toggle the OS stopped answering, my own quiet hours, a missing channel.
ReadCapacitor iOS game lag was HTML audio play()
My Capacitor game stuttered on a fast iPhone through three rounds of real fixes. The cause was <audio>.play() blocking the WebView for up to half a second.
ReadCapacitor AdMob banner disappears after refresh
In a long session my AdMob banner vanished for good. The Capacitor plugin destroys it when a refresh fails, and my wrapper never noticed. Proven on a device.
ReadR8 broke Capacitor permissions in release
R8 removed a method Google's consent SDK looks up by name and broke Capacitor's permission requests. Only the store build failed; my tests ran a debuggable one.
ReadHsdpShimActivity: targetPackageName is null
A Crashlytics crash inside Google's hsdp library, reproduced on an emulator and fixed by forcing hsdp 2.2.0. Three more like it point to a tester.
ReadCanvas ctx.filter is slow in Android WebView
Echo Bat fell to 8 fps in an Android WebView. ctx.filter cost 110–190 ms a layer, and the getImageData readback I swapped in cost more.
ReadReal AdMob ads not showing after publishing?
I flagged initializeForTesting as a silent zero-revenue bug in my Capacitor game, then unzipped the release AAB to see what it really ships. The plugin source says the flag was probably harmless.
ReadIs my playtest bot cheating? How I tested it
My Echo Bat test bot had to win using only what a player can see. I moved the rocks it should not see, then gave it human limits. Its median fell from 95 to 45.
ReadClaude Code bug hunts: subagent or session?
Parallel Claude Code subagents hunted bugs in two of my games while their test suites were green. What they found, the regressions their own fixes caused, and what verification threw out.
ReadAdMob Next-Gen SDK takes the app ID in code
I moved a Capacitor game to Google's Next-Gen ads SDK. All twelve device tests passed and not one ad was served, because the new SDK no longer gets its app ID from the manifest.
ReadClaude Code AGENTS.md: when the rules pile up
I let Claude Code agents run a side project for a week, adding a rule after every mistake. Then development stopped. Half the commits on main were rules, and one rule had hidden finished work for four days.
ReadFirebase Analytics in Capacitor sent nothing
My Capacitor game had Firebase Analytics, Crashlytics and Performance wired in, and collected nothing. Four separate failures, none of which printed an error.
ReadSprite sheet texture atlas: 10.1 MB to 2.7 MB
Packing a 24-frame bat animation for a canvas 2D game in a Capacitor WebView. Trim, dice into strips, a one-pixel bleed, and every frame rebuilt exactly, in a quarter of the memory. Plus the lossy WebP step I should have measured first.
ReadHow to separate sprites from AI sprite sheets
An image model drew 495 game icons as 4×4 sprite sheets with soft shadows. A grid cut broke them. Cutting by the sheet's own alpha, and asking for wider gaps, did not.
ReadMy AdMob ad covered the game on WebView 133
A bottom banner sat 24 dp too high and covered two game buttons, but only where Android System WebView was older than 140. Capacitor 8 and AdMob plugin 8.1 each made room for the navigation bar, and the fix was one version bump, measured to the pixel.
ReadCSS z-index not working with position: fixed
A popup under other elements, a label under its neighbours, zoom buttons over a popup. The z-index values were right every time. I broke the layering four ways and 1,404 tests stayed green.
ReadGoogle Play data safety form: AdMob + Firebase
How I filled in the Google Play Data safety form for a word game that ships AdMob, Firebase Analytics and Crashlytics, Play Billing and Play Games, from the build's own SDK list, with the reason behind each tick.
ReadAdMob no ads to show: publish a consent message
I swapped Google's sample AdMob app ID for the real one in a Capacitor game and no ad was requested at all. The consent check failed until I published a message in Privacy & messaging. Then, how I forced a no-fill on an emulator to test what shows instead.
ReadGoogle Play privacy policy URL, wrong game
Two of my games went live on Google Play with privacy policies written for builds that never shipped. How I audited every section against the shipped code, and fixed them without moving the URL.
ReadGit stash lost changes: two Claude sessions
Two Claude Code sessions shared one working tree, and git stash took files from both. How I got the lost changes back out of the object store, and the rules that stopped it happening again.
ReadHow to make Android emulator faster on a Mac
My Pixel 9 Pro emulator went from 3 fps to about 50 on a Mac with a cold boot, a smaller screen and Docker switched off. The same habits fixed most of my flaky device tests. One failure is still unexplained.
ReadAndroid lock orientation: landscape or portrait
Locking a Capacitor game to portrait in code instead of with screenOrientation, the adb rotation that never rotated, and the Android 16 tablets that ignore the lock anyway.
ReadWhat causes merge conflicts git can't see
Two PRs passed CI, GitHub called the merge clean, and the merged code did not compile. The conflicts git reports, and two real cases of the kind it cannot.
ReadWhat AdMob Unity mediation adapter status means
Three mediation adapters showed up NotReady in a project with no mediation installed. I installed one for real to find out which field actually tells you anything.
ReadUnity IL2CPP vs Mono on Android, measured
Same project, both scripting backends, Unity 6. IL2CPP came out 47% smaller and took twice as long to build — and the Mono APK would not install on the test device at all.
Readask-first: questions in a card, not a paragraph
A free Claude Code plugin that moves every question out of prose and into a card — one question at a time, with a recommended answer. Here is why I built it, how it works, and how to install it.
ReadAdMob Unity test IDs, and two error codes
I loaded the three AdMob test units in a real Unity build, then broke the ad unit ID two ways. The failures look nothing alike, and one gets mistaken for no fill.
ReadUnity 6 Android build errors that exit 0
Four times last week a headless Unity 6 Android build told me it had succeeded when it had not. Every one returned exit code 0, which is the only thing CI reads.
ReadThe AdMob Unity SDK check that stops nothing
The Google Mobile Ads plugin says it will not build without an App ID. I left the field empty and got an APK anyway — one that dies before the first frame.
ReadAdMob limited ad serving on the wrong app
I created a second AdMob app for a game that already had one. The listing link went to the empty app, the app I was shipping got limited ad serving, and only one of them could be fixed without a release.
ReadFour things break when CI posts to LinkedIn
The LinkedIn API call that publishes a post is six lines. The token that expires every 60 days with no refresh, the read scope you cannot have, and a filename that became a dead link took the rest of the afternoon.
ReadGradle build failed is not the error
Unity prints CommandInvokationFailure, then 67 environment variables. The line saying what broke is 235 lines up. Four failures I reproduced in Unity 6000.4.
ReadOne engine, many games
Six word puzzles built as six copies of one game. What it cost, and what an app directory looks like once the game moves out of it and only identity stays behind.
ReadGenerate levels offline, not at runtime
Runtime generation promises infinite levels for free. What it gives you is levels nobody has checked. The offline pipeline I use instead.
ReadRating puzzle difficulty by decisions
Grid size is the obvious difficulty proxy and it is wrong. Measuring the branching factor of the solve gives a rating that survives contact with players.
ReadDifficulty rates a stage, progression places it
Sorting a level library easiest-to-hardest gives a campaign that is flat for a hundred stages and then a wall. What replaced the sort.
ReadThe opening layout is part of the puzzle
Where the loose pieces sit is a packing problem, and its objective is how large the board can be drawn. Optimise that and you leak the answer.
ReadShipping a 4 MB level pack
392 levels of JSON, pretty-printed for review and minified for the store. The Vite plugin that does it, and the hook choice that hid a real error.
ReadTesting a level pack you did not write
Unit-testing the game does not tell you whether the 392 levels in this build are solvable. So the suite plays every one of them.
ReadPricing an economy off its difficulty model
Levels differ 13x in the thinking they demand, so a flat coin reward is wrong on nearly all of them. Tying payouts to the difficulty walk.
ReadCutting a Capacitor Android build in half
13.1 MB down to 5.9 MB delivered. R8 is off in the project Capacitor generates, and one library's consumer ProGuard rule was pinning 9,304 classes.
ReadA release pipeline you cannot forget
The Android project is generated, not committed — which reset the version code to 1 and nearly made the app un-updatable. Plus the checks worth failing on.
ReadCloudflare injects a beacon. My CSP said no.
A CSP error in production, from a script I never added. The usual fix is to allow the host — which would have made my privacy policy false.
ReadLighthouse's image budget is w × h ÷ 6
Improve image delivery" makes two complaints in one panel. Both have exact arithmetic behind them, readable straight out of the JSON report.
Readopacity 0 does not hide anything
My lightbox was invisible and still in the tab order. Fixing that broke focus handling silently, because focus() on a hidden element reports nothing.
ReadThe check that passed while broken
Two checks in my build were green for months while testing nothing. One was switched off by a guard clause, the other by a missing space in a regex.
ReadChanging a Google Play privacy policy URL
Five live listings pointed at my old Blogger URLs. How I moved them without ever serving a broken privacy policy link.
ReadThe blast radius rule for AI coding
How I decide what an AI agent may change on its own — sorted by what a mistake costs to undo, not by how hard the task is. Three zones, and the check for each.
ReadI don't review AI code. My build does.
Reading every diff at generation speed isn't review, it's skimming. Here is the 169-line verifier that gates this site, and the bug behind every check in it.
ReadI stopped writing prompts. I write the repo.
The best prompt I ever wrote was a README. What changed when I moved my conventions out of the chat window and into the files they describe.
ReadDeploying a static site to Cloudflare Workers
A build-verify-deploy pipeline on Cloudflare's free tier, and the five traps that cost me an evening — including one that silently takes your staging URL offline.
Read