Page 1 of 1

Can you incorpoate Kivy or pygame with renpy?

Posted: Sun Sep 12, 2021 5:38 am
by alexei
Is it possible to extend the functionality of ren'py and making minigames by incorporating Kivy or pygame? Any guide or tutorial?

Re: Can you incorpoate Kivy or pygame with renpy?

Posted: Sun Sep 12, 2021 7:05 am
by hell_oh_world
renpy is already running on top of pygame.
kivy is a whole another engine used to make apps the most. and it also runs on top of pygame.
your only choice is to pick from two of the engines. renpy has its advantage when it comes to games and VNs since its already pre-built like that.
In kivy, you have much freedom, but you need to be experienced enough to incorporate visual novel logic/minigames etc. since you will be building those from scratch.

Re: Can you incorpoate Kivy or pygame with renpy?

Posted: Sun Sep 12, 2021 1:38 pm
by alexei
hell_oh_world wrote: Sun Sep 12, 2021 7:05 am renpy is already running on top of pygame.
kivy is a whole another engine used to make apps the most. and it also runs on top of pygame.
your only choice is to pick from two of the engines. renpy has its advantage when it comes to games and VNs since its already pre-built like that.
In kivy, you have much freedom, but you need to be experienced enough to incorporate visual novel logic/minigames etc. since you will be building those from scratch.
Thanks for clarifying. I just found out that renpy is running on top of pygame. Do you know perhaps how to incorporate pygame library with Ren'Py? I've seen some old guides and a reference on the frameworks page, but it's out of date.

Re: Can you incorpoate Kivy or pygame with renpy?

Posted: Sun Sep 12, 2021 4:49 pm
by hell_oh_world
I'm not sure in what way do you want to incorporate pygame in renpy? Its already there, its just abstracted by renpy itself for the purpose of ease of use.
If you're talking about blitting and stuff...
CDD, through canvas, you can actually do some of pygame's drawing functions. You can do that in the render method of the displayable.

Re: Can you incorpoate Kivy or pygame with renpy?

Posted: Mon Sep 13, 2021 3:12 am
by alexei
hell_oh_world wrote: Sun Sep 12, 2021 4:49 pm I'm not sure in what way do you want to incorporate pygame in renpy? Its already there, its just abstracted by renpy itself for the purpose of ease of use.
If you're talking about blitting and stuff...
CDD, through canvas, you can actually do some of pygame's drawing functions. You can do that in the render method of the displayable.
I'd like to make mini games within my VN, such as solving puzzles etc. That's why I'm thinking of pygame would be a good idea for simple games within renpy.