Explorar el Código

Fixed breaths lacking a default style

tags/v1.0.0
Fen Dweller hace 7 años
padre
commit
512fa002b0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      game.js

+ 2
- 0
game.js Ver fichero

@@ -63,6 +63,8 @@ let macro =
"ballDensity": 1000,
"breastDensity": 1000,

"breathStyle": "cone",

"scaling": function(value, scale, factor) { return value * Math.pow(scale,factor); },
get height() { return this.scaling(this.baseHeight, this.scale, 1); },
get mass () { return this.scaling(this.baseMass, this.scale, 3); },


Cargando…
Cancelar
Guardar