-
Notifications
You must be signed in to change notification settings - Fork 0
/
index1.html
44 lines (39 loc) · 1.2 KB
/
index1.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
<!doctype html>
<head>
<title>Platformer made by charchit</title>
<meta charset="utf-8">
<script src="js/phaser.min.js"></script>
<script src="js/main1.js"></script>
<style>
body {
margin: 0 !important;
padding: 0 !important;
}
canvas {
margin: 0 auto;
height: 100vh;
width:100vh;
}
</style>
</head>
<body>
<p id="p"></p>
<input type="text" id="input" placeholder="level_No" style="
width: 71px;
">
<input type="text" id="size" placeholder="platformsize 0,1,2,3,4">
<button onclick="destroy()">destroy</button>
<button onclick="download()">download</button>
<button onclick="load()">load</button>
<button onclick="spider()">spider</button>
<button onclick="platform()">platform</button>
<button onclick="villian()">villian</button>
<button onclick="lava()">lava</button>
<button onclick="cannon()">cannon</button>
<button onclick="coin()">coin</button>
<button onclick="key()">key</button>
<button onclick="door()">door</button>
<button onclick="hero()">hero</button>
<button onclick="destroyall()">clearall</button>
</body>
</html>