Files
aklive2d/playground/index.html
2023-05-04 21:44:23 -04:00

34 lines
734 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script src="./spine-player.js"></script>
<link rel="stylesheet" href="./spine-player.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<style>
body {
margin: 0px;
}
</style>
<body>
<div id="container" style="width: 100vw; height: 100vh;"></div>
</body>
<script>
new spine.SpinePlayer("container", {
skelUrl: "dyn_illust_char_003_kalts_boc%236_1.skel",
atlasUrl: "dyn_illust_char_003_kalts_boc%236_1.atlas",
premultipliedAlpha: true,
viewport: {
debugRender: true,
},
showControls: true,
touch: true,
});
</script>
</body>
</html>