Spaces:
Running
on
Zero
Running
on
Zero
<html> | |
<head> | |
<title>Live2Dサンプル</title> | |
<!-- Live2D --> | |
<script src="./live2dcubismcore.js"></script> | |
<script src="//cdn.jsdelivr.net/gh/dylanNew/live2d/webgl/Live2D/lib/live2d.min.js"></script> | |
<!-- PixiJS --> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/pixi.js/5.1.3/pixi.min.js"></script> | |
<script src="//cdn.jsdelivr.net/npm/pixi-live2d-display/dist/index.min.js"></script> | |
<!-- Kalidokit --> | |
<script src="//cdn.jsdelivr.net/npm/kalidokit@1.1/dist/kalidokit.umd.js"></script> | |
</head> | |
<body> | |
<button onclick="Motion(1);">モーション1</button> | |
<button onclick="Motion(2);">モーション2</button> | |
<button onclick="Motion(3);">モーション3</button> | |
<button onclick="Motion(4);">モーション4</button> | |
<button onclick="Motion(5);">モーション5</button> | |
<button onclick="Motion(6);">モーション6</button> | |
<canvas id="my-live2d"></canvas> | |
<script src="live2d.js"></script> | |
<script src="index.js"></script> | |
</body> | |
</html> | |