Project

General

Profile

« Previous | Next » 

Revision 0a5569a7

Added by skyjake over 10 years ago

  • ID 0a5569a7d3cda433f10c46905b63728e208bbf5c
  • Parent 8a2c2c46

libcommon|libdoom: Running player thinkers and their mobjs in fractional time

Proof of concept where players and their mobjs live in fractional
time while the rest of the world uses only sharp ticks.

The duration of the current game tick is stored in an engine-side
global variable. The mobj thinkers and playsim physics can access
it using the DD_GAME_TICKF() macro.

This is a work in progress as only libdoom has been updated so far.

Todo:
- gravity not fractional
- rising over steps not fractional
- handling momentum during wall sliding is incorrect
- updating other game plugins except libdoom

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences