AnimationTool/dist/index.html

63 lines
1.6 KiB
HTML
Raw Normal View History

2019-09-25 00:11:26 +00:00
<html>
2019-10-08 22:15:49 +00:00
<head>
<title>AnimationTool</title>
<meta charset="utf-8">
<link rel="icon" href="/favicon.ico">
</head>
<body>
2019-10-08 22:41:37 +00:00
<div id="helpButton">?</div>
<div id="info" class="hidden">
<div class="instruction">
<p>Drag a group of images onto the page to load them</p>
<p><b>Arrow Keys</b> - Advance frames</p>
<p><b>Spacebar</b> - Play/Pause Animation</p>
<p><b>S</b> - Export</p>
<p>Add pins with the <b>+</b> button</p>
</div>
</div>
2019-10-08 22:15:49 +00:00
<div id="dropZone">
<div id="allTop">
2019-10-08 03:44:23 +00:00
<div id="top">
<div id="canvasStyle">
2019-10-08 22:41:37 +00:00
<canvas id="canvasImage" class="spriteCanvas" alt="" width="256" height="256"></canvas>
2019-10-08 03:44:23 +00:00
<div id="frameNumber"></div>
</div>
2019-10-08 22:15:49 +00:00
</div>
<div id="settings">
<div class="settingsItem">
<div class="label">Name</div>
<input type="text" id="filename">
</div>
<div class="settingsItem">
<div class="label">FPS</div>
<input type="number" value="30" id="framerate">
</div>
<div class="settingsItem">
<div class="label">Looping</div>
<input type="checkbox" id="looping">
2019-10-08 03:44:23 +00:00
</div>
</div>
2019-10-08 22:15:49 +00:00
</div>
<div class="borderbox">
<div id="frameViewer"></div>
</div>
<div class="borderbox">
<div id="pinContainer" class="pinContainer">
<div class="pinButtonContainer" id="originPin">Origin</div>
2019-10-08 03:44:23 +00:00
</div>
2019-10-08 22:15:49 +00:00
<div id="addpin" class="pinButtonContainer">+</div>
</div>
<div id="outputMessage"></div>
<div id="exportButton">
Export
2019-10-08 03:44:23 +00:00
</div>
2019-10-08 22:15:49 +00:00
</div>
<script src="bundle.js"></script>
</body>
2019-09-25 00:42:35 +00:00
2019-10-08 22:15:49 +00:00
</html>