Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please limit one question/topic per post.
Please provide the following details depending on types of question

▼ For question regarding Editor, please provide:
- Live2D Software Version: (e.g. Cubism Editor 3.1.02, Euclid Editor 1.2.02)
- OS & Version: (e.g. Windows 10, macOS HighSierra)
- PC Model: (e.g. MacBookPro 2017)
- Graphics Specifications: (e.g. GeForce GTX 950M)
- Memory: (e.g. 8GB)
- Illustration Software used: (e.g. Photoshop, ClipStudio, SAI)
- Attach screenshot or capture video to show your problem:
---------------------------
▼ For question regarding SDK, please provide:
- For us to reproduce the issue you wish to inquire about, please provide either a minimum project file which has the issue. or specific instructions on how to reproduce the issue.
- Types and version of Cubism SDK you are using.
---------------------------
▼ For question regarding Cubism Software License,
For issues related to purchasing, your order, license key, and subscription, please contact us via contact form:
https://www.live2d.jp/eng/contact/

Question: Can I get part of model and operate it as a progress bar

I'm using live2d with cocos2d-x.

Can I get part of model with a partID then operate it myself?

Say the role first has a blank progress bar. Then as player acts, the progress bar moves accordingly.
I want the progress bar part of the model, so it can acts together with the role, such as when role jumping.



Comments

  • Sorry, but I don't quite get what you mean with "operate it myself". Could you explain once more what you mean by that? Sorry for the inconvenience...
  • Thanks for your kindly reply.
    What I mean by "operate it myself", is that I can progress the bar step by step as user acts.
    See on role's chest, there's a progress bar, when user acts, the progress bar moves from 0 to another number and finally full.
  • edited July 2016
    I believe you can! I understand the issue abstractly, but I don't know any cocos2d code. I have ideas though.

    Do you have a code for making eye blinking (randomized triggering of a certain set of motions) or breathing (sine-function variation of a parameter over time)?

    If so, you can find the part of code which allows you to control parameters directly within those functions. That part of code is the key. Make the progress bar a parameter, and then control it via that code you've found - violá!

    I hope it helped!
Sign In or Register to comment.