msm

Hi,

I am just getting started, and have got the cocos2dx example running with both the spineboy animation and my own custom skeleton/animation.

What I am seeing though is clipping at the top/bottom of the animated node. i.e. the head and feet are partially hidden, as if the bounding box is not correct. I see this for the provided spineboy example as well as my own.

Could someone point me in the right direction as to how to fix this or what could be improperly implemented?
This is the source that I am working from: https://github.com/EsotericSoftware/spi ... e-cocos2dx

Thanks for the help
msm
  • 記事: 52

Nate

I'm not very experienced with cocso2d, but I don't think the bounding box should cause something like that. Eg if you return 0,0,0,0 I think it will still draw. Can you post a screenshot? The example works for me. What version of cocos2d do you have?
アバター
Nate

Nate
  • 記事: 9730

msm

Sorry, it was my error. I was unintentionally setting an inappropriate design resolution via
view->setDesignResolutionSize()
msm
  • 記事: 52


Return to Runtimes