Преглед на файлове

increase movement speed.

Lucas Stadler преди 12 години
родител
ревизия
dd551a3e4b
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      js/pixl/public/trixl.html

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

@ -232,16 +232,16 @@
232 232
			}
233 233
234 234
			if (isPressed(37) || isPressed(65)) { // left || a
235
				trixl.camera.sideways(-0.05);
235
				trixl.camera.sideways(-0.1);
236 236
			}
237 237
			if (isPressed(38) || isPressed(87)) { // up || w
238
				trixl.camera.forward(-0.05);
238
				trixl.camera.forward(-0.1);
239 239
			}
240 240
			if (isPressed(39) || isPressed(68)) { // right || d
241
				trixl.camera.sideways(0.05);
241
				trixl.camera.sideways(0.1);
242 242
			}
243 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