Minor updates.

This commit is contained in:
genxium 2023-01-20 23:44:26 +08:00
parent 2f097dfec5
commit 56d66a128a
4 changed files with 12 additions and 6780 deletions

File diff suppressed because one or more lines are too long

View File

@ -362,7 +362,7 @@
"array": [
0,
0,
215.64032554232523,
216.62427379520886,
0,
0,
0,

View File

@ -537,7 +537,7 @@
"array": [
0,
0,
209.73151519075364,
216.62427379520886,
0,
0,
0,

View File

@ -22,7 +22,7 @@ const (
GRAVITY_X = int32(0)
GRAVITY_Y = -int32(float64(0.5) * WORLD_TO_VIRTUAL_GRID_RATIO) // makes all "playerCollider.Y" a multiple of 0.5 in all cases
INPUT_DELAY_FRAMES = int32(4) // in the count of render frames
INPUT_DELAY_FRAMES = int32(8) // in the count of render frames
INPUT_SCALE_FRAMES = uint32(2) // inputDelayedAndScaledFrameId = ((originalFrameId - InputDelayFrames) >> InputScaleFrames)
NST_DELAY_FRAMES = int32(16) // network-single-trip delay in the count of render frames, proposed to be (InputDelayFrames >> 1) because we expect a round-trip delay to be exactly "InputDelayFrames"