-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlevel-editor.html
53 lines (45 loc) · 1.12 KB
/
level-editor.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
<!DOCTYPE html>
<html>
<head>
<title>level editor</title>
<meta charset="UTF-8">
<style type="text/css">
.canvas
{
border: 2px solid #333;
float: left;
}
.sidebar
{
float: right;
width: 250px;
}
.content
{
margin-right: 250px;
overflow: scroll;
position: fixed;
height: 100%;
}
.point__input
{
width: 30px;
}
.point__enter{
display: inline-block;
}
</style>
</head>
<body>
<div class="sidebar">
<div class="editor"></div>
</div>
<div class="content">
<canvas class="canvas" width="1000" height="600"></canvas>
</div>
<script type="text/javascript" src="https://yastatic.net/jquery/1.8.3/jquery.js"></script>
<script type="text/javascript" src="https://yastatic.net/underscore/1.6.0/underscore.js"></script>
<script type="text/javascript" src="https://yastatic.net/backbone/1.1.2/backbone.js"></script>
<script type="text/javascript" src="level-editor.js"></script>
</body>
</html>