-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (89 loc) · 3.3 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<meta charset="ASCII">
<head>
<title>Another Everybody Edits Remake!</title>
<link rel="shortcut icon" type="image/png" href="smiley.png"/>
<style>
html, body {
font-family: "Courier New", Courier, monospace;
color: lightgrey;
background: #101010;
}
</style>
</head>
<body><center><h1>Another Everybody Edits Remake!</h1>
<div>
<iframe
title="Another Everybody Edits Remake!"
width="640"
height="500"
src="game.html"
id="aeer"
allowfullscreen="true"
style="border:1px solid grey"></iframe>
</div>
<h3>
<a href="https://github.com/N1KF/another-ee-remake">Source code</a> |
<a href="game.html">Raw game</a> |
<a href="javascript:alert('Use WASD or arrows to move, spacebar to jump, and G for God Mode.\n' +
'Left click to edit, and right click to remove blocks.\n\n' +
'Press - or + to loop through the blocks used for editing and filling.\n' +
'Press p, [, ], or \\ to pause, or skip 1, 2, or 25 frames.\n\n' +
'Arrows and dots seem to work well. Other action blocks and one-ways dont work yet.')">
Controls</a> |
<a href="https://forums.everybodyedits.com/viewtopic.php?id=47263">Forum topic</a>
</h3>
<!-- Upload eelvl file:
<input id="lvl-files" type="file" accept=".eelvl,.json" multiple ="true" />
<input id="convert" type="button" value="Convert" onclick="javascript:upload();"/>
<br>
!-->
<!--
<p>
<button type="button" onclick="$$().reset()" >Reset smiley</button>
<button type="button" onclick="$$().map.fillAll(0)" >Clear all</button>
<button type="button" onclick="$$().map.fillAll(b)" >Fill all</button>
<button type="button" onclick="$$().map.fillBorder(b)">Fill border</button>
</p>
<p>
<label>Width: <input id="width" type="number" min="2" max="800" defaultValue="40"/></label>
<label>Height: <input id="height" type="number" min="2" max="800" defaultValue="7"/></label>
<input id="newworld" type="button" value="Create new world"
onclick="map.resize($('width').value, $('height').value)"/>
</p>
<p>Block position: <span id="x" >0</span>, <span id="y" >0</span></p>
<p>Velocity: <span id="xvel" >0</span>, <span id="yvel" >0</span></p>
<p><span id="time">0</span> second(s) since last reset</p>
<p>
<label="Updates per second">Updates per second:
<button type="button" onclick="$$().stop() ">0</button>
<button type="button" onclick="$$().start(200)">5</button>
<button type="button" onclick="$$().start(100)">10</button>
<button type="button" onclick="$$().start(75)" >15</button>
<button type="button" onclick="$$().start(50)" >20</button>
<button type="button" onclick="$$().start(40)" >25</button>
<button type="button" onclick="$$().start(20)" >50</button>
<button type="button" onclick="$$().start(15)" >75</button>
<button type="button" onclick="$$().start(10)" >100 (normal)</button>
<button type="button" onclick="$$().start(5)" >200</button>
</label>
</p>
<p>
<label="Skip updates">Skip updates</label>
<button type="button" onclick="$$().tick()" >1</button>
<button type="button" onclick="$$().tick(2)" >2</button>
<button type="button" onclick="$$().tick(10)">10</button>
<button type="button" onclick="$$().tick(50)">50</button>
</p>
</center>!-->
</body>
<!--<script>
function $(element){
return document.getElementById(Element);
}
function $$() {
return $('aeer').contentWindow;
}
function updateHTML(element, value, depth){
$(element).innerHTML = value.toFixed(depth);
}
</script>