Leonardo's Painting Machine by Frozen Fractal

[raw]
made by Frozen Fractal for LD36 (COMPO)
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 ;)

Feedback

Patrick
28. Aug 2016 · 20:53 UTC
I really like this one!
mat1er
28. Aug 2016 · 20:59 UTC
That's great! Really I could spend hours doing this!
smerino
29. Aug 2016 · 00:47 UTC
LOTS of fun! http://leonardo.frozenfractal.com/#12x5_red_yellow_blue,%7B%22cards%22%3A%5B%5B1096%2C520%2C520%2C520%2C520%2C552%2C0%2C0%2C1026%2C192%5D%2C%5B0%2C1088%2C0%2C1058%2C0%2C0%2C0%2C0%2C0%2C320%5D%2C%5B328%2C208%2C520%2C520%2C520%2C520%2C520%2C520%2C808%2C576%5D%5D%2C%22colorIndices%22%3A%5B0%2C1%2C2%5D%2C%22wheelStarts%22%3A%5B0%5D%7D
NoTrueSpaceman
29. Aug 2016 · 06:15 UTC
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
29. Aug 2016 · 08:25 UTC
Really great game! Interesting mechanic and difficult puzzles. Shame I'm terrible at them ><. Really nicely polished though! Well done~!
🎤 Frozen Fractal
29. Aug 2016 · 09:06 UTC
@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-Lo
29. Aug 2016 · 10:17 UTC
Yep, a really nice little game.
binaryferret
29. Aug 2016 · 10:31 UTC
Wow such a brilliant idea that works so well as a game. Well done.
Wevel
29. Aug 2016 · 11:21 UTC
Really cool programming puzzle game, and well made
g_o
29. Aug 2016 · 11:21 UTC
best entry of this LD so far!
studdert249
29. Aug 2016 · 11:32 UTC
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_o
29. Aug 2016 · 11:33 UTC
P.S the share button is brilliant!
Terrabalt
29. Aug 2016 · 11:37 UTC
Oh boy, a polished, well-made Zachtronics-esque game? I could spend hours in this!
🎤 Frozen Fractal
29. Aug 2016 · 11:37 UTC
@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
29. Aug 2016 · 11:44 UTC
Great game! I love it
spacewarp
29. Aug 2016 · 11:51 UTC
This is my kind of game :) Only complaint is that editing the cards can be quite tedious.
aschab
29. Aug 2016 · 16:01 UTC
Amazing concept. +1
sorceress
29. Aug 2016 · 16:30 UTC
Nicely made. I completed the first 5 levels, but I felt it became a bit tedious once the counters appeared.
Rudenko
29. Aug 2016 · 22:25 UTC
Awesome!!! ahahaha, love this game, really.
Lonely Vertex
30. Aug 2016 · 08:32 UTC
Great game to pass time and train your focus, the UI is very intuitive.
NuSan
30. Aug 2016 · 16:26 UTC
Very great. I love Zachtronics style game, so I realy enjoy this. It become hard very fast, but it's prety fun.
keln
30. Aug 2016 · 17:22 UTC
Incredible and smart game :o. One of the best entries so far.
silkworm_sweatshop
31. Aug 2016 · 11:52 UTC
Cool, ancient pixelart!
Tijn
31. Aug 2016 · 13:56 UTC
This game is mindblowingly good. I can't believe this is a compo entry, good job!
Jupiter_Hadley
31. Aug 2016 · 14:11 UTC
Quite interesting! I included it in my compilation video series of Ludum Dare 36 games, if you’d like to take a look :) https://youtu.be/VSGUm6oLKPM
Danae123
31. Aug 2016 · 20:59 UTC
Loved it! great idea.
StMatn
01. Sep 2016 · 12:05 UTC
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.
bigalphillips
03. Sep 2016 · 05:25 UTC
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
05. Sep 2016 · 12:47 UTC
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
05. Sep 2016 · 13:31 UTC
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
06. Sep 2016 · 06:28 UTC
@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 Philosopher
08. Sep 2016 · 20:14 UTC
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
19. Sep 2016 · 02:20 UTC
Great job! This is actually really fun to play, and your warning is entirely accurate - bookmarking this for a not-almost-bedtime playthrough.
JonathanG
19. Sep 2016 · 16:28 UTC
This is a lot of fun, and well-made too!
dollarone
19. Sep 2016 · 23:47 UTC
Very polished game! Nice animations and love that you can speed it up! Will come back and finish this :)
Steven Miller
21. Sep 2016 · 02:00 UTC
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.
Steven Miller
21. Sep 2016 · 02:10 UTC
Also, @smerino this is my solution for that level, it uses 44 holes and only takes 218 cycles. http://leonardo.frozenfractal.com/#12x5_red_yellow_blue,%7B%22cards%22%3A%5B%5B1088,514,514,514,512,1056,320,0,0,0%5D,%5B0,0,0,0,0,0,1088,1056,876,576%5D,%5B320,514,514,514,514,514,514,802,1024,0%5D%5D,%22colorIndices%22%3A%5B0,1,2%5D,%22wheelStarts%22%3A%5B7%5D%7D
skell
09. Dec 2016 · 03:01 UTC
http://leonardo.frozenfractal.com/#11x12_waves,%7B%22cards%22%3A%5B%5B0,512,1058,337,336,515,512,512,512,512,512,512,512,512,512,512,256,0,0,1058,1058,866,0,0,0%5D,%5B1216,0,0,5,1058,832,0,0,0,512,0,42,370,288,0,0,0,1216,712,1058,1024,0,0,0,0%5D,%5B0,1088,1360,0,1058,1058,4,260,224,1216,32,512,576,0,0,0,0,0,0,0,0,0,0,0,0%5D%5D,%22colorIndices%22%3A%5B0,1,0%5D,%22wheelStarts%22%3A%5B0,0%5D%7D