arith-y-ono / live2d

1 stars 0 forks source link

動作用のページを作成する #2

Closed arith-y-ono closed 8 years ago

arith-y-ono commented 8 years ago

html形式でlive2dを呼び出すだけのソースを作成する

arith-k-saito commented 8 years ago

simple.html

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
            <title>Live2D Simple</title>
        </meta>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=4.0">
        </meta>
    </head>

    <body onload="Simple()">
        <canvas id="glcanvas" width = "512px" height="512px" style="border:dashed 1px #CCC"></canvas>

        <div id="myconsole" style="color:#BBB">---- Log ----</div>

        <!-- Live2D Library -->
        <script src="../../lib/live2d.min.js"></script>

        <!-- User's Script -->
        <script src="src/Simple.js"></script>
    </body>
</html>
arith-y-ono commented 8 years ago

sampleになっているのでsampleをやめる

arith-y-ono commented 8 years ago

https://github.com/arith-y-ono/live2d/pull/8 で対応ずみ