Rollmorad/tools/editor/index.html
2015-11-15 23:18:06 +00:00

57 lines
1.8 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">@import 'style.css';</style>
<script type="text/javascript" src="js/af_Toolkit.js"></script>
<script type="text/javascript" src="js/JSON2.js"></script>
<script type="text/javascript" src="js/RllmrdLevelEditr.js"></script>
<script type="text/javascript">
function initRLE() {
window.RLE = new RllmrdLevelEditr(
document.getElementById('editor')
);
// window.RLE.loadLevel('level2.xml');
}
</script>
<title>Rollmorad Level Editr beta</title>
</head>
<body onload="initRLE()" onunload="RLE.unloadLevel()">
<h1>rollmorad guhase 2010 level edit<span>r</span> <sup>pre-pre-alpha</sup></h1>
<div id="editor"></div>
<div id="menu">
<a href="#" class="toggle" onclick="return RLE.toggle('level');">Level</a>
<div id="level">
<form action="#" onsubmit="return RLE.loadLevel(document.getElementById('level_filename').value);">
<label for="level_filename">Level:</label>
<input type="text" name="level_filename" id="level_filename" />
<input type="submit" value="Laden" />
</form>
<button onclick="return RLE.unloadLevel();">Level schließen</button>
<button onclick="return RLE.saveLevel();">Level exportieren</button>
<br />
<div id="levelform"></div>
</div>
<a href="#" class="toggle" onclick="return RLE.toggle('layers');">Layer</a>
<div id="layers">
<div></div>
<a href="#" onclick="return RLE.addTilemapLayer();">+TilemapLayer</a>
<a href="#" onclick="return RLE.addImageLayer();">+ImageLayer</a>
</div>
<a href="#" class="toggle" onclick="return RLE.toggle('tiles');">Tiles</a>
<div id="tiles"></div>
</div>
<div id="statusbar">
Statusbar
</div>
</body>
</html>