2019-09-25 00:11:26 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>AnimationTool</title>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
|
|
|
<link rel="icon" href="/favicon.ico">
|
|
|
|
</head>
|
|
|
|
<body>
|
2019-10-07 23:52:34 +00:00
|
|
|
<div id="dropZone" class="center">
|
2019-09-26 01:59:16 +00:00
|
|
|
<!-- canvas -->
|
2019-09-28 01:35:27 +00:00
|
|
|
<div id="canvasStyle">
|
2019-10-07 23:52:34 +00:00
|
|
|
<canvas id="canvasImage" class="spriteCanvas" alt=""></canvas>
|
|
|
|
<div id="frameNumber"></div>
|
2019-09-26 23:28:35 +00:00
|
|
|
</div>
|
2019-10-07 23:52:34 +00:00
|
|
|
<div class="borderbox">
|
|
|
|
<div id="frameViewer"></div>
|
2019-10-01 04:40:16 +00:00
|
|
|
</div>
|
2019-10-07 23:52:34 +00:00
|
|
|
<div id="settings" class="borderbox">
|
2019-09-28 00:04:01 +00:00
|
|
|
Name: <input type = "text" id="filename"><br>
|
2019-09-27 02:02:46 +00:00
|
|
|
Fps: <input type="number" id="framerate" class="numberinput"><br>
|
|
|
|
<input type="checkbox" id="looping" > Looping <br>
|
2019-09-26 01:59:16 +00:00
|
|
|
</div>
|
2019-10-07 23:52:34 +00:00
|
|
|
<div class="borderbox">
|
|
|
|
<button id="addpin">Create New Pin</button>
|
|
|
|
<div id="pinContainer" class="pinContainer" >
|
|
|
|
<div class="pinButtonContainer" id="originPin"><p>Origin</p><button id="selectOrigin">Select</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id = "info">
|
|
|
|
<div class="instruction">
|
|
|
|
<p>Drag images onto the page to upload them</p>
|
|
|
|
<p><b>Arrow Keys</b> - Advance frames</p>
|
|
|
|
<p><b>Spacebar</b> - Play/Pause Animation</p>
|
|
|
|
<p><b>S</b> - Save</p>
|
|
|
|
</div>
|
|
|
|
<div id="outputMessage"></div>
|
|
|
|
</div>
|
2019-09-25 00:42:35 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="bundle.js"></script>
|
2019-09-25 00:11:26 +00:00
|
|
|
</body>
|
|
|
|
</html>
|