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 community.
※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
"[NOTICE]" About the support for Mac models
Cubism Editor is not supported with Apple M1 processors.
Please refer to System Requirements for details.
We will not respond to any related inquiries with this message.
Please note that Cubism SDK is not supported with Apple M1 processors and macOS 11.0 Big Sur.
Live2D user has created a tutorial video(unoffilcial) in English. SEE ALSO.
Thank you, brian_tsui!
[Live2D Tutorial 2020] Introduction to Tools and Technical Concepts

[SDK] Can Cocos2d-x SDK be used for generic opengl game?

Is there any code specific for cocos2d-x which prevent it been used for generic opengl game? That will open up lots of possibility if live2d sdk can be used in all other opengl game engine.

There're live2d::DrawProfileCocos2D::preDraw() and live2d::DrawProfileCocos2D::postDraw() which (judge by name) seems only work for Cocos2D.

Comments

  • You can use generic openGL game.

    But live2d::DrawProfileCocos2D::preDraw(and postDraw) only works for Cocos2d-x.
    It is as you say.
    In this method,OpenGL is back to the original (as in cocos2d-x has been configured).
    If you use other game engine, it should work with correct OpenGL state setteings without this method.(this can be a little difficult)

    If you try with other game engine, please share how it did or didn't work out!
Sign In or Register to comment.