Skip to content

Commit 05f74e5

Browse files
committed
improve debugging
1 parent 31a7ff6 commit 05f74e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Game/Logic/debugFreeControls.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export default (
4747
move[2] -= 0.06 * threshold(axes[1], 0.2);
4848
}
4949
if (axes.length >= 4) {
50-
g.rotY += 0.02 * threshold(axes[2], 0.2);
51-
g.rotX += 0.02 * threshold(axes[3], 0.2);
50+
g.rotY += 0.04 * threshold(axes[2], 0.2);
51+
g.rotX += 0.03 * threshold(axes[3], 0.2);
5252
}
5353
if (buttons.length > 7) {
5454
move[1] += 0.05 * (buttons[7].value - buttons[6].value);

src/Game/Logic/tick.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export default (
162162
? g.switchDirectionTarget
163163
: -g.switchDirectionTarget;
164164
} else {
165-
if (g.tick % 60 === 0) {
165+
if (g.tick % 120 === 0) {
166166
g.switchDirectionTarget = Math.random() < 0.5 ? -1 : 1;
167167
}
168168
}

0 commit comments

Comments
 (0)