Leonardo's Painting Machine

Leonardo's Painting Machine is one of Leonardo da Vinci's lesser known inventions. In fact, before this game was released, nobody had ever heard about it!

You program the machine using punch cards, in order to reproduce a particular painting. The holes in the punch cards control brush motion, colour, numerical registers and control flow. These are introduced gradually, so don't feel disappointed if the first few levels seem simple ;)

This game draws inspiration from Zachtronics games (TIS-100, SpaceChem, Infinifactory) and esoteric programming languages. Be warned: if this sounds like your kind of game, you may not go to bed on time tonight.

You can save and share your creations by clicking the Link button, which will give you a copyable URL in your browser's address bar. This, plus the in-game stats, might allow for a little competition: who creates a particular painting in the least number of cycles? Who needs the fewest holes in their punch cards to do it?

An HTML5 game made with HaxeFlixel. No audio. Tested on Chrome and Firefox.

POST-COMPO CHANGES:
- Added the browser scrollbar for those who need it.
- Added keyboard controls to make up for small click targets; press F1 for help. If you want to experience the true compo version, just ignore them ;)

Comments38

Patrick28 Aug 2016, 20:58
I really like this one!
mat1er28 Aug 2016, 21:04
That's great! Really I could spend hours doing this!
NoTrueSpaceman
NoTrueSpaceman29 Aug 2016, 06:20
wow! cool puzzle game. It seems that the screen is cut off for later levels because there's no scroll bar. It'd also be great to have a little intro to explain where you're eventually headed. Even just a hint saying "there's more operations that you see here".
Flatgub
Flatgub29 Aug 2016, 08:30
Really great game! Interesting mechanic and difficult puzzles. Shame I'm terrible at them ><. Really nicely polished though! Well done~!
Frozen Fractal
Frozen Fractalauthor29 Aug 2016, 09:11
@smerino: Interesting solution, I hadn't thought about that approach!

@NoTrueSpaceman: Made a post-compo fix for the scrollbar, thanks. I had noticed, just didn't think anyone else would ;)
Traf d-Lo29 Aug 2016, 10:22
Yep, a really nice little game.
binaryferret29 Aug 2016, 10:36
Wow such a brilliant idea that works so well as a game. Well done.
g_o29 Aug 2016, 11:26
best entry of this LD so far!
Wevel
Wevel29 Aug 2016, 11:26
Really cool programming puzzle game, and well made
studdert24929 Aug 2016, 11:37
Such a well implemented and polished mechanic, though part of me wishes that there was an erase all button for the placed holes for the many times I reset my progress on the puzzles
g_o29 Aug 2016, 11:38
P.S the share button is brilliant!
Terrabalt29 Aug 2016, 11:42
Oh boy, a polished, well-made Zachtronics-esque game? I could spend hours in this!
Frozen Fractal
Frozen Fractalauthor29 Aug 2016, 11:42
@studdert249: Yeah, sorry about the lack of a clear button. The thought occurred to me, but I prioritised other features. You can drag across with the right mouse button (or with left, when starting on a hole) to erase somewhat quickly.
rudinskiz
rudinskiz29 Aug 2016, 11:49
Great game! I love it
spacewarp29 Aug 2016, 11:56
This is my kind of game :) Only complaint is that editing the cards can be quite tedious.
aschab
aschab29 Aug 2016, 16:06
Amazing concept. +1
sorceress29 Aug 2016, 16:35
Nicely made. I completed the first 5 levels, but I felt it became a bit tedious once the counters appeared.
Rudenko
Rudenko29 Aug 2016, 22:30
Awesome!!! ahahaha, love this game, really.
Lonely Vertex30 Aug 2016, 08:37
Great game to pass time and train your focus, the UI is very intuitive.
NuSan
NuSan30 Aug 2016, 16:31
Very great. I love Zachtronics style game, so I realy enjoy this. It become hard very fast, but it's prety fun.
keln30 Aug 2016, 17:27
Incredible and smart game :o. One of the best entries so far.
Tijn31 Aug 2016, 14:01
This game is mindblowingly good. I can't believe this is a compo entry, good job!
Danae12331 Aug 2016, 21:04
Loved it! great idea.
StMatn1 Sep 2016, 12:10
This game is so awesome!
I loved everything about it. The idea is great and nicely coupled with the backstory (the fact about how many punchcards were used to paint the mona lisa was funny ;).
The graphics are great and it controlls really good.
bigalphillips3 Sep 2016, 05:30
I am really enjoying this so far. Only critique is that the first couple puzzles were confusing from the tool tip "Move the brush right if possible, or start reading from the right" -- kind of implies that if you cannot move further right, you will start reading instructions to the right. Later becomes clear that there's a special command to alter direction. Minor rewording may help there. Thanks!
tenpn
tenpn5 Sep 2016, 12:52
This was brilliant. Right-clicking on the wheel's initial value only brought up the standard image context menu for me, on chrome osx.
David Cookie
David Cookie5 Sep 2016, 13:36
Ok.. That's a fantastic concept and a very polished puzzle game! Graphics are good and the reflexion get quite hard aha It only lacks some sounds and music to complete the experience, and it could easily become a retail game imo!
Very well done :D
Frozen Fractal
Frozen Fractalauthor6 Sep 2016, 06:33
@bigalphillips: Yes, I should have made the wording context-dependent (depending on whether jump is available yet or not).

@tenpn: Thank, fixed the right-click thing.

@David Cookie: No time for any of that, I'm afraid!
Dining Philosopher8 Sep 2016, 20:19
What a great game again, @Frozen Fractal! I really enjoyed playing it. :) So far I got half way. :D In the first level I got confused, because I thought that I also had to paint the middle with white paint, since there is an option to change color.
Very polished entry, especially for a compo game. -A
charlesbaby
charlesbaby19 Sep 2016, 02:25
Great job! This is actually really fun to play, and your warning is entirely accurate - bookmarking this for a not-almost-bedtime playthrough.
JonathanG19 Sep 2016, 16:33
This is a lot of fun, and well-made too!
dollarone19 Sep 2016, 23:52
Very polished game! Nice animations and love that you can speed it up! Will come back and finish this :)
Steven Miller
Steven Miller21 Sep 2016, 02:05
This is spectacular! I love Zachtronics games (I made a SpaceChem/Infinifactory style game for miniLD 69), and this is really well made! I am currently on level 8 (the one after the sandbox) and will definitely continue playing. I'd love to see a downloadable version with audio.

Other games by @thomastc

Found a bug?
Tell us on Discord