The OpenD Programming Language

GameHelperBase.drawFrame

Implement this to draw.

The interpolateToNextFrame argument tells you how close you are to the next frame. You should take your current state and add the estimated next frame things multiplied by this to get smoother animation. interpolateToNextFrame will always be >= 0 and < 1.0.

class GameHelperBase
deprecated
void
drawFrame

Meta

History

Previous to August 27, 2022, this took no arguments. It could thus not interpolate frames!