GithubHelp home page GithubHelp logo

Comments (5)

LitStronger avatar LitStronger commented on July 27, 2024

我自己hexo博客调用moc3的模型一直无法正常显示,官方的issue也有人说无法显示:EYHN/hexo-helper-live2d#163 请问您是怎么做到的呢?
我没有用hexo-helper-live2d这个插件,因为hexo的markdown里支持html和js,因此直接在markdown里插入live2d-moc3示例的代码片段片段就行了

from live2d-moc3.

LitStronger avatar LitStronger commented on July 27, 2024

我自己hexo博客调用moc3的模型一直无法正常显示,官方的issue也有人说无法显示:EYHN/hexo-helper-live2d#163 请问您是怎么做到的呢?
moc和moc3应该是不兼容的,hexo-helper-live2d这个插件应该只实现了moc

from live2d-moc3.

Joy-Hannn avatar Joy-Hannn commented on July 27, 2024

请问有什么方法可以把moc3转为moc吗,或者说这些moc3的模型有moc版本吗?我还是想全局使用,有些page是没有md的

from live2d-moc3.

Yuzu815 avatar Yuzu815 commented on July 27, 2024

请问有什么方法可以把moc3转为moc吗,或者说这些moc3的模型有moc版本吗?我还是想全局使用,有些page是没有md的

可以尝试一下在模板文件中插入js引用,我是这么做的:

<!-- Live2DCubismCore script -->
<script src="https://cdn.jsdelivr.net/gh/wangstong/live2dm3/live2d/js/live2dcubismcore.js"></script>
<!-- Build script -->
<script src="https://cdn.jsdelivr.net/gh/wangstong/live2dm3/live2d/js/bundle.js"></script>
<canvas id="live2d" width="200" height="200" class="live2d" style="position: fixed; opacity: 1; left: 3px; bottom: -5px; z-index: 99999; pointer-events: none;"></canvas>

<script type="text/javascript">
var resourcesPath = 'https://cdn.jsdelivr.net/gh/YZ-HL/LSS_Model@main/';
var backImageName = '';
var modelDir = ['LSS'];
initDefine(resourcesPath, backImageName, modelDir);
</script>

from live2d-moc3.

Weidows avatar Weidows commented on July 27, 2024

我给打包优化了下,非常方便导入了,之后会再跟进一些bug
https://github.com/Weidows-projects/live2d-moc3

from live2d-moc3.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.