Howdy, Stranger!

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

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

crash in live2d+cocos2d demo

edited June 2015 in Archive
crash in cocos2dx3.5+live2d2.0 ,when run deom(simpleApp1) in window .what can I do?
code:
void LAppLive2DManager::addModel(){
//if (_cur_order > 9){
// return;
//}
//auto newM = new LAppModel();
/ar fileName[64];
//sprintf(fileName, "haru_%02d.model.json", _cur_order+1);
//newM->load(MODEL_HARU_DIR, fileName);
//models.push_back(newM);

//_cur_order++;

auto newM = new LAppModel();
newM->load(MODEL_HARU_DIR, MODEL_HARU_C);
models.push_back(newM);
}

I added a button to run this, but after touch button, error happen right now or later;

but run this code in android is not crash.
Sign In or Register to comment.