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
755 B
HTML
27 lines
755 B
HTML
<html>
|
|
<meta charset="UTF-8">
|
|
<title>Skins - 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="skins.js"></script>
|
|
|
|
<body>
|
|
|
|
<center>
|
|
<div class="aspect standalone"></div>
|
|
<select id="skins-skin"></select><br>
|
|
<button id="skins-randomizeattachments">Random Attachments</button>
|
|
<button id="skins-swingsword">Swing Sword</button><br>
|
|
<input id="skins-randomizeskins" type="checkbox" checked=true></input> Randomize skin
|
|
</center>
|
|
|
|
<script>
|
|
spineDemos.init();
|
|
spineDemos.addDemo(skinsDemo, document.getElementsByClassName("aspect")[0]);
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html> |