GithubHelp home page GithubHelp logo

live2d-widget's Introduction

Live2D-Widget

a little cross-platform desktop widget based on the Live2D Sample App in the SDK

nw.js builds are avaliable on http://nwjs.io/

Tested on all 3 platforms with nw.js version 0.12.x

UPDATE March 20th, 2016

  • context menu (exit button added)
  • preserve window state and position
  • auto-load models (scans for *.model.json)

Usage:

  • adjust window size in package.json
  • move: look
  • scroll: zoom
  • l-click: touch
  • r-click: context menu - change models, always on top, and exit

Install (Windows/Linux):

  1. extract the right nw.js package to the root directory
  2. optionally edit package.json for window size
  3. run nw(.exe)

Install (Mac OS):

  1. rename the root directory to app.nw
  2. put it inside nwjs.app/Contents/Resources/
  3. optionally edit package.json for window size
  4. run nwjs.app

Add/Remove Models:

  1. put/delete model folder inside assets/

  2. (add only) inspect your *.model.json, make sure it implements the idle motion

  3. (add only) optionally implement the tap_body motion with proper hit_areas defined

  4. (add only) if the model doesn't fit properly inside your window, add/edit the layout section inside *.model.json

    (see assets/haru/haru.model.json for reference)

Troubleshooting

  • Gettiing audio to work: 2 possible solutions.
    • follow this guide to get MP3 in nw.js
    • convert all audio to Vorbis (ogg/oga)

Issues/Todo:

  • transparency in linux doesn't work unless GPU is disabled but WebGL requires GPU
  • transparency in Mac OS will show a visible title string

live2d-widget's People

Contributors

akiroz avatar crimsonxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

live2d-widget's Issues

看板娘是否可以移动

能不能开发一个功能,按住 Alt 键然后鼠标点击相应的看板娘后,看板娘就可以跟随鼠标移动。当前的版本好像在不显示frame的情况下无法自由拖动看板娘。

LatencyInfo vector size 102 is too big

Hi,

I followed the steps to launch this but when I'm trying it display
[21246:21246:1122/144300.721912:ERROR:latency_info.cc(144)] Surface::TakeLatencyInfoFromFrame, LatencyInfo vector size 102 is too big.
in the console many times and nothing happen.

I'm on Ubuntu 18.04.1 LTS.

Large blank space above model

After fiddling with this program for quite some time, I have noticed that above every model, there is a large transparent space. This cannot be removed by resizing the window and it often gets in the way when clicking above the model. Is there any solution to remove this large transparent box above the model?

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.