Does Ren'Py support Live 2D?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
Andredron
Regular
Posts: 108
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Re: Does Ren'Py support Live 2D?

#91 Post by Andredron » Wed Jul 04, 2018 5:28 pm

asfdfdfd wrote:
Mon Jul 02, 2018 6:18 am
Andredron wrote:
Sun Jul 01, 2018 6:31 pm
th! cool! it seems that tyranobilder will soon begin to smoke nervously. Can you tell me how you ported that code from the githab? I tried to port it, but because of the low level, I even could not move ....

How I understood there without with с++ did not manage, or you modules used?
Solution is pretty straightforward but has several bumps on the way. I will opensource it later (no specific date, sorry, still requires a bit of work to be published) so everyone could try and improve.

Short description:
1. Live2D has two official libraries: Core and Framework. Core is closed source pure-C library. Framework is C++ opensource library that built atop of Core.
2. Framework has OpenGL rendering code that renders model on screen.
3. I've used Cython and a bit of custom C++ code to create Framework wrapper that compiles to binary Python module.
4. Next I've wrapped Live2D rendering so it renders to the FBO instead of screen.
5. At last i've wrote code that converts pixels from FBO to the RenPy render surface.
thank you very much for the information
I know, I have terrible English
I'm writing a Renpy textbook (in Russian). I would be glad if someone translated into an English or German textbook https://yadi.sk/d/ZX_DonP63USRru Update 22.06.18

User avatar
dvemail
Regular
Posts: 27
Joined: Sat May 28, 2016 1:50 pm
Projects: Working on Imperator
IRC Nick: dvemail
Deviantart: ObdurateDemand
Contact:

Re: Does Ren'Py support Live 2D?

#92 Post by dvemail » Sun Jul 08, 2018 8:40 pm

I am extremely interested in this effort. My game needs either Spine or Live2d really badly. I've sent you a DM and included a discord invite. I'd really like to discuss this with you in detail and see how I can help.

User avatar
vollschauer
Veteran
Posts: 217
Joined: Sun Oct 11, 2015 9:38 am
Github: vollschauer
Contact:

Re: Does Ren'Py support Live 2D?

#93 Post by vollschauer » Mon Jul 09, 2018 1:12 am

Being able to use Live2D in Ren'Py would be awesome ....

asfdfdfd
Newbie
Posts: 4
Joined: Sat Oct 21, 2017 8:13 am
Github: asfdfdfd
Location: Saint Petersburg
Contact:

Re: Does Ren'Py support Live 2D?

#94 Post by asfdfdfd » Sun Jul 15, 2018 2:22 pm

Still preparing code for the open source release.

Meanwhile have improved performance a bit and now it has glorious 60 FPS.


User avatar
renoa-heartilly
Regular
Posts: 112
Joined: Sat Jul 17, 2010 2:37 am
Completed: مقهى الضائعون, Arabic Translations for Ren'py, Pretty Please
Projects: حور, BB project, dentist drama
Organization: stanza studio (creative circle)
Contact:

Re: Does Ren'Py support Live 2D?

#95 Post by renoa-heartilly » Sun Jul 15, 2018 3:41 pm

wow that looks good!

User avatar
noeinan
Eileen-Class Veteran
Posts: 1073
Joined: Sun Apr 04, 2010 10:10 pm
Projects: Ren'Py QuickStart, Crimson Rue
Organization: Statistically Unlikely Games
Deviantart: daikiraikimi
Github: daikiraikimi
Location: Washington State, USA
Contact:

Re: Does Ren'Py support Live 2D?

#96 Post by noeinan » Sun Jul 15, 2018 4:25 pm

This looks great! I'm so excited for when it's ready, thank you for all your hard work!
Image

Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users