Fixed Rate Pig - an example of fixed logic frame rate w/ interpolation
and sprite animation with “smart updating”. Includes GPLed source and
binaries for Linux/x86 and Win32.
Site:
http://olofson.net/examples.html
Direct download (660 kB):
http://olofson.net/download/pig-1.0.tar.gz
From the README:
"This SDL programming example - a simple
platform game - demonstrates the use of
a fixed virtual logic frame rate
together with interpolation, for smooth
and accurate game logic that is
independent of the rendering frame rate.
The example also demonstrates sprite
animation and partial display updating
techniques, suitable for games and
applications that need high frame rates
but can do without updating the whole
screen every frame."
//David Olofson - Programmer, Composer, Open Source Advocate
.- Audiality -----------------------------------------------.
| Free/Open Source audio engine for games and multimedia. |
| MIDI, modular synthesis, real time effects, scripting,… |
`-----------------------------------> http://audiality.org -’
— http://olofson.net — http://www.reologica.se —