Lucas Stadler лет назад: 12
Родитель
Сommit
dd551a3e4b
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      js/pixl/public/trixl.html

+ 4 - 4
js/pixl/public/trixl.html

232
			}
232
			}
233
233
234
			if (isPressed(37) || isPressed(65)) { // left || a
234
			if (isPressed(37) || isPressed(65)) { // left || a
235
				trixl.camera.sideways(-0.05);
235
				trixl.camera.sideways(-0.1);
236
			}
236
			}
237
			if (isPressed(38) || isPressed(87)) { // up || w
237
			if (isPressed(38) || isPressed(87)) { // up || w
238
				trixl.camera.forward(-0.05);
238
				trixl.camera.forward(-0.1);
239
			}
239
			}
240
			if (isPressed(39) || isPressed(68)) { // right || d
240
			if (isPressed(39) || isPressed(68)) { // right || d
241
				trixl.camera.sideways(0.05);
241
				trixl.camera.sideways(0.1);
242
			}
242
			}
243
			if (isPressed(40) || isPressed(83)) { // down || s
243
			if (isPressed(40) || isPressed(83)) { // down || s
244
				trixl.camera.forward(0.05);
244
				trixl.camera.forward(0.1);
245
			}
245
			}
246
		});
246
		});
247
247