瀏覽代碼

Fixed breaths lacking a default style

tags/v1.0.0
Fen Dweller 6 年之前
父節點
當前提交
512fa002b0
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      game.js

+ 2
- 0
game.js 查看文件

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


"breathStyle": "cone",

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


Loading…
取消
儲存