Ajout du shader d'ouverture sur la page d'accueil
This commit is contained in:
+10
-4
@@ -2,12 +2,18 @@ import { loadEvents } from './events.js'
|
||||
import { loadStatus } from './status.js'
|
||||
import { initCuteTexture } from './cuteTexture.js'
|
||||
|
||||
// =================================== background texture
|
||||
initCuteTexture()
|
||||
|
||||
// ======================================== events & statut d'ouverture
|
||||
loadEvents();
|
||||
loadStatus();
|
||||
loadStatus()
|
||||
.then((status) => {
|
||||
console.log("Status actuel du LOL", status);
|
||||
|
||||
let cuteTexture = initCuteTexture({
|
||||
shaderSource: status.shaderSource
|
||||
});
|
||||
|
||||
cuteTexture.target.style.visibility = "visible"
|
||||
});
|
||||
|
||||
// ======================================== floating event window
|
||||
|
||||
|
||||
Reference in New Issue
Block a user