Dear Users,

Now, we are seeking users who can give us a hand with expertise to evolve our software more dynamically.
If you are willing to help us, we’d like you to make a registration for “Live2D Creators Circle” via the link below.
Designers, programmers, translators are especially welcomed so far.
(More detailed explanation will be given to you before we ask you to do tasks)

https://docs.google.com/forms/d/1G5KK_GL3ozwPXtTHrpi_ktbsI8UZf8jlYRSlDworyBo/viewform?usp=send_form

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.