Finally moving
It hasn’t been exactly my best first day on a project. Although I came up with an idea I like, I spent several hours messing around with sprite flickering problems – nothing like a bit of jerkiness to ruin the experience. As always with the tricky ones there were lots of permutations – vsync, double buffering, graphics drivers, Linux vs Windows, two graphics cards in my machine, float to int rounding in my code, float to int rounding in library code, subpixel rendering, etc. I even rewrote almost the whole thing in pyglet at one stage, after originally starting with pygame, but it didn’t seem to make that much difference, though for a while it looked like it would.
Anyway, I finally feel like the rendering is reasonably smooth for the movement now, so I can finally get on to getting some content and gameplay in there. There’s a very long way to go yet, but fingers crossed I’ll get something interesting done (: