Stinky Sox! · Indie game
A physics puzzle game about lonely socks.
Every drawing, animation and line of code is mine, about six months of work: 100 levels, released on the App Store, Google Play and Amazon, and picked for the Chillingo (EA) and Samsung 100% Indie program. In 2026 I started bringing it back.

The game
Match the pairs. Beat your score.
Mobile puzzle games were already a crowded market, so the game had to feel fresh in one sentence: match pairs of socks and get the highest score you can. Physics does the rest: socks have to end up in matching pairs on swinging garlands, with three cloud stars to catch in every level, across 100 levels.
- Released on
- App Store, Google Play, Amazon
- Recognition
- 100% Indie program
- My role
- All of it
One codebase for iOS and Android phones and tablets.
Selected by Chillingo (EA) and Samsung for their indie developer program.
Game and UI design, art, animation, code, optimization and release to three stores, over about six months.





How it plays
Swipe the line. Land one sock.
The whole game is one gesture and one rule. Everything else is physics, and a new twist every few levels.
- Swipe
Break the clothesline
Each clothesline is a chain of little pennants hung between two poles, joined by physics pivots. Slide a finger across one and that joint breaks, the line swings open, and the socks fall.
- Match
One sock reaches the floor
At the bottom, a sock walks along the floor waiting for its match. Exactly one sock of the same kind has to land; a wrong sock, or a second one after it, and you lose.
- Score
Pairs make stars
Two matching socks left on the same line earn a heart, and touching the stinky smoke with a sock earns more. Hearts become one to three stars per level.
Teaching without a tutorial
New rules arrive one at a time across the 100 levels, each introduced in the level itself with a hand-lettered hint and, in the first level, an animated hand that shows the swipe. Every hint exists in English and Spanish.
- Bubbles that float socks
- Bubbles you have to pop
- Ghost lines that come and go
- Things that rotate
- Choose the right path
- Faster levels
A difficulty curve, planned on paper
Each world adds one new thing to deal with, introduced on its own with a hint, then mixed with everything that came before.
Level 28
Things that rotate
Level 48
Bubbles that float socks
Level 49
Choose the right path
Level 62
Bubbles you have to pop






Designing it
From a whiteboard to 100 levels.
I worked top-down: the structure of the whole app first, then the gameplay, then the art.
- Sketch
Flow on a whiteboard
Every screen, from home and settings to worlds, 20-level grids, the store and awards, mapped before anything was drawn.
- Level design
Socks as shapes
A simple visual language of geometric shapes for the socks made it fast to plan 100 levels on paper.
- Art
Drawn in Illustrator
Characters, backgrounds and every screen, with Photoshop for mixing vector art with texture and type.







Building it
Corona SDK, Lua, and a lot of physics.
I chose Corona so one codebase could reach every major platform, with animation and a physics engine built in. The architecture, the code and every asset below are mine.
- The hub
One state machine
Socks, clotheslines, sensors and the HUD never talk to each other. They report events, like a collision, a sock stopping or a button press, and a central state machine decides what happens: pause, resume, reload, win, lose, save stars, unlock the next level.
- The rule
Wait for physics to settle
When the matching sock lands, the game doesn’t declare a win straight away. It waits until every body has stopped moving, so a sock that falls a second later still loses, exactly like the player would expect.
- The levels
Levels are composition
Each level builds itself from shared modules: a clothesline here with these socks, a sock there, sensors, hints. A level is mostly placement, which is what made 100 of them possible, and saved progress per level and box.
-- Any module reports what happened… puff.state:dispatchEvent({ name = "change", state = "collisionElegantPuff" }) -- …and the state machine decides what it means. if e.state == "collisionElegantPuff" then if waitingForAll2Stop then -- a matching sock had already landed lose() elseif allStopped then win() else -- wait until every sock stops moving waitingForAll2Stop = true end end
The win rule, in code
Simplified from the game’s state machine. Any piece of the level can dispatch an event; only the state machine turns it into a win or a loss, after the physics has settled.
- Motion where it matters. Complex character animation keyframed in After Effects and exported as sprite sheets; buttons, props and UI animated in code.
- Sprite sheets. Frames for animation, and many images packed into one sheet to keep file counts and memory low.
- Physics bodies. Every shape that collides traced in Physics Editor and exported straight to Lua.
- One layout, every screen. Content sized in iOS points and Android density units, so the game stays crisp on phones and tablets.





Shipping it
Three stores, three sets of rules.
The game went out on the App Store, Google Play and the Amazon Appstore, each with its own requirements and review process, and was selected for Chillingo’s 100% Indie program.

Paid for by ads, not paywalls
Video ads through Vungle, iAd on iPhone and iPad, and Google AdMob as a third provider whenever iAd couldn’t deliver, so the game stayed free.




2026 · Bringing it back
Twelve years later, reviving the code.
The game is no longer in the stores, and its framework moved on: Corona became Solar2D, and its old scene system, ad networks and store plugins stopped working. In November 2026 I started migrating it to current Solar2D, step by step with Claude Code, reviewing every batch before it was committed. It isn’t back in the stores yet.
- Lua files
- 203
- Lines of code
- ~35k
- Scenes migrated
- 119
- Step 1
Strip what died
Ads, Game Center, GameCircle and in-app purchases replaced by small stub modules, so nothing crashes and each can come back with one line.
- Step 2
Storyboard to Composer
All 119 scenes, 100 of them levels, moved to the current scene system in reviewed batches, mostly by script.
- Step 3
Today’s screens and stores
Letterbox scaling, current build settings, new icons and launch screens, and backgrounds that fill tall phones.
- Next
Test and polish
A pass in the simulator on old and new iPhones and an iPad, then the colour and text API fixes.
What made it possible was the 2014 structure: a central state machine and seven shared modules, so each of the 100 levels stayed a small file that could be converted the same way.
Reflections
Looking back.
Own the whole pipeline
Designing, drawing, animating and coding it myself meant every decision could be made where it was cheapest, in a sketch, a sprite sheet or a line of Lua.
Design the system, not the level
Shapes on paper, a shared state machine in code. Making 100 levels was only possible because each one was small.
Good structure outlives its stack
Twelve years and a whole framework later, the same structure is what made the migration a script and a review instead of a rewrite.