Merge branch 'master' of https://git.malingrey.fr/adrien/tetra
This commit is contained in:
commit
367f252444
@ -242,7 +242,6 @@ class Tetromino extends THREE.Group {
|
|||||||
return T_SPIN.NONE
|
return T_SPIN.NONE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Tetromino.prototype.minoMaterial = minoMaterial
|
|
||||||
Tetromino.prototype.lockingColor = new THREE.Color(COLORS.LOCKING)
|
Tetromino.prototype.lockingColor = new THREE.Color(COLORS.LOCKING)
|
||||||
// Super Rotation System
|
// Super Rotation System
|
||||||
// freedom of movement = srs[this.parent.piece.facing][rotation]
|
// freedom of movement = srs[this.parent.piece.facing][rotation]
|
||||||
@ -266,14 +265,6 @@ class Ghost extends Tetromino {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Ghost.prototype.minoMaterial = new THREE.MeshStandardMaterial({
|
|
||||||
envMap: environnement,
|
|
||||||
metalness: 0.9,
|
|
||||||
roughness: 0.2,
|
|
||||||
transparent: true,
|
|
||||||
opacity: 0.15,
|
|
||||||
side: THREE.DoubleSide,
|
|
||||||
})
|
|
||||||
Ghost.prototype.freeColor = new THREE.Color(COLORS.GHOST)
|
Ghost.prototype.freeColor = new THREE.Color(COLORS.GHOST)
|
||||||
Ghost.prototype.minoesPosition = [
|
Ghost.prototype.minoesPosition = [
|
||||||
[P(0, 0, 0), P(0, 0, 0), P(0, 0, 0), P(0, 0, 0)],
|
[P(0, 0, 0), P(0, 0, 0), P(0, 0, 0), P(0, 0, 0)],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user