-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
65 lines (50 loc) · 4.03 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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>地图编辑器</title>
<link href="css/form.min.css" rel="stylesheet" />
<style>
html, body {
margin: 0;
padding: 0;
}
body {
overflow: hidden;
}
</style>
</head>
<body>
<canvas id="ourCanvas"></canvas>
<div style="position: fixed; left: 0; top: 0;" id="ctrl1">
<input id="testBtn" class="btn" type="button" value="控制人物运动" />
</div>
<div style="position: fixed; left: 140px; top: 0;" id="ctrl3"> <input id="hideBtn" class="btn" type="button" value="隐藏所有控件" /></div>
<div id="popup" style="position:absolute;left:50%; top:0%; width:1000px;height:400px;margin-left:-500px;margin-top:100px;overflow:hidden;display:none;">
<div style="position:absolute;right:0px;z-index:100;top:0px;"><img id="closeBtn" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAAAlgAAAJYAJvGvrMAAAH5SURBVEjHlZRNSxtBGMd/a0xB2C8gRCwUPHhqaDG02qZ6iUUC3iJ+gV48id/Bk4lvN8X2UvAqeFT0EAV7aqGEQiMVk/Fi60ktTYzbwzbJMzuz6/Z5Tjszv//s8zYOpiV4wjhZ0gzSB/zhjM+U2adKkwesh2esc0oTL+B3nLHJC3qj8H4WuTBQ6ZcUSYXhaQ65j8R9LzNiw1/zNQbse5Up8/b4uC+R0WM/EJsNrq3QNQ3xdcRAG3dYFBtNShSoGXidWZa16qy2K/IcJfAVXCBPXc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ZQAxNS40S0JCTcLMXQAAAGJ0RVh0VGh1bWI6OlVSSQBmaWxlOi8vL2hvbWUvZnRwLzE1MjAvZWFzeWljb24uY24vZWFzeWljb24uY24vY2RuLWltZy5lYXN5aWNvbi5jbi9wbmcvMTE1MjMvMTE1MjM0NS5wbmcAXxxyAAAAAElFTkSuQmCC " ></div>
<textarea cols="150" rows="30" id="optTextarea"></textarea>
</div>
<div style="position: fixed; right: 0; top: 0;" id="ctrl2">
<!-- <input id="zoomOutBtn" type="button" value="缩小编辑" />
<input id="zoomInBtn" type="button" value="放大编辑" />-->
<input id="autoEdit" class="btn" type="button" value="自动识别地图-嘘! :)" />
<select id="modeSlt" class="form-control">
<option value="0">debug模式</option>
<option value="1">release模式</option>
</select>
<select id="ttSlt" class="form-control" >
<option value="0">八方向寻路</option>
<option value="1">四方向寻路</option>
</select>
<input id="clearBtn" class="btn" type="button" value="清空所有障碍" />
<input id="exportBtn" class="btn" type="button" value="导出地图配置" />
</div>
<div style="position:fixed;left:50%;margin-left:-80px; bottom:0;background-color:white;">create by <a href="http://alloyteam.com/">AlloyTeam</a></div>
<script src="lib/easeljs-0.8.0.min.js"></script>
<script src="src/ME.js"></script>
<script src="src/Util.js"></script>
<script src="src/Astar.js"></script>
<script src="src/Loader.js"></script>
<script src="src/Role.js"></script>
<script src="src/Main.js"></script>
</body>
</html>