Bayesian statistics
blocks drift towards the center of pilot wave's field mod: Bayesian statistics - no longer stops ammo spawns 30% to double power ups, but ejects a mod when you take damage mod: exciton-lattice - 40% damage, but no ammo can spawn
This commit is contained in:
22
js/game.js
22
js/game.js
@@ -381,6 +381,28 @@ const game = {
|
||||
// }
|
||||
// setupCanvas();
|
||||
// }
|
||||
|
||||
//color testing
|
||||
// if (keys[49]) {
|
||||
// mech.color.hue--
|
||||
// mech.setFillColors();
|
||||
// } else if (keys[50]) {
|
||||
// mech.color.hue++
|
||||
// mech.setFillColors();
|
||||
// } else if (keys[51]) {
|
||||
// mech.color.sat--
|
||||
// mech.setFillColors();
|
||||
// } else if (keys[52]) {
|
||||
// mech.color.sat++
|
||||
// mech.setFillColors();
|
||||
// } else if (keys[53]) {
|
||||
// mech.color.light--
|
||||
// mech.setFillColors();
|
||||
// } else if (keys[54]) {
|
||||
// mech.color.light++
|
||||
// mech.setFillColors();
|
||||
// }
|
||||
|
||||
if (keys[69]) { // e swap to next active gun
|
||||
game.nextGun();
|
||||
} else if (keys[81]) { //q swap to previous active gun
|
||||
|
||||
Reference in New Issue
Block a user