mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
npm install will automatically build everything necessary for local development and viewing the examples.
27 lines
877 B
HTML
27 lines
877 B
HTML
<html>
|
|
<meta charset="UTF-8">
|
|
<title>IK Constraints - 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="hoverboard.js"></script>
|
|
|
|
<body>
|
|
|
|
<center>
|
|
<div class="aspect standalone"></div>
|
|
<input id="hoverboard-drawbones" type="checkbox"></input> Display Bones<br>
|
|
<input id="hoverboard-aim" type="checkbox"></input> Aim<br>
|
|
<button id="hoverboard-shoot">Shoot</button>
|
|
<button id="hoverboard-jump">Jump</button>
|
|
</center>
|
|
|
|
<script>
|
|
spineDemos.init();
|
|
spineDemos.addDemo(hoverboardDemo, document.getElementsByClassName("aspect")[0]);
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html> |