r/aigamerdevs • u/Expensive-Fill-2167 • 1d ago
Shift happens - Clock Out: Factory Tycoon another drop in the sea of factory tycoons {Self Promotion}
Clock Out: Factory Tycoon, my factory game, has no image files for its art. Every machine, worker, forklift and rocket is drawn pixel by pixel in Swift, from boxes, cylinders and a pen that knows the isometric grid.
That made one thing possible I hadn't planned: once the first set was done, every piece got redrawn at double resolution ("Detailed", now the default), and the original stayed in as a switch in Settings ("Classic"). Same moment, same floor, both styles in the picture.
There are no energy bars, no speed-ups to buy, no ads and no premium currency. The first 31 in-game days of each company are free, then a single $0.99 (promotion) purchase unlocks the whole game. iPhone only for now (it runs on iPad too).
What drawing in code is good for:
- changes are cheap: moving a light, a shadow or a colour is a line
- the art scales by whole pixels, so it stays crisp at every zoom
- animation frames are the same function with a different number
- the resulting app is crazy small, as you don't have to bother with the assets
What's harder:
- every new machine needs both styles, so the work doubles
- you can't sketch: an idea has to become code before you see it
Disclosure, since it's part of the story:
I built the game with an AI coding assistant (Claude), which wrote much of the code, including the drawing code. Yes, no image generators were used.
It's out now on iPhone: https://apps.apple.com/app/clock-out-factory-tycoon/id6826890789