Learning C, Day 13 (More Matrix Math)

More matrix math today. I spent about an hour and a half implementing matrix rotation and scaling: Perspective matrix is up next, I’ll see you tomorrow!

Published

Learning C, Day 12 (Matrix Math)

Matrix math. I added types and functions for matrix scaling and translation, which took about two hours. I’m thinking I might not use matrices in the PICO-8 port because they seem to add a bunch of overhead. I guess I’ll see. An update on Vim: sometimes I find myself pressing “j” to go down in…

Published

Learning C, Day 6 (Point Cube)

Finally some 3D today! But first, Vim. I spent about half an hour just messing around in Vim and after that I used it for the rest of the day. Vim is so cool. It has shortcuts and commands for everything. A few times I found myself guessing commands correctly. For example, “$” means “move…

Published

Learning C, Day 3

I spent about 3 hours today learning C. I found an excellent blog with C tutorials: flaviocopes.com I also cobbled together a text colorizing program for Windows. Windows Batch can’t print colored text without changing the already printed text, but this program can do that. I’m at the point of being able to copy and…

Published

Learning C, Day 2

So I spent about 2 hours today learning C and I finally got to pointers. C is so quirky and I love it. I finished the first tutorial and now I’m reading Modern C by Jens Gustedt. I’m working on a text adventure game and I’m googling how to do almost everything. Most of the…

Published

Learning C

Earlier today I was reading an older book about microcomputers and how the only languages available at the time were FORTRAN, Basic, and Assembly. The book was published in 1977, so I wondered if C was available at the time. Turns out it was, but while I was on the Wikipedia page about C, I…

Published