Plecky part 4: Coco, worlds and a jetpack
Part 4 of the Plecky series. Part 1: a plectrum with rock hair. Part 2: MIDI, calibration, iPad and Windows. Part 3: LAN party, stars and Android. Part 5: chases, roadies and real music.
Every week a whole bunch of amendments and bug fixes comes out of Plecky. Last weekend alone: 30 commits. A dog, a glitter guitar, a jetpack, fireworks, seven new levels and a menu with worlds. The code isn’t the bottleneck anymore, testing is. So the kids and I have work to do.

What the bot can’t test
Since part 1 there’s a bot that plays every level, and a regression suite that runs it all headless: does the level load, can it be finished, does the music stay on the beat, does Coco stay on screen, does LAN still sync. No new level goes in without passing.
It catches a lot. But a level the bot can finish is not automatically a good level. The bot also happily finishes a boring one. To make levels that are “really good” you still need a lot of human input. Kids are perfect for that: they tell you straight away when something sucks.
Some things from the last week that no test would ever have found:
- Coco barked the moment a level started. Technically fine, just odd. Now he waits at the first checkpoint, and every bark falls on a beat.
- An ear the wrong way round on Coco in some poses. And then: “a collar please”, and “sleeker, a less bulbous muzzle: it’s a fast little dog”.
- The menu panels looked jagged. Slanted polygons without antialiasing. They’re rounded slabs now.
- You couldn’t pick an avatar by tapping it on the iPad. “People expect that, the left and right pads are a keyboard idea.”
- On the iPhone the touch controls covered the level when it started on the ground floor. The camera now lifts the level clear of them.
- You kept having to rotate the device, because the build only allowed one landscape orientation per device. The setting was under the wrong key.
- The placeholder music raced at the fast tempos once the lead came in. Now it calms down above 130 BPM.
- The HUD sat over the play area on the iPad’s 4:3 screen.
All small fixes. But you only find them by playing on the real device.
Builds straight to the iPad and iPhone
This is the part I’m most happy about. Getting a new build onto the devices used to mean a cable and Xcode. Now it goes through TestFlight, fully from the terminal:
scripts/ios-archive.sh # release export, Xcode archive, upload to App Store Connect
scripts/asc.py builds --wait # wait until Apple has processed it
scripts/asc.py testflight # newest build to the internal group "Band", with release notes
asc.py talks to the App Store Connect API (Python standard library only, the JWT is signed with the system openssl). The group is called “Band”, of course. A few minutes after the upload, the iPads and the iPhone show “new build available”, over the air. Tap update, play, complain, repeat. No cables, no Xcode, no “can I borrow your iPad for a second”.
Wireless pushed builds: that rocks! The same script can also do the store listing, the screenshots, the privacy form and the submission later on. The only thing the API can’t do is create the app record, that’s one click on the website.
Android runs too now (the NDK finally got installed, and Plecky starts on the emulator), but it doesn’t have this nice over-the-air loop yet.
The test list for this week
This is what the kids and I have to play this week. It’s all built and the bot is happy with it, now we need to see if it’s any fun.
Coco: is he actually fun?

Coco is a comic-strip Jack Russell who waits at the first checkpoint and follows you from then on. He can’t die; if he’s left behind he poofs away and pops up next to you. His back is a platform: jump on him, jump again, and you go about 20% higher. Fall into a pit while Coco stands nearby and you zap onto his back instead of dying.
To test:
- Is it easy enough to land on him? The first version ran away right when you tried. He should hold still now.
- Does he get in the way or poof too often?
- Is it clear that you need him? The glitter guitar in his levels is out of reach without him.
- Does he look right in the game? He started as drawings (
make_coco.py), went through three directions and a few rounds of corrections:
The glitter guitar: too hard?

A golden guitar hidden in some levels, 1000 points and a riff when you grab it. In Medley it needs the highest jump in the game: hop, hop onto Coco, and the third jump of the jump chain from his back (three quick jumps in a row go higher than two). On paper it works, with 12 px to spare. Will a kid ever figure that out? No idea.
The jetpack: fun or chaos?

In Sprint you pick up a jetpack: ten seconds of flight on the jump button, tap to hover, hold to climb. After the first test it also got a prize: a glitter guitar way above the screen, only reachable by flying. To test: is ten seconds enough, and does anyone find that guitar?
Stars and fireworks

Platform levels now end with the same star card as the rhythm levels, with fireworks behind it: “boom, made it”. One star for the gig, one for every ticket, one for no deaths. To test: does that rule feel fair, or is three stars impossible?
The new levels: too fast?

Medley (130 BPM) has every element in one level. Ska (170 BPM, now Mosh) is built around the trampoline. And five more to fill the worlds:
| Level | BPM | What it’s about |
|---|---|---|
| Purple B | 100 | slides, ice, movers, Coco and the guitar |
| Grinder | 200 | spikes and chasms |
| Blastbeat | 215 | waves of beat blocks and movers |
| Necro | 230 | catapults and kill zones |
| Circle Pit | 180 | five trampolines, a catapult, the guitar over a pad |
The bot finishes all of them, but at 230 BPM I’m not sure a human can. We’ll see. Behind every platform level there are now trippy parallax backgrounds too, which get crazier the further you get. Maybe a bit too crazy.
Worlds and the tutorial

With 18 platform levels the old list didn’t fit anymore, so the menu became a map of worlds: Tutorial, Rock, Metal, Blues Rock, Death Metal, Thrash Metal and Bonus, each with its own look and emblem. The rhythm levels got their own entrance: JAM. Worlds open one after the other, and inside a world a level opens with the tickets you collected there.

The second tutorial level (Metal) now shows every element once, each announced by a hint sign: “HOLD JUMP TO GO HIGHER”, “RED BARS KILL”, “COCO! JUMP ON HIS BACK”. Eighteen of them.

To test:
- Do the hints make sense to someone who has never played it? I wrote them, so I can’t tell.
- Are the ticket gates too strict? Stuck because you’re two tickets short is no fun.
- Is the menu easy on touch? It also works with keyboard, gamepad and mouse, the footer shows the controls for whatever you used last.
Where we are after four weeks
- 18 platform levels in 7 worlds, from 70 to 230 BPM, plus 5 rhythm levels in JAM
- a dog, a glitter guitar, a jetpack and fireworks
- macOS, Windows, iPad, iPhone and Android, with TestFlight builds over the air
- LAN play for up to eight
- a bot that plays every level, and the kids as play testers
Next week: the results of the test list, and hopefully some real music for the new worlds. Time to grab the bass!