Add air direction only setting for player movement
This commit is contained in:
@@ -132,7 +132,8 @@ describe("validateSceneDocument", () => {
|
||||
variableHeight: "yes",
|
||||
maxHoldMs: 0,
|
||||
moveWhileJumping: "yes",
|
||||
moveWhileFalling: 1
|
||||
moveWhileFalling: 1,
|
||||
directionOnly: "left"
|
||||
},
|
||||
sprint: {
|
||||
speedMultiplier: 0
|
||||
@@ -217,6 +218,9 @@ describe("validateSceneDocument", () => {
|
||||
expect.objectContaining({
|
||||
code: "invalid-player-start-move-while-falling"
|
||||
}),
|
||||
expect.objectContaining({
|
||||
code: "invalid-player-start-air-direction-only"
|
||||
}),
|
||||
expect.objectContaining({
|
||||
code: "invalid-player-start-sprint-speed-multiplier"
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user