mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
npm install will automatically build everything necessary for local development and viewing the examples.
27 lines
712 B
HTML
27 lines
712 B
HTML
<html>
|
|
<meta charset="UTF-8">
|
|
<title>Spine vs Sprite Sheets - Spine Demo</title>
|
|
<link rel="stylesheet" href="demos.css">
|
|
<script src="../dist/iife/spine-webgl.js"></script>
|
|
<script src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
|
|
<script src="utils.js"></script>
|
|
<script src="spritesheets.js"></script>
|
|
|
|
<body>
|
|
|
|
<center>
|
|
<div class="aspect standalone"></div>
|
|
<button id="spritesheets-roar">Roar</button>
|
|
<button id="spritesheets-jump">Jump</button><br>
|
|
Time multiplier
|
|
<div id="spritesheets-timeslider" class="slider filled"></div>
|
|
</center>
|
|
|
|
<script>
|
|
spineDemos.init();
|
|
spineDemos.addDemo(spritesheetsDemo, document.getElementsByClassName("aspect")[0]);
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html> |