统一跳一跳三维地块与落点判定
修正跳一跳长按起跳预测为真实脚点指向下一块顶面中心 统一前端指示器飞行动画与后端顶面 footprint 判定 调整 Three.js 方块贴图与角色顶面投影表现 补充跳一跳 UV 图集切片与运行态规则文档
This commit is contained in:
@@ -53,6 +53,25 @@ describe('jumpHopClient runtime requests', () => {
|
||||
);
|
||||
});
|
||||
|
||||
it('passes draft runtime mode in the start run request body', async () => {
|
||||
await startJumpHopRuntimeRun('profile/1', {
|
||||
runtimeMode: 'draft',
|
||||
});
|
||||
|
||||
expect(apiClientMocks.requestJson).toHaveBeenCalledWith(
|
||||
'/api/runtime/jump-hop/runs',
|
||||
expect.objectContaining({
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
profileId: 'profile/1',
|
||||
runtimeMode: 'draft',
|
||||
}),
|
||||
}),
|
||||
'启动跳一跳运行态失败',
|
||||
expect.anything(),
|
||||
);
|
||||
});
|
||||
|
||||
it('submits jump input with a generated client event id', async () => {
|
||||
await submitJumpHopJump(
|
||||
'run/1',
|
||||
|
||||
Reference in New Issue
Block a user