Handmade Hero»Forums»Code
Lenny
8 posts
Dedicate an episode to building a custom paint app
I've noticed that a different painting program is used for each episode. How about we create a paint app from scratch. We only need a few functions, WM_LBUTTONDOWN and SetPixel(),MoveToEx(),LineTo(). Maybe allow us to set the paint brush width, color and erase option. Ability to draw lines or enter text would be useful. Something super basic. Amirite?
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Dedicate an episode to building a custom paint app
Not a bad idea, really...

- Casey
KRB
5 posts
Dedicate an episode to building a custom paint app
This is a good idea, and is something I did when I was learning (specifically: made a 'ship' with bounding box area, then loaded in 'ship parts' from a .bmp for each tile which was changeable by click... then brought up a custom paint program with a gb gradient and r slider to paint over the ship parts. This way I got image loading, bounding box selection and modes, variable size collision boxes for expanding ship size by using more tiles, and individual pixel manip for painting into an overlayer)