|
|
Okay, so I'm in the process of developing my own 2D, vertical scrolling shooter game, and after reading the article about fixed time stepping here on flipcode, I decided to start playing around with the fixed time steps. I have it working, however I'm having the jittery motion problem as many have described. I have started to implement interpolation between frames, and it seems to be working for the most part, but I am still getting occasional jitter and I'm not quite sure why.
I'm starting to suspect it's something else in my code, because when I switch back to variable time steps, I get small occasional jitter also, and I'm not sure if its my code, or maybe some directx failure, or me not initialising direct x correctly. So I'm going to write a small test from scratch that implements the very basic parts of my scrolling code. This will hopefully allow me to eliminate many things.
ANYWAY... all this fussing around has got me thinking, since the idea for this game has partly spawned from my love of the older game 'Raptor: Call of the shadows', I was wondering how smooth scrolling and other 2D motion was implemented back then. Was fixed time stepping the standard? Or variable time steps? Did they do any kind of interpolation? I would assume since they had very little clock cycles to play with they wouldn't have, but I'm just curious in a bit of history.
So does anyone know? Maybe someone used to work for a large games company back in the dos gaming world. Id be interested to see.
|