Sunday, March 30, 2014

Moving right along


I added a variable, "carY" that gets updated every frame, and then I use that to offset the world position for purposes of looking up what to draw.

The animated GIF is generated using byzanz, which seems to be just about capable of doing what I need.

I looked a little bit into codeIncomplete's code for drawing, and he's filling polygons rather than doing the scanline approach that I'm doing. That's fine; I might do that, we'll see.

No comments:

Post a Comment