Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

If you have any questions, reports, suggestions, or requests about Live2D, please send them to this forum.
※We cannot guarantee statements or answers from Live2D staff. Thank you for your understanding in advance.
 
Live2D Cubism
Cubism Products and Downloads
Cubism product manuals and tutorials
Cubism Editor Manual    Cubism Editor Tutorial    Cubism SDK Manual    Cubism SDK Tutorial
[About macOS Sequoia] (Updated October 22, 2024)
Live2D Cubism Editor 5.1.02 now supports macOS Sequoia.
Other Live2D Cubism products currently released are not guaranteed to work on macOS Sequoia.
Please refrain from upgrading macOS, as it may not operate properly.

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.