~rabbits/hiversaires

hiversaires/ecmascript/index.html -rw-r--r-- 4.3 KiB
ab058f0eRezmason Mike Pavone was an advisor, not a tester :) He helped me wrap my head around the composition of doors and terminals 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html>
  <head>
    <script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
    <!-- <script type="text/javascript" src="scripts/jquery.js"></script> -->
    <script type="text/javascript" src="lib/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="scripts/lib/logo.js"></script>
    <!-- <script type="text/javascript" src="scripts/lib/controller.js"></script> -->
    <script type="text/javascript" src="scripts/utils/enum.js"></script>

    <script type="text/javascript" src="scripts/core/puzzles/puzzle.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/door.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/clockterminal.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/sealterminal.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/secretterminal.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/energyterminal.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/sealdoor.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/studioterminal.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/studiodoor.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/secretdoor.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/energydoor.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/secretenergydoor.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/clockdoor.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/progressterminal.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/audioterminal.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/killterminal.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/endgamedoor.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/endgamecredit.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/timedoor.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/ententeterminal.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/ententeprogressterminal.js"></script>
    <script type="text/javascript" src="scripts/core/puzzles/ententedoor.js"></script>

    <script type="text/javascript" src="scripts/core/data.js"></script>
    <script type="text/javascript" src="scripts/core/assetdata.js"></script>

    <script type="text/javascript" src="scripts/core/hiversaires.js"></script>
    <script type="text/javascript" src="scripts/core/stage.js"></script>
    <script type="text/javascript" src="scripts/core/interface.js"></script>
    <script type="text/javascript" src="scripts/core/game.js"></script>
    <script type="text/javascript" src="scripts/core/music.js"></script>
    <script type="text/javascript" src="scripts/core/artbook.js"></script>

    <script type="text/javascript" src="scripts/core/keyboard.js"></script>
    <script type="text/javascript" src="scripts/core/walkthrough.js"></script>
    <script type="text/javascript" src="scripts/core/cartographer.js"></script>

    <link rel="stylesheet" type="text/css" href="links/reset.css"/>
    <link rel="stylesheet" type="text/css" href="links/main.css"/>
    <link rel="stylesheet" type="text/css" href="links/layout.css"/>
    <title>Hiversaires</title>
  </head>
  <body>
    <script>
      // const {dialog,app} = require('electron').remote;
      // const fs = require('fs');

      let DEBUG_SKIP_LOGO = false;
      let DEBUG_SHOW_TRIGGERS = false;
      let DEBUG_SHOW_BILLBOARDS = false;
      let DEBUG_LOG_INPUT = false;
      let DEBUG_DONT_SAVE = false;
      let DEBUG_START_FRESH = false;
      let DEBUG_NO_MUSIC = false;
      let DEBUG_PRINT_INFO = false;
      let DEBUG_PRINT_MAZE = false;
      let PRELOAD_ALL = true;
      let hh = new Hiversaires();
      // setTimeout(() => { hh.walkthrough.playEntireGame(250); },1000)
      setTimeout(hh.start.bind(hh), DEBUG_SKIP_LOGO ? 100 : 4000);
      if(!DEBUG_SKIP_LOGO){
        var logo = new Logo(false);
        logo.install(120);
        setTimeout(function(){ logo.remove(); }, 5500);
      }
    </script>
  </body>
</html>