All Projects → guansss → nep-live2d

guansss / nep-live2d

Licence: MIT license
Live2D wallpaper for Neptune, running on Wallpaper Engine.

Programming Languages

typescript
32286 projects
Vue
7211 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to nep-live2d

Pixi Live2d
Display live2D model as a sprite in pixi.js.
Stars: ✭ 537 (+1093.33%)
Mutual labels:  pixijs, live2d
live2d-viewer-web
Web implementation of Live2D Viewer.
Stars: ✭ 42 (-6.67%)
Mutual labels:  pixijs, live2d
pixi-live2d-display
A PixiJS plugin to display Live2D models of any kind.
Stars: ✭ 254 (+464.44%)
Mutual labels:  pixijs, live2d
pixi-miniprogram
一个可运行于微信小程序的PIXI引擎,通过模拟window环境,有些功能小程序无法模拟,就直接修改了PIXI引擎代码,最终使得PIXI引擎正常运行在小程序上
Stars: ✭ 72 (+60%)
Mutual labels:  pixijs
qiokian
🙊 live2d anime waifu vuejs component.
Stars: ✭ 34 (-24.44%)
Mutual labels:  live2d
XLand
Live2D VTuber(Virtual YouTuber) App with extensible node graph editor
Stars: ✭ 62 (+37.78%)
Mutual labels:  live2d
vscode-live2d
一个简单的VSCode看板娘插件,会跟随你的鼠标动作变化,写代码累了可以逗逗她哦
Stars: ✭ 87 (+93.33%)
Mutual labels:  live2d
layers
Separate the z-hierarchy of your scene tree from its canonical structure.
Stars: ✭ 192 (+326.67%)
Mutual labels:  pixijs
liveSpeech
将主播说的话通过各个云平台的语音服务合成另外一种声音的OBS工具
Stars: ✭ 31 (-31.11%)
Mutual labels:  live2d
live2d.user.js
live2d script for tampermonkey.
Stars: ✭ 34 (-24.44%)
Mutual labels:  live2d
poilive2d-kai
给你的WordPress博客添加一只萌萌的看板娘!!
Stars: ✭ 19 (-57.78%)
Mutual labels:  live2d
fish
Pixi.js 开发微信小游戏示例
Stars: ✭ 37 (-17.78%)
Mutual labels:  pixijs
pixi-game
A library makes Pixi.js using easily.
Stars: ✭ 22 (-51.11%)
Mutual labels:  pixijs
aLive2D
aLive2D! 一个萌萌哒 Live2D API o(*≧▽≦)ツ 快来向web页面添加可爱的看板娘吧~
Stars: ✭ 170 (+277.78%)
Mutual labels:  live2d
gameplate
🎮 Boilerplate for creating game with WebGL & Redux 🎲
Stars: ✭ 39 (-13.33%)
Mutual labels:  pixijs
pixi-sdf-text
Signed distance field text implementation for PixiJS
Stars: ✭ 89 (+97.78%)
Mutual labels:  pixijs
gstatsjs
Graphics statistic (DrawCalls and TextureCount) for WebGL
Stars: ✭ 48 (+6.67%)
Mutual labels:  pixijs
anim8js
The ultimate animation library for javascript - animate everything!
Stars: ✭ 33 (-26.67%)
Mutual labels:  pixijs
pixi-webpack-demo
make pixi.js game with webpack and es6+
Stars: ✭ 33 (-26.67%)
Mutual labels:  pixijs
pixijs-ts-boilerplate
Just another PixiJS Typescript Boilerplate with some basic functionalities
Stars: ✭ 54 (+20%)
Mutual labels:  pixijs

nep-live2d

GitHub package.json version Codacy Badge Steam Subscriptions Made with

Beta versions can be found in the Beta Test Channel

The project is based on Live2D WebGL SDK 2.1, and thus models of newer or older version are not supported.

Setup

Dependencies

It's recommended to use Yarn as package manager, npm is fine though.

yarn install

Source files

Due to copyright restrictions, the files of backgrounds, Live2D SDK and Live2D models are not provided, you need to supply them by yourself.

  1. (Optional) Download Live2D WebGL SDK 2.1 and take live2d.min.js within.

  2. Create wallpaper directory at project root.

  3. Copy following files from the distribution of this wallpaper and paste into wallpaper. (In Wallpaper Engine, right click on the preview of this wallpaper and select Open in Explorer.)

.
└── /wallpaper
    ├── /img
    │    ├── bg_forest.jpg
    │    ├── bg_halloween.jpg
    │    └── bg_lowee.jpg
    ├── /live2d (take entire folder)
    └── live2d.min.js

Serving

Sering for browsers

yarn serve

Serving for Wallpaper Engine

By redirecting the running wallpaper to the server, we are able to use the liveReload and Hot Module Replacement (HMR) features of Webpack dev server, which are extremely useful for development.

To achieve that, a script was made to generate a bridge HTML file, there are a few steps to prepare before using this script:

  1. Create a folder in myproject directory of Wallpaper Engine, for example:

    C:\Program Files (x86)\Steam\steamapps\common\wallpaper_engine\projects\myprojects\live2d
    
  2. Go back to this project, create .env.local file at project root, add WALLPAPER_PATH variable which describes the destination of output files.

    WALLPAPER_PATH=C:\Program Files (x86)\Steam\steamapps\common\wallpaper_engine\projects\myprojects\live2d

    For more information about the format of this file, see dotenv.

  3. Run following command. You may be asked for confirmations to overwrite existing files.

    yarn setup
  4. Check the Wallpaper Engine browser, a new wallpaper should appear with [DEV] prefix.

This preparation should be done only once, but any time you think the generated files are supposed be updated, you need to run yarn setup again.

Now, just like serving for browsers, run yarn serve, and then select the wallpaper, everything will work as it should be in browsers.

Building

yarn build

If you are updating an existing Workshop project instead of creating a new one, you need to specify a WORKSHOP_ID in .env.local before building the project.

WORKSHOP_ID=123456

When publishing to Workshop, don't forget to copy files in /wallpaper and paste them into your project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].