ᵀᴱTᴿᴬ

This commit is contained in:
Adrien MALINGREY 2024-09-30 14:03:47 +02:00
parent 6ed614d536
commit ae8dcb7077
2 changed files with 6 additions and 10 deletions

View File

@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<title>teTra</title>
<title>ᵀᴱTᴿᴬ</title>
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/loading.css">
@ -12,8 +12,8 @@
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/three@0.155/build/three.module.js?module",
"three/addons/": "https://unpkg.com/three@0.155/examples/jsm/"
"three": "https://unpkg.com/three@0.169/build/three.module.js?module",
"three/addons/": "https://unpkg.com/three@0.169/examples/jsm/"
}
}
</script>

View File

@ -6,7 +6,7 @@ import { Mino, environment } from './Tetrominoes.js'
export class TetraGUI extends GUI {
constructor(game, settings, stats, scene, controls, playfield) {
super({title: "teTra"})
super({title: "ᵀᴱTᴿᴬ"})
this.startButton = this.add(game, "start").name("Jouer").hide()
this.pauseButton = this.add(game, "pause").name("Pause").hide()
@ -130,13 +130,9 @@ export class TetraGUI extends GUI {
side: THREE.DoubleSide,
transparent: true,
opacity: 0.7,
roughness: 0.6,
roughness: 0.5,
ior: 1.8,
metalness: 0.6,
sheen: 0,
sheenRoughness: 1,
specularIntensity: 1,
thickness: 5,
metalness: 0.9,
transmission: 1,
})
break