Translations:Movement/15/zh: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

28 July 2023

  • curprev 03:5003:50, 28 July 2023Darkh talk contribs 457 bytes +15 No edit summary
  • curprev 03:4903:49, 28 July 2023Darkh talk contribs 442 bytes +442 Created page with "<code>src/game/gamecore.cpp</code> (在利用速度计算玩家下一个位置前有如下代码):<syntaxhighlight lang="c++"> if(length(m_Vel) > 6000) m_Vel = normalize(m_Vel) * 6000; </syntaxhighlight>其中内嵌了一个函数重新计算了速度带来的影响,是竖直速度的瓶颈。而水平方向上也有一个ramp曲线因子,导致玩家在速度过快时减速或者停下。在加速时很容易看见这些现象。"