-
Notifications
You must be signed in to change notification settings - Fork 0
/
editor.html
41 lines (41 loc) · 1.43 KB
/
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
<html>
<head>
<title>Level Editor - Pico Planets</title>
<style>
@font-face {
font-family: 'AudiowideRegular';
src: url('fonts/audiowide-regular-webfont.eot');
src: url('fonts/audiowide-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/audiowide-regular-webfont.woff') format('woff'),
url('fonts/audiowide-regular-webfont.ttf') format('truetype'),
url('fonts/audiowide-regular-webfont.svg#') format('svg');
font-weight: normal;
font-style: normal;
}
body {
background-color: #111;
color: #BBB;
font: 16px AudiowideRegular,sans-serif;
}
a {
color: #FFF;
text-decoration: none
}
</style>
<script type="text/javascript" src="public/js/raphael-min.js"></script>
<script type="text/javascript" src="radio/radio.js"></script>
</head>
<body>
<div style="width: 800px;">
<a href="http://picoplanets.com/"><strong>Pico Planets:</strong></a> Level Editor
<input type="button" style="float: right;" id="addPlanet" value="Add Planet" onclick="javascript: return editor.addPlanet();" />
<input type="button" style="float: right;" id="addSun" value="Add Sun" onclick="javascript: return editor.addSun();" />
</div>
<div id="canvas_div"></div>
<textarea id="output" style="width: 800px; height: 200px;"></textarea>
<script type="text/javascript" src="lib/editor.js"></script>
<script type="text/javascript">
var editor = new Editor("canvas_div");
</script>
</body>
</html>