ᵀᴱTᴿᴬ
This commit is contained in:
parent
6ed614d536
commit
ae8dcb7077
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>teTra</title>
|
<title>ᵀᴱTᴿᴬ</title>
|
||||||
<link rel="icon" href="favicon.ico">
|
<link rel="icon" href="favicon.ico">
|
||||||
<link rel="stylesheet" href="css/style.css">
|
<link rel="stylesheet" href="css/style.css">
|
||||||
<link rel="stylesheet" href="css/loading.css">
|
<link rel="stylesheet" href="css/loading.css">
|
||||||
@ -12,8 +12,8 @@
|
|||||||
<script type="importmap">
|
<script type="importmap">
|
||||||
{
|
{
|
||||||
"imports": {
|
"imports": {
|
||||||
"three": "https://unpkg.com/three@0.155/build/three.module.js?module",
|
"three": "https://unpkg.com/three@0.169/build/three.module.js?module",
|
||||||
"three/addons/": "https://unpkg.com/three@0.155/examples/jsm/"
|
"three/addons/": "https://unpkg.com/three@0.169/examples/jsm/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -6,7 +6,7 @@ import { Mino, environment } from './Tetrominoes.js'
|
|||||||
|
|
||||||
export class TetraGUI extends GUI {
|
export class TetraGUI extends GUI {
|
||||||
constructor(game, settings, stats, scene, controls, playfield) {
|
constructor(game, settings, stats, scene, controls, playfield) {
|
||||||
super({title: "teTra"})
|
super({title: "ᵀᴱTᴿᴬ"})
|
||||||
|
|
||||||
this.startButton = this.add(game, "start").name("Jouer").hide()
|
this.startButton = this.add(game, "start").name("Jouer").hide()
|
||||||
this.pauseButton = this.add(game, "pause").name("Pause").hide()
|
this.pauseButton = this.add(game, "pause").name("Pause").hide()
|
||||||
@ -130,13 +130,9 @@ export class TetraGUI extends GUI {
|
|||||||
side: THREE.DoubleSide,
|
side: THREE.DoubleSide,
|
||||||
transparent: true,
|
transparent: true,
|
||||||
opacity: 0.7,
|
opacity: 0.7,
|
||||||
roughness: 0.6,
|
roughness: 0.5,
|
||||||
ior: 1.8,
|
ior: 1.8,
|
||||||
metalness: 0.6,
|
metalness: 0.9,
|
||||||
sheen: 0,
|
|
||||||
sheenRoughness: 1,
|
|
||||||
specularIntensity: 1,
|
|
||||||
thickness: 5,
|
|
||||||
transmission: 1,
|
transmission: 1,
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user