소스 검색

Fixed breaths lacking a default style

tags/v1.0.0
Fen Dweller 7 년 전
부모
커밋
512fa002b0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      game.js

+ 2
- 0
game.js 파일 보기

@@ -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); },


불러오는 중...
취소
저장