sven-n / MuMain

76 stars 72 forks source link

Dynamic frame rate (above 25~30 fps) #4

Closed sven-n closed 1 year ago

sven-n commented 1 year ago

FPS can be changed by using the $fps chat command, e.g. "$fps 60". The default is 60 fps now.

Most effects and movements scale correctly now. I introduced a new variable FPS_ANIMATION_FACTOR which can be used to scale all frame-dependent value offsets. Previously, these offsets were added on each frame, regardless how long the frame took.