diff options
author | Minteck <nekostarfan@gmail.com> | 2021-06-05 19:27:48 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-06-05 19:27:48 +0200 |
commit | 8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6 (patch) | |
tree | 7096b67b189c0220826123c7d5b121752545d140 /views/win.html | |
download | kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.tar.gz kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.tar.bz2 kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.zip |
Presque sortie du jeu
Diffstat (limited to 'views/win.html')
-rw-r--r-- | views/win.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/views/win.html b/views/win.html new file mode 100644 index 0000000..1739098 --- /dev/null +++ b/views/win.html @@ -0,0 +1,42 @@ +<!DOCTYPE html> +<html lang="en" style="background:#000000;margin:0;height:100%;width:100%;"> +<head> + <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};</script> + <script src="../lang/loader.js"></script> + <script src="../scenario/client.js"></script> + <meta charset="UTF-8"> + <title>Kartik</title> + <link rel="stylesheet" href="common/fonts.css"> + <script src="../crash/client.js"></script> + <script src="../sfx/sfx.js"></script> + <script> + if (!require('@electron/remote').getCurrentWindow().debug) { + document.write('<link rel="stylesheet" href="common/mouse.css">'); + } + </script> + <script src="./script/win_play.js"></script> +</head> +<body style="background:#000000;margin:0;height:100%;width:100%;color:white;"> + <script>info("MainWindow", "Rendering initial frame..."); + + if (native) { + scale=require('@electron/remote').getCurrentWindow().scale;document.body.style.zoom=scale; + } + + </script> + <div id="box" style="display: none;background:#222;position:fixed;top:0;left:0;right:0;bottom:0;"> + <div style="position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;"> + <div style="text-align: center;"> + <p style="font-size:36px;"><script src="./script/win_message.js"></script></p> + <p style="font-size:16px;" id="progress"><script>document.write(lang.win.quit[0])</script></p> + <script src="./script/win_quit.js"></script> + </div> + </div> + </div> + + <script src="./script/win_music.js"></script> + + <script src="./script/win_global.js"></script> + <script src="./script/client_fullscreen.js"></script> +</body> +</html> |