Page 1 of 1

Status of pygame or replacement of pygame in renpy?

Posted: Wed Nov 17, 2010 9:17 pm
by Counter Arts
I'm just curious about pygame in renpy for mini-games/platformer games etc... I'm not so concerned with the built-in functionality of pygame (like hitboxes) as just being able to have some sort of game loop where I can take inputs, and draw graphics and play sound in real time.

Re: Status of pygame or replacement of pygame in renpy?

Posted: Wed Nov 17, 2010 9:39 pm
by Formedras
Hasn't Renpygame been around for a long time?

http://www.renpy.org/wiki/renpy/Frameworks

Does it no longer work? (I haven't ever used it, so this is an honest question.)

Re: Status of pygame or replacement of pygame in renpy?

Posted: Thu Nov 18, 2010 8:58 am
by Counter Arts
How it works with openGL mode is what I was wondering.

Re: Status of pygame or replacement of pygame in renpy?

Posted: Thu Nov 18, 2010 1:07 pm
by PyTom
To be honest, I haven't tried it since OpenGL Ren'Py came out. At this point, User-Defined Displayables are a better choice.

Re: Status of pygame or replacement of pygame in renpy?

Posted: Sat Nov 20, 2010 3:35 am
by Counter Arts
Does it benefit from the hardware accelerated openGL stuff?

Re: Status of pygame or replacement of pygame in renpy?

Posted: Sat Nov 20, 2010 4:34 am
by PyTom
UDDs do. Renpygame does not.

Re: Status of pygame or replacement of pygame in renpy?

Posted: Sat Nov 20, 2010 7:58 am
by Jake
PyTom wrote:UDDs do. Renpygame does not.
On that subject, there's a lot of things you can't do so easily in a UDD which are more plausible outside of one... for example, it's not so difficult to do something like im.AlphaMask in OGL, but it's not possible in a UDD - unless I'm missing something pretty big! It's obviously possible without OGL as well, it just might be slower. Is there any chance Ren'Py could grow some of that kind of feature, even if they come with a note explaining that they might be slow on non-OGL machines?

(This request is at least a little bit influenced by the fact that I've been working on fog-of-war again, and I'd like to be able to render it with non-static images at least in theory...:3)

Re: Status of pygame or replacement of pygame in renpy?

Posted: Sat Nov 20, 2010 2:58 pm
by PyTom
Jake - Can't you use some of the new alpha-controlled blending features to do fog of war?

At some point, I'm probably going to have OpenGL-only features that can be enabled, but I'm not quite ready to pull that trigger yet.