forked from jbzdarkid/witness-puzzles
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmerge.html
125 lines (116 loc) · 5.88 KB
/
merge.html
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<html xmlns="http://www.w3.org/2000/xhtml">
<head>
<meta charset="utf-8">
<meta property="og:site_name" content="Looksy">
<title>Looksy Merger</title>
<meta property="og:title" content="Looksy Merger v2.99.0">
<meta name="description" content="Looksy - Modded Witness Editor">
<meta property="og:description" content="Modded Witness Editor">
<meta property="og:type" content="Game">
<meta property="og:url" content="prodzpod.github.io/witness/merge.html">
<link rel="icon" type="image/png" class="changehref" href="%%NAME%%/data/favicon.png">
<meta property="og:image" content="prodzpod.github.io/witness/data/favicon_black.png">
<meta name="author" content="prod">
<meta name="robots" content="nosnippet" />
<link rel="stylesheet" type="text/css" href="./data/reset.css" id="stylesheet">
<link rel="stylesheet" type="text/css" href="./data/style.css" id="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/xeicon.min.css" ie-ignore>
<script type="text/javascript" src="./engine/utilities.js"></script>
<script type="text/javascript" src="./engine/svg.js"></script>
<script async type="text/javascript" src="./engine/puzzle.js"></script>
<script async type="text/javascript" src="./engine/solve.js"></script>
<script async type="text/javascript" src="./engine/validate.js"></script>
<script async type="text/javascript" src="./engine/polyominos.js"></script>
<script async type="text/javascript" src="./engine/display2.js"></script>
<script async type="text/javascript" src="./engine/trace2.js"></script>
<script async type="text/javascript" src="./merge.js"></script>
</head>
<body>
<div class="background"></div>
<div class="wrapper">
<div class="hlist">
<div class="spacer"></div>
<a href='./index.html'><svg id="mainMenu" viewbox="0 0 64 64" style="width: 64px; height: 64px;">
<path fill="var(--text)" transform="translate(32, 32)" d="M -24 0 Q 0 -24 24 0 Q 0 24 -24 0 Q 0 12 24 0 Q 0 -12 -24 0 M 0 -6 L -2 -4 L -4 -4 L -4 -2 L -6 0 L -4 2 L -4 4 L -2 4 L 0 6 L 2 4 L 4 4 L 4 2 L 6 0 L 4 -2 L 4 -4 L 2 -4z"></path>
</svg></a>
<header id="header" class="vlist">
<button id="header-plus-button" onclick="toggleExpand()"><i id="header-plus" class="xi-plus"></i></button>
<div id="header-expand">
<br>
<div class="hlist">
<div class="header-slider vlist">
<label for="sens">Mouse Speed</label>
<input id="sens" type="range" min='0.1' max='1.3' step='0.1' value='0.7'></input>
</div>
<div class="header-slider vlist">
<label for="volume">Volume</label>
<input id="volume" type="range" min='0' max='1' step='0.02' value='0.12'></input>
</div>
</div>
<div class="vlist">
<label for="symboltheme">Symbol Set</label>
<input id="symboltheme" type="button" value='Canonical' onclick="changeTheme()"></input>
</div>
<br>
</div>
</header>
<div class="spacer"></div>
</div>
<div class="main-wrapper">
<div class="main vlist">
<div>
<h1>Looksy Merger</h1>
</div>
<div>
<p>Merge your looksy puzzles into a panel sequence.</p>
</div>
<div id="warning" style="visibility: hidden;">
<p style="color: red;">WARNING: The resulting URL is *long*. it might not work on some browsers.</p>
</div>
<div class="list-wrapper vlist">
<div class="hlist">
<button onpointerdown="importSequence2()" id="importButton">Import Sequence</button>
<button onpointerdown="updateList()" id="updateButton">Update list</button>
</div>
<div id="list"></div>
<div class="hlist">
<button onpointerdown="exportSequence2()" id="exportButton">Export Sequence</button>
<button onpointerdown="exportSequence2(true)" id="exportIDNButton">Export as Short Link</button>
</div>
</div>
<div class="spacer"></div>
</div>
</div>
<footer class="noselect">
<pre class="footer-text">Funny Looksy, prodzpod 2021-2022</pre>
<a href="https://github.com/prodzpod/witness" class="footer-button" title="Source Code"><i class="xi-github"></i></a>
<pre>
BSD 3-Clause License
Copyright (c) 2017, jbzdarkid
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</pre>
</footer>
<script async type="text/javascript" src="./engine/footer.js"></script>
</div>
</body>
</html>