Ren'Py 6.8.1 Released

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
User avatar
jack_norton
Lemma-Class Veteran
Posts: 4085
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py 6.8.1 Released

#16 Post by jack_norton »

I was browsing pygame site and had a question. I am correct to assume that RenPy uses Pygame? and Pygame SDL? and that SDL has openGL/DX ports?
If all the above are correct, shouldn't be easy to have Renpy use DX or OpenGL ?
Of course not (otherwise you would have already done that), but I don't understand where is the problem exactly :oops:
follow me on Image Image Image
computer games

delta
Epitome of Generic
Posts: 525
Joined: Sat Dec 22, 2007 12:59 pm
Projects: yes
Contact:

Re: Ren'Py 6.8.1 Released

#17 Post by delta »

SDL is just a middleware layer. You can build DX or OpenGL (or software rendering) applications on top of it, but the graphics rendering is not a part of SDL. It has bindings to all of them though, so it wouldn't be that hard, but it wont happen because:

* It would still require a core rewrite of Ren'Py's rendering engine
* DX is Windows-only, so it'll never make it into a main Ren'Py distribution
* OpenGL is blocked by a bunch of people in here (including you) because it doesn't run properly on 10+ year old computers
* I'm not willing to do it on my own because it's basically a fork that forces me to continually backport any changes to Ren'Py, effectively cutting me off from Ren'Py updates.
The rest is left as an exercise for the reader.

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4085
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py 6.8.1 Released

#18 Post by jack_norton »

Ahhh I understand, ok now the situation is clear, thanks for the explanation :)
BTW OpenGL wasn't really blocked by "me", but more by microsoft since running GL programs under Vista is really a nightmare (with default videodrivers). Was more a commercial choice/motivation, rather than "I hate GL".
The best situation would be to have DX on windows, and GL on mac (and I suppose linux too).
But I can understand if that's a huge amount of work, and your reasons are very clear. To be honest, the only slowdowns I notice are on 1024x768 games with the Macmini (single core 1.2Ghz) so probably with newer/more powerful systems it should play even better.
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.8.1 Released

#19 Post by PyTom »

Right now, Ren'Py uses pygame. Pygame uses SDL, in its 2D mode. SDL also supports an OpenGL mode, which is different from its 2d mode, and hence not used by Pygame or Ren'Py. As best as I can tell, SDL doesn't support directx in any meaningful way*. This will hopefully change when SDL 1.3 is released.

I'm currently less interested in OpenGL/DirectX due to the support burdens they will inevitably generate. I'm less concerned about older computers, and more concerned about newer computers with misconfigured drivers. I am currently rewriting the rendering code so that in the future, new modes of operation will be easier to support. (This is what's making 6.9 take a long time.)

* It does have some support for acceleration using dx5, but that is broken enough that I disable it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

EggsBenedict
Newbie
Posts: 8
Joined: Fri Jul 25, 2008 9:34 am
Projects: Chef de Cuisine, Sibling Rivalry
Location: Australia
Contact:

Re: Ren'Py 6.8.1 Released

#20 Post by EggsBenedict »

I have a question!

I've started testing my project with a small group of people and one of the Windows users has found that alt-tabbing out and back into the game while playing in fullscreen mode is... well, broken (see attachment, I added the mosaic to protect the tester's privacy). This isn't an issue in the Mac or Linux builds because the window-switching shortcuts are disabled while in fullscreen mode.

Would you agree this is a bug? Or should I be working out how to disable the Alt key while in fullscreen mode? :(
Attachments
alttab_screen.png

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4085
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py 6.8.1 Released

#21 Post by jack_norton »

That's strange, alt-tab from fullscreen works fine here... might be some problem of your videocard.
follow me on Image Image Image
computer games

EggsBenedict
Newbie
Posts: 8
Joined: Fri Jul 25, 2008 9:34 am
Projects: Chef de Cuisine, Sibling Rivalry
Location: Australia
Contact:

Re: Ren'Py 6.8.1 Released

#22 Post by EggsBenedict »

Hmmm. It might be a problem specific to Radeon cards, since my tester has a Mobility Radeon 7500 and I managed to replicate the problem in a VM on my Mac (which has a Radeon X1600 in it).

Edit: Actually I realised that VMWare creates its own video card... so might it have to do with the fact that my game is widescreen?

IceD
Veteran
Posts: 433
Joined: Sun Feb 01, 2009 6:15 pm
Contact:

Re: Ren'Py 6.8.1 Released

#23 Post by IceD »

Propably, yes. I'm not sure, but renpy seems to utilise both 16:9 and standard 4:3 resolutions, but switching into fullscreen on 16:9 resolutions at 4:3 monitors and the other way around can create various problems. I'll bet if the game video setting would use proper resolution on proper monitors, fullscreen would work properly.

also, try to stay up-to-date with newest video drivers. Older ones are bound to create various errors, especially when they're outdated comparing to other updated drivers. Some cards might also cause problems.

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4085
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py 6.8.1 Released

#24 Post by jack_norton »

PyTom wrote:As best as I can tell, SDL doesn't support directx in any meaningful way*. This will hopefully change when SDL 1.3 is released.

I'm currently less interested in OpenGL/DirectX due to the support burdens they will inevitably generate.
I checked for some info on SDL 1.3 and apparently they'll add Direct3D support at last :)
Though as I said for normal VN / dating sim or in general 2d games the current renpy renderer is great already. I also looked at pyOgre, a python port of the popular 3d renderer Ogre3d and is quite impressive! However, don't think anyone here is planning to do 3d visual novels :mrgreen:
follow me on Image Image Image
computer games

IceD
Veteran
Posts: 433
Joined: Sun Feb 01, 2009 6:15 pm
Contact:

Re: Ren'Py 6.8.1 Released

#25 Post by IceD »

Nope, they aren't, at least if you won't count cross-games, like Illusion Soft's SchoolMate :twisted:, but there's a really new interesting japanese VN title by Overflow, coming up in April called Cross Days. As creators say, this game will push towards new standards. The game will run in relatively higher resolution (1024x768 with both 4:3 and 16:9 mode support), but the most interesting fact is it will use 3d graphics cards with full anti-aliasing support and it's already known the game will mix traditional 2d art with 3d animation. The bad thing is, the game will have quite big hardware requirements (at least 2ghz multicore processor is reccomended, with at least 1GB of memory and 64mb graphics card). Anyway, it seems that times were VN's could run on almost any specs are slowly going towards the end...

There's a demo released for download on their official site. Have to check it out and see what's all the glittering and sparkling about :)

Small update:
Yeah, I've played this and it looks quite normally, if you can say something about this really short preview (I'd say it's rather a benchmark), and it's unable to say anything particular about it. It seems that the game will be closer to an interactive DVD rather than standard VN. But I have to admit that graphics look preety nice.

Post Reply

Who is online

Users browsing this forum: Ocelot, Semrush [Bot]