mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-17 04:21:39 +08:00
26 lines
876 B
HTML
26 lines
876 B
HTML
<html>
|
|
<link rel="stylesheet" href="demos.css">
|
|
<script src="../../build/spine-webgl.js"></script>
|
|
<script src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
|
|
<script src="utils.js"></script>
|
|
<script src="meshes.js"></script>
|
|
<body>
|
|
|
|
<canvas id="meshesdemo-canvas"></canvas>
|
|
<center>
|
|
<div style="position: fixed; top: 0; width: 100%">
|
|
<select id="meshesdemo-active-skeleton"></select></br>
|
|
<div><input type="checkbox" id="meshesdemo-drawbonescheckbox" style="color: #fff;"></input> Draw bones</div>
|
|
<div><input type="checkbox" id="meshesdemo-drawmeshtrianglescheckbox" style="color: #fff;"></input> Draw triangles</div>
|
|
<input id="meshesdemo-playbutton" type="button" value="Pause"></input>
|
|
<div id="meshesdemo-timeline" class="slider"></input>
|
|
</div>
|
|
</center>
|
|
|
|
<script>
|
|
spineDemos.loadSliders();
|
|
meshesDemo(spineDemos.setupRendering);
|
|
</script>
|
|
|
|
</body>
|
|
</html> |