danni.coy Posted September 10, 2010 Share Posted September 10, 2010 Can I get a bit of an explanation on how these two operate and the difference between them. Also the relationship between these two and engine.game.setScale() would be handy. Link to comment
Guest extaliones Posted September 13, 2010 Share Posted September 13, 2010 engine.game.setFTime function sets frame time for the game to have fixed framerate. Frame time value is used in Game::flush function for game framerate synchronization to introduces delay if actual frame time more then frame time value. Function Engine::do_swap calls flush for the game. engine.game.setIFps sets a frame duration. This function is used to set a constant FPS. ifps value affects the calculation of physical parameters of the player in Player::update. Link to comment
Recommended Posts