看板娘相關源碼介紹


做個記錄,看到好玩的東西,看板娘如下:

下面的源碼主要來自博客:https://www.cnblogs.com/zjfjava/p/9100898.html

是自己扣下來的,做了點調整,如果添加到你自己的博客沒有效果可能是js沖突等,自己解決。

 

 

        <style>
            .lktest {
                left: 0px !important; } </style> <script src="https://cdn.jsdelivr.net/npm/live2d-widget@3.0.4/lib/L2Dwidget.min.js"></script> <script type="text/javascript"> L2Dwidget.init(); setTimeout(function() { document.getElementById("live2dcanvas").setAttribute("class", "lktest") }, 500); </script> <div id="live2d-widget"><canvas id="live2dcanvas" width="300" height="600" style="position: fixed; opacity: 0.7; right: 0px; bottom: -20px; z-index: 99999; pointer-events: none; border: 1px dashed rgb(204, 204, 204);"></canvas></div>

 

看板娘其他資源:https://huaji8.top/post/live2d-plugin-2.0/

這個里面有很多模型,資源,小埋等,也可以自己定義模型,但是需要動手能力極強,自己編譯等,有興趣的可以自行操作。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM