Commits

Philipp Tiefenbacher  committed 3afa427 Draft

tweaking game (I'm a sucker for playing around more with the game than coding...:)

  • Participants
  • Parent commits 0ec92e0

Comments (0)

Files changed (1)

File src/game/CellSpace.js

 					}		
 			}
 
-		var shotSpeed = 3.2;
+		var shotSpeed = 2.9;
 		function handleCanvasMouseDown(evt) {
 			var coords = canvas.relMouseCoords(evt);
 			var x = coords.x;
 			if (keyboard.isPressed(keyboard.RIGHT)) shipX += stepSize
 			// space
 			if (keyboard.isPressed(32)) {
-				enemyDish.randomize(enemyRule.nrStates, 0.0004);
+				enemyDish.randomize(enemyRule.nrStates, 0.0001);
 				enemy2Dish.randomize(enemyRule.nrStates, 0.01);
 				if (shipX < 0 || shipX > gameW || shipY < 0 || shipY > gameH)
 					shipX = gameW/2, shipY = gameH/2;