A side-scrolling arcade game in my son's hand-drawn stickman style, with one stage, a sunflower boss, and keyboard, Xbox controller and touch controls.
- Shipped
- Built with
- antigravity, gemini-4-neon

My son has been playing a lot of Cuphead and watching the TV show too. He drew me a sketch of his own level, called “Flower Fury”. It has a cup-headed stickman standing in a bowl and firing a finger gun, a giant smiling sunflower, thorns along the ground and a winged seed pod overhead. I thought his black-and-white stickman style was unusual enough to be worth seeing what a game in it could look like.

The game is one stage, Sketchbook Meadow. You run and jump across floating bowl platforms over the thorns, shoot chompers and seed pods, and then fight the Flower Fury sunflower boss, which changes its attacks at half health. It’s meant to be easier than Cuphead: Easy mode gives you 5 hit points instead of 3, the boss shows which lane it will attack before it strikes, and you get a grade at the end.
How it was built
I built it in Google Antigravity with the Gemini 4 Neon model. The first prompt was the sketch plus a request for a Cuphead-like side-scroller in the same art style with easier difficulty, and the first stage came out of that one prompt. The follow-ups were all about how my son actually plays: support for our Xbox controller, then on-screen touch controls that appear when touch input is detected and go away again when a key or the controller is used, then a floating joystick so you can drag anywhere on the screen to move. The last fix stopped iPad’s text-selection highlight from firing when you hold the joystick and press a button at the same time.
It’s a static site of plain HTML, CSS and JavaScript drawn on a canvas, with no build step, deployed to Cloudflare. The source is on GitHub under the Apache 2.0 license.
What I learned
The art style carried over from the drawing very well, and the first version was playable straight away. After that, every change was to the controls. A game for a kid has to work with whatever is in their hands, whether that’s a controller or an iPad, and touch input on iPad needed its own fixes.
Prompts
1. The seed prompt, with the sketch attached
Can you create a side-scrolling arcade game with this art style (black and white hand-drawn is perfect) that’s like Cuphead but with easier difficulty? Just create a single first stage to start, and then we can build from there.
The photo of my son’s drawing went along with this prompt. Asking for a single stage kept the first version small enough to play right away.
2. Controller support
Oh my god that’s amazing. Is it possible to add joystick controls? We have an Xbox controller.
3. Touch controls that come and go
Ok let’s actually add touch screen controls before we make any of those more advanced changes. Can we make it so if touch input is detected then it’ll allow you to move/shoot/jump with small controls on the screen, and we can remove the keyboard input guide at the bottom. If a key or joystick is pressed instead then it’ll go back to that type of control input.
This is where the game moved to the iPad. The controls switch to match whichever input was used last, instead of showing all of them at once.
4. A floating joystick
Ok, can you make it so the joystick isn’t in a fixed place, any place on screen other than the buttons that you press, hold and drag it’ll move you in that direction. So it’s basically a non-fixed joystick which is common in many games, can we switch to that style?
5. The iPad highlight bug
Ok also, one more issue is that sometimes when you are pressing a button and holding the joystick at the same time on an iPad, Apple’s blue highlighter kicks in to highlight rather than registering the presses, is there any way to prevent that from becoming an issue?
Holding the joystick with one finger and pressing a button with another started iPad’s text selection. The fix turned off text selection, the long-press callout and the tap highlight on the controls.