forked from patlamontagne/the-binding-of-isaac-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (72 loc) · 2.94 KB
/
index.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
<!DOCTYPE html>
<html lang="fr">
<head>
<title>MAP CREATOR | JAVASCRIPT ISAAC</title>
<meta charset="UTF-8">
<link href="editorstyles.css?v=2" rel="stylesheet">
<script src="js/FileSaver.js?v=2"></script>
<script src="js/editorgame.js?v=2"></script>
<script src="js/sprites.js?v=2"></script>
<script src="js/editor.js?v=2"></script>
<script src="js/items.js?v=2"></script>
<script src="js/player.js?v=2"></script>
<script src="js/enemy.js?v=2"></script>
<script src="js/keybind.js?v=2"></script>
</head>
<body onload="initEditor()" >
<div id="main">
<h1 id='winrate'>WIN RATE: <a></a>%</h1>
<div id="game">
<canvas id="uicanvas" width="960" height="120" oncontextmenu="return false;"></canvas>
<canvas id="bgcanvas" width="960" height="576" oncontextmenu="return false;"></canvas>
<canvas id="canvas" width="960" height="576" oncontextmenu="return false;">Ce navigateur ne supporte pas HTML5 et Canvas, vous devez posséder la dernière version.</canvas>
</div>
<div id="creator">
<div id="selector" oncontextmenu="return false;"></div>
<div id="editor" oncontextmenu="return false;"></div>
<div class="nofloat"></div>
</div>
<div id="options">
<div id="codeinput">
<input type="text" id="txtinputgrid" value=" " size="3"></input>
<input id="readbtn" type="submit" value="Read" onclick="readCode()"></input>
<input id="clearbtn" type="submit" value="Clear" onclick="clearTxt()"></input>
<label>IMPORT</label>
</div>
<div id="save">
<label>EXPORT</label>
<input id="savebtn" type="submit" value="Save" onclick="save()"></input>
<input type="text" id="txtfilename" value="room" size="3"></input>.txt
</div>
<div id="test">
<input id="testbtn" type="submit" value="Test" onclick="launchTester()"></input>
<div id="active" oncontextmenu="return false;"></div>
<input id="resetbtn" type="submit" value="Reset" onclick="erase()"></input>
</div>
</div>
<h1>Room Creator v1</h1>
<div class="nofloat"></div>
</div>
<div id="editorlink">
<a>ACTIVATE BOT</a>
<!--<a href="index.html">Exit</a>-->
<ul>
<li> </li>
<li class='ul-title'><span>INSTRUCTIONS :</span></li>
<li><span>LEFT CLICK</span> to select item/monster from the list</li>
<li><span>LEFT CLICK</span> to put an item/monster on the grid</li>
<li><span>RIGHT CLICK</span> to remove an item from the grid</li>
<li class='ul-title'><span>BUTTONS :</span></li>
<li>Press <span>TEST</span> to play the map</li>
<li>Press <span>EDIT</span> to go back to the map editor</li>
<li>Press <span>RESET</span> to reset the grid</li>
<li class='ul-title'><span>EXPORT :</span></li>
<li>Press <span>SAVE</span> to download your map's data as a text file</li>
<li class='ul-title'><span>IMPORT :</span></li>
<li>Paste your text file content into the input and press <span>READ</span> to load a custom map.</li>
</ul>
</div>
<script src="js/nn.js"></script>
<script src="js/bot.js"></script>
</body>
</html>