-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjqheditor.html
108 lines (107 loc) · 3.85 KB
/
jqheditor.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/jqheditor.css">
<script type="text/javascript" src="scripts/jqheditor.js" defer></script>
<title>Miscellaneous</title>
</head>
<body>
<header>
<div class="logo">
<a class="spin" href="index.html"><img src="assets/logo_symbol.svg" alt="blol"></a>
<a href="index.html"><img src="assets/logo_name.svg" alt="blol"></a>
</div>
<nav class="header-bar">
<a href="index.html">Home</a>
<a href="aboutme.html">About Me</a>
<a href="projects.html">Projects</a>
<a href="misc.html">Miscellaneous</a>
</nav>
</header>
<main>
<section>
<h1>Jewel Quest Heritage Board Editor</h1>
<div id="level-editor">
<div id="top-bar">
<div id="tile-selection">
<canvas id="hotbarCanvas"></canvas>
<!-- <img id="tileset" draggable="false">-->
</div>
<div id="top-buttons">
<button id="save">Save the Image</button>
<button id="reset">Reset Board</button>
</div>
</div>
<div id="bottom-content">
<canvas id="boardCanvas"></canvas>
<canvas id="jewelCanvas"></canvas>
<div id="right-side">
<form>
<fieldset>
<legend>Board Settings</legend>
<label>Board Type:
<select name="board-type">
<option>Classic Board</option>
<option>Swaps Board</option>
<option>Limited Jewels Board</option>
</select>
</label> <br>
<label>Time (Normal / Expert):
<input type="text" pattern="\s*\d+(\/\d+)?\s*" name="time-info" width="75px">
</label>
<p>###(/###), expert time optional</p>
</fieldset>
<fieldset>
<legend>Blocked Spaces Extra Goal</legend>
<label>
None
<input type="radio" name="blocked-coin-type" value="none">
</label>
<label>
Aztec C.
<input type="radio" name="blocked-coin-type" value="aztec">
</label>
<label>
Silver C.
<input type="radio" name="blocked-coin-type" value="silver">
</label>
</fieldset>
<fieldset>
<legend>Other</legend>
<label>
Silver Tiles:
<input type="checkbox" name="silver-goal" checked="">
</label>
<label>
Specials:
<input type="checkbox" name="specials" checked="">
</label>
</fieldset>
<button type="submit" id="copy">Copy to Clipboard</button>
</form>
<p id="status"></p>
</div>
</div>
<div id="info">
<article>
<h2>Instructions</h2>
<ul>
<li>Select a tile type from the top-left with a click, then simply draw on the board.</li>
<li>Once you're satisfied with your layout, hit "Copy to Clipboard". This will copy the text required for the boards.cfge file.</li>
<li>On the right you may set additional parameters for the board (such as current jewels, time/expert time, etc.).</li>
</ul>
<h3>Notes</h3>
<ul>
<li>Although you can introduce tiles with id's 8 and C, they are not used in the vanilla game. A board with the former will crash as soon as it's loaded.</li>
<li>You cannot select more than 8 jewels on a board, as the game has only 8 slots for in-game jewels.</li>
</ul>
</article>
</div>
</div>
</section>
</main>
</body>
</html>